Skip to content

Comment on Java is becoming the new Cobolparent

Comments

Cheating would be putting an open paren at the top of the file, a close paren at the bottom, and implementing it in Scheme as

   (apply + (read))

I've done things like that often enough (putting parens around file contents or each line of an ascii file) that I wonder if it would be worth writing a macro that inserted the parens for you on the fly as you read the file before handing it off to the code you want to execute.

I know that was vague, but I just get the feeling I'm often doing something semi-manually in Emacs that my code should be doing for me.

If that is wrong (cheating) - then baby, I don't ever want to be be right !

code as data wins again ! (but with great power, comes great responsibility).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.