Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
culi
3y ago
0 comments
Save
Share
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)
0 comments
1 comments · 1 top-level
top
newest
oldest
phoronixrly
3y ago
Truly, 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.
j
/
k
navigate · click thread line to collapse