Live data from Hacker News

The Lobster Programming Language

strlen.com

71–72 of 72 posts

Re: The Lobster Programming Language

#71
post #5

Obviously some will find this a silly opinion but the one thing that turned me off the most about the Nim programming language was its use of significant whitespace. The same is true with F# (and of course Python). Having had apps with YAML for config, and having had nightmares trying to copy/paste config directives from various sources, I just find whitespace to be unwieldy. Now that's a strong opinion, (weakly held…

Never understood how putting up roadblocks for developers trying to copy-paste code was deemed acceptable, or GVR (and others) thought the solution to poorly formatted code was making formatting carry semantics instead of just writing an auto formatter.

Well of course that's completely ahistorical. The motivator was eliminating block terminators. Python's predecessor, ABC, was a teaching language; programs were small and refactoring was not a thing. Heck, copy-paste was hardly a thing, and there certainly were no auto formatters. Indented code was a step up from BASIC, the teaching language prevalent at the time.

Re: The Lobster Programming Language

#72
post #38

Earlier quoted context omitted.

To be fair to GvR, autoformatters weren’t commonplace in the late 80s and early 90s. Were there even any? Ever since Go got big, though, everyone else is discovering how fantastically nice they are, and that’s a good thing.

GNU indent was already at version 1.9.1 by 1994: https://ftp.gnu.org/gnu/indent/ If you grab that version and unpack it and look at /OChangelog then it seems to date back until at least 1989, same as Python itself. That was for C source, of course. I expect there were pre-GNU indent variants, perhaps posted on comp.sources.unix and maybe some commercial things as part of very expensive compiler packages. I would say…

While formatters for non-C languages may have existed, no auto formatters existed. And yes, this discussion is completely ahistorical.
Post reply on HN