8
nitwhiz
6y

Every language that has static_cast<T>(x) is bullshit

Comments
  • 3
  • 2
    But not the language having reinterpret_cast<T>(x)
  • 0
    We all know implicit cast and how they can save the day, but what about explicit cast that ruin your code because you forgot to add that little dot on your operator to explicitly say its float you are operating with ^^
  • 0
    @hube "awareness" of what you are doing 😂
  • 0
    @hube then the compiler would usually show an error or a warning?
    Plus, that's only in a few languages like OCaml.
  • 0
    @RememberMe exactly, i am not gonna rant about ocaml but lots of the error aren't helpful...
Add Comment