A few months ago, I lead efforts in my company to introduce an auto-formatter to our 1M+ lines Java codebase. It was a bumpy ride (but I still think it was worth it!)
#Java
https://t.co/Oh0REDI0G6
Made a CLI to simplify writing Java in editors like VIM by auto adding relevant import statements every time I save a file. Have a look!
https://t.co/67dVldpRgq
#Java#VIM
Abstract but interesting: how to judge if an abstraction is appropriate or not by Cheng Lou.
As someone sometimes guilty of over-abstracting code, this was enlightening!
https://t.co/gsSfDH8Nzp
When you rush and add features to make it on time for a demo, then spend double that time trying to figure out how to clean up the f**ing mess you made 😐
Realized today while refactoring the meaning of “Don’t Repeat Yourself even in the comments”: most if not all of the comments on my PR were about (now) out of date comments (and the reviewer forgot some...)
#100DaysOfCode#PragmaticProgrammer
Made a new blogpost to explain how goimports finds packages and automatically adds import statements at the top of a file:
https://t.co/RngIRrTLSW
#Go#100DaysOfCode