3 ms·
I 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 laude
by hamandcheese 9y ago
I 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...