Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "mnemonic"
-
Lol 😂. I was expecting a mnemonic of some kind but this works too.
https://stackoverflow.com/questions...2 -
Imagine a time when a colleague contributes a shitty spaghetti of non-optimized code that neither use mnemonic variables nor conventional naming of functions, and you can imagine the dark hours of maintaining it and your fingers itch to fix it but you don't have the time and the responsibility too to do it. He doesn't listen to you and you feel bad to tell this to the boss as the colleague is also a friend you've known since college and is a good person otherwise. No options seems to give peace.6
-
I always confuse `for..in` with `for..of` and have to look up their respective meaning. Again.
It drives me crazy.
Do you have any mnemonic on this? How do you remember the difference?
(Now, as in this very moment, I know that for..in is for looping over keys of an object and for..of for looping over iterators. But tomorrow I will have forgotten it again.)10 -
Does anyone have a mnemonic for x and y and which is which, on a graph? I feel like I have to look it up or guess every time. Some day a building is going to collapse because of one of my guesses.12
-
Some time ago, I noticed a Node script use a lib called 'rimraf.' Now I'll never forget how to get *nix to delete a directory without giving me lip about it.
rm -rf2 -
Lol, I lost my ethereum wallet's mnemonic phrase. I lost 422 eth.
Then I realized I was using Ganache local blockchain whole the time.3