5 ms·
"Such abstractions simply don't exist in most other languages, specifically the imperitave kind." wrong http://iolanguage.com/ http://iolanguage.com/ Also, L
by richcollins 18y ago
"Such abstractions simply don't exist in most other languages, specifically the imperitave kind."
wrong
http://iolanguage.com/ http://iolanguage.com/
Also, Lisps are imperative. setf, setq and the like.
- jgrant27 18y agoYes yes but they are optionally imperative but were first functional. "system maintenance" for the url that you posted.
- joechung 18y agohttp://iolanguage.com http://iolanguage.com perhaps?
- jgrant27 18y agoDoes it have anything comparable to Lisp macros ?
- mahmud 18y agoIo ~= Self. It should be looked at as an Smalltalk dialect. When one says "imperative", one hardly means "an smalltalk influenced, pure object oriented language", but more like a statically-typed Algol variant, usually a derivative of C, Fortran, Pascal or Ada. I don't think the Io counter-example is valid, just as an Icon counter-example would be valid (yes, Icon is "imperative", but it's also an Snobol derivative with goal-oriented execution, generators and perl-like text processing prowess :-)
- fhars 18y agoIf someone with a functional programming background says "imperative", it usually includes all the Algol descendants and their cousins like Simula, Java, C++, Smalltalk, Python, Ruby etc. because they don't add much to the game, they are all structured around mutable state. They just put fancier labels on the same dirty stuff.
- mahmud 18y agoYou just spoke of Smalltalk in that trollish tone. Hope you're happy.
- richcollins 18y agoIo has runtime macros. Messages are evaluated by the receiver and which can do whatever it wants with the message arguments (evaluate them, tear them apart and create new messages ... etc) list(1, 2, 3, 4) select(isEven) map(+(1)) ==> list(3, 5) isEven and +(1) are messages that select and map evaluate. Also see: http://hackety.org/2008/01/05/ioHasAVeryCleanMirror.html http://hackety.org/2008/01/05/ioHasAVeryCleanMirror.html
- twopoint718 18y agoReader macros?
- anigbrowl 18y ago!most != any IANALP