3 ms·
Code like this should definitely not be written in production code bases and is really just a fun exercise. I think everyone would agree that if this had been w
by culi 4y ago
Code like this should definitely not be written in production code bases and is really just a fun exercise. I think everyone would agree that if this had been written in 2 or 3 lines it'd be much more readable (and therefore maintainable)
- phoronixrly 4y agoTruly, if this was not meant to be pasted in a REPL, it'd be in a class, and probably constitute of several descriptively named methods.