• Doc Avid Mornington@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Programming is the art of juggling of state and control flow

    Sure, stateless functions deal with and impact state in some way. If that’s what you meant by your previous comment, that’s fine, but that’s honestly not what would typically be meant by “juggling” state.

    The part about declarative languages has nothing to do with state. Declarative languages do not give the programmer control over flow, the other part of your definition.

    Learn Lisp, and you will never again be so certain about the difference between a programming language and a data format.