3 ms·
This is exactly the way I've gone - I have a "projects" folder full of shit that just solves a problem for me in the quickest and mentally easiest way possible.
by problems 9y ago
This is exactly the way I've gone - I have a "projects" folder full of shit that just solves a problem for me in the quickest and mentally easiest way possible. I go learn new technologies only when they improve my ability to do that.
- BigJono 9y agoI've started doing this as well, and I'm finding often my solutions end up being simpler, better and have less dependencies than the go-to solution anyway. For example, here's a React 'collapse' component, as people commonly use for accordions. https://gist.github.com/JonathonAshworth/b401810b965149348d03e2465a971201 https://gist.github.com/JonathonAshworth/b401810b965149348d0... It has 1/10th the code of rc-collapse (the 'go-to' solution it seems), and 4 less dependencies. And it's simple enough that basically any competent Javascript programmer can edit the code if they want slightly different functionality. Importing NPM modules for this stuff is madness