Hacker News new | ask | show | jobs
by 010101010101 330 days ago
neither Java nor .Net have implicit string to boolean conversions, the only way to asses the truthiness of a string is an explicit conversion - there’s no “if(someStringVariable)” - that’s just a type error at compile time.