This is a weekly roundup of awesome DEV comments that you may have missed. You are welcome and encouraged to boost posts and comments yourself using the #bestofdev tag.
For NodeJS one could use
NODE_PATH=./src node index.js to achieve similar results.
console.trace() is also nice for debugging, clue is in the name, it outputs the stack trace to console. :)
Sometimes we all feel like the world of programming is just too vast. It can be difficult to pull yourself out of a slump like this, @91sameer
. But fellow developers like @nicozerpa
coming through and offering support, guidance, and perspective can make those hard times just a little better ❤️
Hi! I have bad and good news (but the good news outweigh the bad news.)
Think of programming languages as tools. The more tools you have, the more things you can do. But you already can do many things with the tools you already have.
Git stash can sometimes be very useful, specially because we can't switch branches with modified files around.
Another way is to simply type
git stash, it will put everything in the stash with a WIP message automatically. Then you can do
git stash pop to pop the last added entry to the stash (:
I took two days of vacation.
See you next week for more great comments ✌