coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

expr shouldn't use spaces


From: dchmelik
Subject: expr shouldn't use spaces
Date: Mon, 19 Dec 2022 00:30:50 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

Lately I read about the expr command, which I'm arguing is programmed wrong for only working right when you put spaces into expressions rather than working for standard mathematical expressions, which don't use spaces.  Think back to your mathematics classes: any instructor that knows what they're doing doesn't use spaces in expressions.  You don't use spaces in graphing calculators.  You don't use spaces in similar mathematics software. It's just not the proper writing style.  Expr should be switched around or at least configurable to how mathematicians and older programmers write versus letting people go with the fad of younger programmers who forgot maths classes and write for unnecessaru 'readability' which actually also looks worse and begins to take up too much space.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]