DEV Community

Discussion on: Refactoring the Worst Code I’ve Ever Written

 
jnschrag profile image
Jacque Schrag

Yep, I read it and can see what it does, thanks.

Thread Thread
 
fardarter profile image
sauln

Yeah, Dmytro it's terser. It's really not among the more interesting comments you could make though given the optimisations actually available above.

Maybe consider when commenting on the internet about how crap someone's code is that yours is still very ...naive.

Thread Thread
 
dimpiax profile image
Dmytro Pylypenko

sauln, if take your comment seriously, not easy without smile, but anyway,
about "naive" – what do you mean from technical point of view?
Propose your variant, and highlight weak(or naive) sides of my example,
if you will be right with your proposition – I will agree with better solution with real advantages.