2 ms·
In this article is this paragraph: "It took a while, but they listened. We replaced our monstrous 7,000 LOC socket server with a minimal, maintainable implemen
by xet7 5y ago
In this article is this paragraph:
"It took a while, but they listened. We replaced our monstrous 7,000 LOC socket server with a minimal, maintainable implementation under 350 LOC. This was a huge win, but I had become disillusioned by the process."
How can I replace my current 48,395 LOC of Javascript + dependencies with something more maintainable? Can it be similarly be replaced with 350 LOC ?
- theobr 5y agoWhen you say "+ dependencies" do you mean the package lock file? I measure written-by-humans LOC. This particular rewrite happened to drop about 14 unnecessary deps in favor of vanilla Node.js, Typescript and Socket.io