News for hackers. Stuff that matters.
Re:White space does matter in C23 by layer8 on Thursday January 18, 2024 @05:54PM (#39049089)
C++ has some contextual keywords as well:

  final (C++11)
  override (C++11)
  import (C++20)
  module (C++20)
Re:White space does matter in C23 by wyldfire on Thursday January 18, 2024 @07:39PM (#39050119)
But did they make those contextual in order to avoid conflicts with code that had existing identifiers before the new keyword was specified?
Re:White space does matter in C23 by layer8 on Friday January 19, 2024 @07:16AM (#39054564)
Yes.
Re:White space does matter in C23 by tsimionescu on Friday January 19, 2024 @01:36AM (#39052237)
C# is probably the king of contextual keywords, they have tens of them. They started I believe with `yield return` and `yield break` and then added all of the LINQ ones (select, from, where etc), and kept adding others (notnull, record, required, etc).