Remix.run Logo
Blikkentrekker 3 hours ago

That JSON prohibits trailing commata makes it an absolute pain to work with in practice.

I also like how in Haskell:

   something =
     { element
     , element1
     , element2
     , element3
     }
Is an actually idiomatic way to deal with the lack of trailing commata.
shawn_w 5 minutes ago | parent | next [-]

You see that style in SQL too.

kazinator 2 hours ago | parent | prev | next [-]

I did something like that in C++ circa 1998, before seeing it anywhere else:

  MyClass::MyClass(foo bar, int arg1, int arg2)
  : Base(bar)
  , member1(arg1)
  , member2(arg2)
  {
  }
Ferret7446 16 minutes ago | parent | prev [-]

Not really? A linter/formatter takes care of it.