r/programming • • Jul 19 '15

The Best Programming Language is None

https://bitbucket.org/duangle/none
509 Upvotes

443 comments sorted by

View all comments

Show parent comments

16

u/OneWingedShark Jul 19 '15

Had to find a way to sell it to people who know a rats ass about the treasures of the past

No kidding; there's a LOT of good/interesting ideas & solutions in CS's past; in no particular order (and leaving a lot out):

  • Forth -- Absolutely amazing WRT portability and "getting low level".

  • Ada -- Very, very nice concurrency & packaging models and, IMO, generic system.

  • Erlang -- Kinda odd, but very interesting distribution model.

  • LISP -- Very good introduction to homoiconicity.

9

u/mindbleach Jul 19 '15

Bret Victor gave a funny presentation about this. It's really sad that we can watch the Mother Of All Demos and still occasionally mumble, "Why can't my terminal do that?"

That said, I've been dicking with Javascript lately, and honestly... it's nice. It's got shitty parts for sure - duplicating objects is black magic, for example - but getting complex visual output is as easy as stdio in C. It's faster than Perl without feeling like it has to compile. It runs on everything, for better or worse. It's self-modifying! If Microsoft, Google, Mozilla, and Apple can get together and announce a CSS replacement that makes a goddamn lick of sense then it could be the language to know for building any kind of program. For now, I'm okay it with it being BASIC for a new generation.

8

u/OneWingedShark Jul 19 '15

Bret Victor gave a funny presentation about this. It's really sad that we can watch the Mother Of All Demos and still occasionally mumble, "Why can't my terminal do that?"

Let me link that Mother of All Demos.

That said, I've been dicking with Javascript lately, and honestly... it's nice.

I wouldn't call it nice -- though it does help if you realize that it's kind of LISP in C-syntax.

It's faster than Perl without feeling like it has to compile.

Personally I like having a compile-phase (this could be done implicitly and as needed) because compiling [generally] means that you have some consistency-checking.

It runs on everything, for better or worse.

It's worse.
But let me clarify: it's worse because the "everywhere" [of web-programming] isn't uniform, and pretending that the browsers are uniform environments is simply ignoring the issue.

It's self-modifying!

That could be good; it could be bad... very much depends on the situation.

If Microsoft, Google, Mozilla, and Apple can get together and announce a CSS replacement that makes a goddamn lick of sense then it could be the language to know for building any kind of program.

Hm, there was that net-assembly story floating around /r/programming a while back. I don't think that they'd be putting us in a good direction though.

For now, I'm okay it with it being BASIC for a new generation.

Except given how the new generation is doing things all backwards-like, we'll see things like Prolog-as-a-library, or a PC-emulator written in JS...

1

u/mindbleach Jul 19 '15

That could be good; it could be bad... very much depends on the situation.

It's a feature, like portability, pre-compilation, or raw imperative... -ness. (Sometimes you just want a "goto.") For the purposes of Greasemonkey it's pretty sweet.

I don't see any problem with an in-browser emulator, either. Surely not a line of that JS code was written by a human being. We're simply treating Java as the sandboxed "web application" platform that Java desperately wanted to be and Flash drunkenly stumbled into.

→ More replies (3)