Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
queuebert
· 1y ago · 0 comments
What is the purpose of declaring an sj_Reader object with an sj_read method if you don't support lazy parsing? Seems like you could tighten up the code by combining the declaration and parsing into one subroutine.
Comments
[–]
teo_zero
1y ago
Totally agree! I've never understood the beauty of singleton objects.