4 ms·
This has to be one of the first times I've seen functional programming called imperative. I think it was just last week I was in a debate where people were bas
by taeric 12y ago
This has to be one of the first times I've seen functional programming called imperative. I think it was just last week I was in a debate where people were basically calling functional as the same as !imperative.
This one goes further and argues that oop is !imperative. Have popular definitions changed while I wasn't paying attention?
- efnx 12y agoAs far as I know functional languages would be declarative and OO langs would be procedural and imperative. Though, people refer to languages like lisp and scala as functional even though these langs are only functional if you use them a certain way, and I think it dilutes the term and creates confusion.
- sebastianconcpt 12y agoYou can even use Smalltalk in a functional style which feels quite good actually.
- djur 12y agoNo, the article does not use language very accurately. There's an extremely long paragraph suggesting that instance variables are essentially global variables because they aren't lexically scoped (without ever using the term "lexical scope"). And it uses 'imperative' where it should use 'procedural'.