Is my fear of C/++ justified?, -cursed `e` coding-, The Engima of Segmentation Fault
you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 week ago (4 children)

== has never, ever caused me a single issue. Parsing all server input with type-safe schemas makes sure that where I expect a string, I get a string; where I expect a number, I get a number. Bad data must result in an error before it reaches logic.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 14 points 1 week ago (3 children)

    "I have no problem living in a house of cards as I make sure to never bump against the walls."

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 1 week ago

    I wonder how many millions of programmer man-hours have been wasted working around JavaScript's design mistakes that could've been saved simply by putting Scheme or Python (which were actually being considered) in the browser instead.

  • source
  • parent
  • [–] 1 point 1 week ago (1 child)

    Opposite, living in a house of cards is when you blindly trust data that comes from user. Regardless of the language. eqeqeq isn't in the recommended linting presets because if you end up needing it, you're probably already in big trouble because of insecure software design.

  • source
  • parent
  • hideshow 1 child comment