Re:Formatting code should be unnecessary
by citizenkeen on Monday September 08, 2025 @07:33AM
(#45167023)
Saying this is clearly superior means you don’t keep your lists sorted. A sorted list is as likely to add something to the beginning as the end, where this solution has the same problem.
Re:Formatting code should be unnecessary
by Nevermark on Monday September 08, 2025 @07:46AM
(#45167133)
I just reverse the sort order when that case happens.
The only correct syntax/format
[
, a
, b
, c
]
If only there existed a language designer intelligent enough to support it
Re:Formatting code should be unnecessary
by maccard on Monday September 08, 2025 @08:29AM
(#45167466)
You want yaml
key:
- a
- b
- c
Re:Formatting code should be unnecessary
by crazygringo on Monday September 08, 2025 @09:58AM
(#45168348)
Thank you for the humor!
I'm just suddenly slightly terrified someone's going to see this and think it's genuinely a good idea and make it part of the next popular scripting language, where lists are defined by starting commas or something :S
Re:Formatting code should be unnecessary
by MonkeyClub on Monday September 08, 2025 @02:39PM
(#45172084)
Lisp:
(
a
b
c
)
But the scale of technical debt this insight has revealed is depressing.