3 ms·
Just to make sure "functional programming" or "structured programming"?
by wirrbel 8y ago
Just to make sure "functional programming" or "structured programming"?
- baybal2 8y agoI'm not sure myself after those years, but it felt like functional programming. Golang is not much about functional programming than say JS from my personal impression, but it felt like it had some attempts to follow it in its foundation. In the end, it failed to realise the original though of Wirth - "with clear separation of functions and inputs, every program turns into a spreadsheet"
- microtherion 8y agoThat does not really sound like Wirth, who never was involved in functional programming as far as I can tell and was not a big fan of spreadsheets. Wirth always was insistent that programs should strive to be transparent about the computational effort involved in an action, so I can't imagine him being fond of e.g. Haskell.
- baybal2 8y agoThen, my memory fails me. Maybe I am mistaking him for somebody else. But I do remember my teacher obsessing over virtues of obscure languages like Algol, Oberon and Modula.
- wirrbel 8y agoI think wirth did however like to distinguish between procedures and functions. Not functional in todays meaning of the word, but similar in spirit.
- microtherion 8y agoYes, there were functions in Pascal, but that's the smallest part of functional programming.