4 ms·
Well, yeah. Wasn't this really obvious from "goto considered harmful" and the concept of functional programming (a 'pure' function being a function that's const
by Qwertious 11y ago
Well, yeah. Wasn't this really obvious from "goto considered harmful" and the concept of functional programming (a 'pure' function being a function that's constrained from having side-effects, i.e. explicitly less powerful)?
Basically, YAGNI.
- sparkie 11y agoBut how do you implement the small, concise languages without the gotos and side-effects to begin with? You're gonna need a language with sufficient expressiveness and the capability to perform side-effects to do so. Implementing a new language entirely without side-effects is infeasable. Replacing GOTO with some structured variant is trivial though.