News for hackers. Stuff that matters.
Re:26 programming languages in 25 days, Part 2: Reflections ... by smalltalkcoder on Tuesday January 03, 2023 @07:26AM (#34230587)
Indentation-sensitivity is so popular that only one language in the Top 20 programming languages has it. That's nearly 40 years after I saw my first indentation-sensitive language: occam.

Indentation-sensitivity seemed like a great idea in 1983. I'm not convinced today.

Re:26 programming languages in 25 days, Part 2: Reflections ... by 082349872349872 on Tuesday January 03, 2023 @09:54AM (#34232087)
The original formulation of the offside rule made provision for handwritten entry. If/when computers get small enough to lose the keyboards and fast enough to reliably OCR, maybe that provision will be rejuvenated?
Re:26 programming languages in 25 days, Part 2: Reflections ... by dropofwill on Tuesday January 03, 2023 @10:27AM (#34232571)
Not sure what list you’re referring to, but I would expect to find Python and Scala in it, maybe OCaml or Haskell depending on the criteria.

Personally I think it causes more problems in interpreted languages, a lot of those disappear with a compiler with thoughtful error messages like Scala.

Re:26 programming languages in 25 days, Part 2: Reflections ... by lelanthran on Tuesday January 03, 2023 @11:45AM (#34233879)
> Not sure what list you’re referring to, but I would expect to find Python and Scala in it, maybe OCaml or Haskell depending on the criteria.

Surely neither OCaml nor Haskell are in the top 20 of any "Most Used Programming Languages" list.

Re:26 programming languages in 25 days, Part 2: Reflections ... by dropofwill on Tuesday January 03, 2023 @12:12PM (#34234298)
Maybe of undergrads at a French university :)
Re:26 programming languages in 25 days, Part 2: Reflections ... by andsoitis on Tuesday January 03, 2023 @12:12PM (#34234302)
A common list people have in mind is TIOBE: https://www.tiobe.com/tiobe-index/

I will give you that for highly specialized domains, those lists would look different (eg in some niche OCaml would be high while Rust would be low, or R high where C++ is lower down the list) , but it is telling that Scala comes in at #32 when compared to other languages that, I think, occupy a similar problem space.

Of course, Python is #1 on the TIOBE list (and have had a strong showing for years), which I ascribe to the overall productivity and wide application domain fit. So, whether or not white space is objectively bad (for any language or only some languages), it hasn’t detracted so much from Python’s popularity.

Re:26 programming languages in 25 days, Part 2: Reflections ... by still_grokking on Tuesday January 03, 2023 @12:54PM (#34235026)
> A common list people have in mind is TIOBE

https://blog.nindalf.com/posts/stop-citing-tiobe/

Re:26 programming languages in 25 days, Part 2: Reflections ... by kaba0 on Thursday January 05, 2023 @09:41AM (#34260180)
Tiobe at a time had Visual Basic ahead of JS, let’s just ignore it.
Re:26 programming languages in 25 days, Part 2: Reflections ... by aplusbi on Tuesday January 03, 2023 @01:24PM (#34235529)
OCaml isn't indentation sensitive, BTW.
Re:26 programming languages in 25 days, Part 2: Reflections ... by still_grokking on Tuesday January 03, 2023 @11:34AM (#34233683)
Python and Scala were already mentioned.

But also C# has indentation-sensitivity. Otherwise multi-line strings would not work.

I could imagine that other popular languages copied or will copy the same trick as C# does.