|
|
|
|
|
by peeters
3845 days ago
|
|
I disagreed with that too, but mostly because those tests are a core part of Bash programming. If you don't know what they mean by reading them, then you just need to learn. It'd be like defining an "and" function and writing if ( and(conditionA, conditionB) ) {
//do something
}
because "&&" is too confusing. It's just syntax. Learn it.And on the subject of &&, it's interesting that in his example about clarity he chooses to use short-circuit and for brevity instead of the more readable if block. |
|