DEV Community

Discussion on: Tell us what your top unpopular tech opinion is 😈

Collapse
 
craignicol profile image
Craig Nicol (he/him)

C++ had some awesome ideas that more recent OOP languages should steal.

  • References (not nullable) and pointers (nullable)
  • Const modifiers on methods and parameters to guarantee the underlying data wouldn't change
  • Templates for meta programming, and getting more work out of the compiler
Collapse
 
unusualdri profile image
Rodrigo

Kotlin is almost there too!