3 ms·
Maybe I’m missing the example but can you not check the truthiness of strings in basically any high level language? At least python does it the same way and it’
by echoangle 1y ago
Maybe I’m missing the example but can you not check the truthiness of strings in basically any high level language? At least python does it the same way and it’s very useful.
- 010101010101 1y agoneither 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.