3 ms·
Hence the title "Working Hard to be Lazy"... Here's a basic programming example say you're writing some front end javascript to make a call to another site's a
by jefflombardjr 9y ago
Hence the title "Working Hard to be Lazy"...
Here's a basic programming example say you're writing some front end javascript to make a call to another site's api... if you have to do it once, you probably will set the headers, and make the call right? Well if you have to do it three or more times, it pays to be lazy and write some sort of function to wrap the fetch call and automatically set the headers for you each time.
This is the laziness that I'm advocating. It's not about people that don't put effort in, it's about maximizing efficiency and taking processes approach. In many cases truly lazy people will work twice as hard now to avoid work in the future.
- hamandcheese 9y agoI know lazy developers. They would just copy and paste the api call three times. And if the api call really only needs to happen three times they might be lauded for taking a pragmatic approach rather than over engineering.
- jefflombardjr 9y agohttps://en.wikipedia.org/wiki/Rule_of_three_(computer_programming) https://en.wikipedia.org/wiki/Rule_of_three_(computer_progra... Totally agree that if you are only doing something exactly three times, probably not worth it. That being said when was the last time you were absolutely sure the requirements won’t change? Only the Sith deal in absolutes.
- swsieber 9y agoHas anybody else noticed that "Only Sith deal in absolutes" is an absolute? Genuinely curious if it's just so obvious that it's never talked about, or if people just don't stop to think abouy it... (I mean, it's a pretty good piece of advice... we just never talk about the irony)
- khedoros1 9y ago> Has anybody else noticed that "Only Sith deal in absolutes" is an absolute? Genuinely curious if it's just so obvious that it's never talked about, or if people just don't stop to think abouy it... I think you're just not usually around the people who talk about it. Here are some example image macros. http://img.memecdn.com/only-sith-deals-an-absolutes_fb_512697.jpg http://img.memecdn.com/only-sith-deals-an-absolutes_fb_51269... https://img.memecdn.com/who-amp-039-s-really-on-the-dark-side_fb_6700751.jpg https://img.memecdn.com/who-amp-039-s-really-on-the-dark-sid... https://i.pinimg.com/originals/d9/32/8c/d9328c625f6f47e8d8a99be102a56415.jpg https://i.pinimg.com/originals/d9/32/8c/d9328c625f6f47e8d8a9... https://pics.me.me/only-a-sith-deals-in-absolutes-that-itself-is-an-20291123.png https://pics.me.me/only-a-sith-deals-in-absolutes-that-itsel... https://pics.onsizzle.com/whats-wrong-obi-wan-kenobi-tells-anakin-that-only-sith-7661489.png https://pics.onsizzle.com/whats-wrong-obi-wan-kenobi-tells-a...
- Can_Not 9y agoYour example isn't laziness. I'm going to write a script (postman, bash, or another language) so that my progress is better documented than my bash history and I can easily come back to the task later when it needs repeating or derivative work. That's efficiency, not laziness. I can get more work done. A lazy person would use their efficiently acquired extra time to browse dank meme pages instead of additional work, but doing your due diligence in implementing basic efficiency in your work flow isn't laziness.