2 ms·
> Syntax becomes virtually irrelevant This is probably a big mistake. Code must communicate ideas. Communication requires a shared language. A language has syn
by naasking 8y ago
> Syntax becomes virtually irrelevant
This is probably a big mistake. Code must communicate ideas. Communication requires a shared language. A language has syntax, not just semantics. A given semantics has only a few natural expressions as syntax.
Can't pair program, can't program during a talk or a stream, etc. without that shared language.
If anything, we should be looking at the reverse of what you said: reading code is more important than ever due to the scale of programs, so we should be looking into creating the most readable language ever.
Edit: I think overloadable and definable operators can be very useful (like Haskell, OCaml), and that's probably as much syntactic flexibility as we need. Even this can be abused though.
- mcintyre1994 8y ago> I think overloadable and definable operators can be very useful (like Haskell, OCaml), and that's probably as much syntactic flexibility as we need. Even this can be abused though. I remember being very concerned about the performance of some Ocaml code that was overriding (* *) until I realised what it was doing :) Not sure how to type that on HN!
- Jtsummers 8y agoUse a code block: (* *) Then the asterisks show up as literals. Two leading spaces for each line in the code block.