|
My brain still does not want to accept Perl Idioms with &&, II. Not like C-style, or most of what I've seen.code:
So if you have something like: if( obj.isTrue() && obj ) { ... } If obj.isTrue() equals true, then it's going to ignore obj after &&. I know this is obvious those familiar with the language, but it's a notable difference that may not be too obvious to those starting out.
|
# ¿ Jan 16, 2020 18:00 |
|
|
# ¿ May 12, 2024 14:12 |