r/javascript • • Mar 02 '19

Useful javascript one-liners.

https://medium.com/@smellycode/js-one-liners-8bc0a6af2345?source=friends_link&sk=a9295a05aef9e514e137fca7eeb89cd1
344 Upvotes

96 comments sorted by

View all comments

2

u/marocu Mar 02 '19

Bookmarked, thanks!

2

u/FanOfHoles Mar 03 '19 edited Mar 03 '19

Does that actually do anything for you? I realized a long time ago that "bookmarking" for me means "put away and forget forever".

What I do now is this: Either something is worth reading and committing to memory (in a meta form, whatever the brain makes of it over time) or I may as well just close that browser tab. Even code samples - whenever I need(ed) something I just create it from scratch, maybe with the help of some googling. If you have bookmarks you would need to figure out, after years, which ones are actually relevant, a quick Google search and some thinking probably is faster (and a lot more fun than going through lot of bookmarked sites).