3 ms·
I seem to remember this same feature causing lots of headache in C in the form of subtle bugs mostly the result of this being used in awkward ways. Personally
by mbell 15y ago
I seem to remember this same feature causing lots of headache in C in the form of subtle bugs mostly the result of this being used in awkward ways.
Personally I'd rather have a distinct boolean value to test for, the java version is much more explicit as to exactly what its doing.
- waffle_ss 15y agoHmm can't say I've ever encountered something like that in Ruby so far. However, if you want a strict boolean it's pretty easy to get: !!STUDENTS.remove(uid)