Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

One word, forced indentation of code

Name: Anonymous 2007-06-25 12:21 ID:BtQsWoqp

Can someone explain why /prog/ thinks this is a bad thing? Who the fuck *doesn't* indent their code? And why do we need brackets if the code blocks are already defined by indentation? Makes perfect sense to me.

Name: Anonymous 2007-06-26 12:37 ID:jFgDhU5y

The first time I saw Forth, the semantics did remind me of points-free function definitions. I guess a theoretical difference to most FP languages is that you can return >1 item, although Scheme does have (values).

The practical difference for me is that I can understand (hence, could try verify and maintain) the source code for a Forth compiler. I'm not smart enough to do that for something like Haskell.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List