65
Comments
  • 4
    Aren't errors a part of the code ?
  • 4
    Try catch is one of those things I hate in programming. It really annoys me that so many APIs throw all sorts of potential errors then you are stuck nesting logic with try catches etc which makes the code look super fucking ugly and less readable. It feels like I'm just applying Band-Aids on top of one another whenever I have to use code that throws errors like file system/db stuff.
  • 5
    try{
    // REALLY SHIT CODE
    }
    catch(Exception e){
    // IGNORE THIS LOL
    }
  • 0
    I’ve never gotten them to work properly, so I just unit test thehell out of everything and have it factor in “unexpected” return types and how to respond to them.
  • 0
    Rust ftw
  • 0
    😂😂😂😂😂😂
Add Comment