News for hackers. Stuff that matters.
Re:Ask HN: What Happened to Elm? by yellowapple on Friday February 10, 2023 @09:42PM (#34749040)
> People seem to love Python syntax.

I sure don't. I'll take explicitly-delimited blocks over having to slap a ruler to my screen to know what scope I'm in any day. It's a prime example of why form over function is a horrible tradeoff.

I use Python in spite of how much I hate its syntax (and myriad other aspects of it) because it's often the path of least resistance.

> ML syntax is just more regular, consistent, and typed.

My sample size is "Elm and Haskell", and of that sample size, my impression is the precise opposite. I encountered enough cases of whitespace that shouldn't have mattered but does anyway that it put me entirely off both languages.

Lisp? Tcl? Forth? Now those are regular and consistent (though admittedly rarely typed).

Re:Ask HN: What Happened to Elm? by bmitc on Friday February 10, 2023 @10:04PM (#34749177)
Neither Elm nor Haskell are really ML-dialects though. They're more ML-adjacent. I honestly rarely have any issue with indentation in F# that isn't immediately fixable by some editor feedback. Even thinking about it, I can't think of any issues I have had at all with any consistency.

I think Lisp in the flavor of Common Lisp isn't so regular or consistent, but Scheme and Forth certainly are. I basically consider ML as a typed, indentation-sensitive Scheme, at least the way I think and program in them both.

Re:Ask HN: What Happened to Elm? by mixmastamyk on Friday February 10, 2023 @10:02PM (#34749165)
Editor indentation guides have been a thing for a decade or two.
Re:Ask HN: What Happened to Elm? by yellowapple on Saturday February 11, 2023 @02:30PM (#34755470)
That's cold comfort when I need to make some quick fix in nano or vi on some remote server somewhere.
Re:Ask HN: What Happened to Elm? by mixmastamyk on Saturday February 11, 2023 @05:22PM (#34757028)
A practice to avoid. Cattle, not pets.

Not to mention, well factored functions/methods shouldn't be so large they are hard to manage. Never had trouble with terminal editors either, but I keep things simple.

Re:Ask HN: What Happened to Elm? by yellowapple on Sunday February 12, 2023 @12:50AM (#34760237)
If only all of us were so fortunate to live with you in such a utopia where servers are perfectly fungible and automation scripts are written by competent software engineers :)
Re:Ask HN: What Happened to Elm? by mixmastamyk on Sunday February 12, 2023 @04:13PM (#34767029)
Penny wise and pound foolish, your org’s decision.

Currently on a project that had 12 years of tech debt. Have taken out about 60% of the garbage in three years. Indentation never a significant issue. Everything else has been.