[Pharo-users] Re: Too many parenthesis - a matter of syntax

2022-02-26 Thread Siemen Baader
Hi Kasper, perhaps not what you are asking, but I find that this kind of nesting happens to me when parsing serialized data (web page sources or JSON as in your example). For me, the root cause of the problem is that these data structures are not represented by real classes in my code. I often sta

[Pharo-users] Re: Too many parenthesis - a matter of syntax

2022-02-26 Thread Kasper Osterbye
All the answers have been good. I am somewhat provoked (in the good sense of forcing me to think) by Siemen who sort of think of it as a code-smell. Best, Kasper > On 26 Feb 2022, at 17.14, Siemen Baader wrote: > > Hi Kasper, > > perhaps not what you are asking, but I find that this kind of

[Pharo-users] Re: Too many parenthesis - a matter of syntax

2022-02-26 Thread Richard O'Keefe
I was bemused to realise that I've actually been programming for literally 50 years. It finally seeped through my thick skull I make enough mistakes that if it's hard to read, I probably got it wrong. And THIS code fragment is hard to read. I don't care if you use parentheses or pipes, it's hard