Earlier quoted context omitted.
If this was (the only available) programming, I'd quit. Kudos, I think, to the author. His pain tolerance exceeds mine by a vast amount.
> If this was (the only available) programming, I'd quit. We started with nothing, remember? Just the bare metal. If this were the only available programming, I'd write an interpreter for a better language. Never imagine that your current suite of tools is all there is.
Lisp implementation in sed
61–64 of 64 posts
Re: Lisp implementation in sed
#62Earlier quoted context omitted.
I think that Lisp got a reputation for being unreadable because some Lisp programmers have the tendency to get too far into macros to extend the language, resulting in a language that other developers have not seen before.
I think that's pretty much a straw man. Where is all this terrible macro-laden Lisp code? Well, it's probably not totally made up, but you run into overcomplicated abstractions in every language. Somehow it seems more likely that people are put off by the slightly "isolationist" culture of Lisp, or the historical clash between Lisp and Unix, or whatever, and then this "unreadable" idea is like a rationalization for n…
Re: Lisp implementation in sed
#63Re: Lisp implementation in sed
#64Earlier quoted context omitted.
(defun grade (student) (cond ((excellent-work student) :a+) ((okay-stuff student) (if (tried-hard student) :b :b-)) (t :c)))
I'm always amazed that I hardly ever program in Lisp and yet these short snippets are more readable than any other language.
dostuff(x)
is considered so much more readable than (dostuff x)