News for hackers. Stuff that matters.
Re:Microfeatures I'd like to see in more languages by lullab on Thursday January 05, 2023 @05:13PM (#34267611)
I'd like to see the "in" operator from SQL in C-style languages.

Something like:

  if(x in (null, 2, 3.14, foo(123)) {
    //
  }
Re:Microfeatures I'd like to see in more languages by still_grokking on Sunday January 08, 2023 @06:38PM (#34304650)
Collection.contains()?

That's a pretty std. feature I guess.