
Git protip: easily add missing changes to an old commit
You can quickly "update" an old commit thanks to "commit --fixup"
You’re looking for good practices, tech novelties that we like or how to use efficiently some tools? You’re at the right place!
You can’t find the subject you’re looking for? Let us know, we’ll be happy to help!
(Also if you read French, we have a lot more content.)
You can quickly "update" an old commit thanks to "commit --fixup"
Use "git log -L" to track changes only within a code block, figure out who actually introduced a bug, etc.
Do you think "git blame" is a good idea? You’re wrong!
Easily keep your JS deps in sync with npm-check! So much nicer than npm outdated + update…
See differences in files, line by line, without any visual pollution
Proxies are a wonderful feature from ES2015. This post explores a cool trick you can do with them: negative array indices.
Have you heard about new.target? Thanks to this unusual reference, you can easily implement abstract classes by forbidding some uses of the new operator…
Forget numerical for: the for…of loop that came out in ES2015 is your new best friend. Such versatility!
Sometimes a plain object is enough. Other times you’ll want a Map. But why, and how, can you switch between one and the other?
With everyone boarding the “object spread” train, is there still a place for the Object.assign(…) API? Are they even different? Yes, and yes!
ES2018 finally brings named capturing groups to regular expressions and boy is it cool!
Should you still use “var”? Should we just replace it with “let”? What about “const” anyway? In this post, we’ll explain why “const” should be your go-to declarative keyword.