|
Lysandus posted:Nothing identifying around it. Just that. I'm convinced there's a whole subset of programmers that do this kind of thing just to gently caress with you. Gotta say though, after reading this thread, I'm convinced something like this would be more par for the course: code:
|
# ¿ Jul 6, 2011 22:19 |
|
|
# ¿ Apr 24, 2024 20:00 |
|
It took me ages to understand why !Boolean.toString(bool).length()==5; was relevant. I think that's a good thing? As for Thel's code... . Going to be honest here, whenever I write a really bad piece of code I at least try to make the comments entertaining. Why throw such a boring error when you can insult the person responsible for breaking it?
|
# ¿ Jul 7, 2011 03:23 |
|
poemdexter posted:Am I missing something or will this always return false? Why wouldn't you expect a function named isTrue passed a bool named _true to always return false? (no you're not missing anything) Sedro posted:Except in the case where _true == FileNotFound Sorry, to handle that I think you need an enterprise solution.
|
# ¿ Jul 7, 2011 22:09 |