Hacker News new | ask | show | jobs
by xxpor 4713 days ago
Right. How much code is out there that looks like

     if(recv.ip.contains("2.") {
         //well we know that they're from X co.
     }
1 comments

I'm not sure if you are being sarcastic. I'd bet a lot.
Not sarcastic. There's a ton of code like that. I've seen it.

Also, I'm surprised no one called me out on the typo and bug in my code :)

I'm assuming that smiley face provides the missing paren.