This morning I opened a work-item with a vague description of the work to be done. Since I don't know much about this particular project, I immediately went over to see my boss who has extensive knowledge of the system, just to get a head start on understanding the basics of how to approach the problem. He looked at the ticket and the related code, and said the requirement was actually different than stated, and that I should update a regex statement in the code to resolve the problem (and add some extra tests too).
I got to work immediately.
The regex statement change was not nearly as straightforward as I would have expected, and within an hour, I realized that the only reliable approach I could conceive-of was to modify the code, not the Regex. So, I wrote code instead of the Regex and made quite an elegant and extensible solution to the set of problems to which my work-item belongs. Still, I was feeling bad that I couldn't fix it with only a Regex change, but at the end of the day I sent my boss a PR so he could look at my solution and added some notes about wishing I could have done it the way he envisioned.
My boss came over almost immediately.
It turns out that he saw my solution and immediately realized that the requirement in the work-item was simply dumb, and that we shouldn't allow the users to do what the ticket was asking for.
Sigh.
Yet another instance of "What you work on is more important than how hard you work.", an idea which comes up a lot these days.
To abstract this idea a bit, you see people, smart ones too, who chose the wrong career and work harder than I do at their profession, and yet they make far less. What mattered most from the beginning was what they chose to do with themselves. Had they known the right thing to work on, they could have far surpassed me by now.
Working on the right thing is the primary concern, so if you can manage it, do that instead. If not, sometimes you can still earn a paycheck while occasionally making elegantly-written throw-away code.
Subscribe to:
Post Comments (Atom)
Art & Commerce
In the 2002 film "Nickolas Nickelby", based on the book of the same name by Charles Dickens, an amazingly brief scene shows us the...
-
Google's recent announcement of algorithm changes that involve preferring secure sites over non-secure ones certainly created a collect...
-
Ad copy can sometimes border on the insensitive, especially when you're in objection-killing mode. To some people the BATNA is way too s...
-
Gaps. The feeling that you don't quite know enough, and can't decide on the best direction. The impulse to seek knowledge to bri...
Great Article
ReplyDeleteProject Centers in Chennai
Final Year Project Domains for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
Thank you for sharing. "What you work on is more important than how hard you work" i appreciates.
ReplyDeleteCan anyone recommend me the best service from the list mentioned in this site semmy wijayanto
ReplyDeleteI really impressed after read this because of some quality work and informative thoughts. I just wanna say thanks for the writer and wish you all the best for coming!. Make-up Bernardino Review
ReplyDeleteSUPER ARTICLE
ReplyDeleteinternship in chennai for mechanical engineering
internship in chennai for mba finance
internship in bmw chennai
internship jobs in chennai
internship in chennai for civil engineering students
internship in chennai for mba hr
internship in chennai for eee students
internship for biotechnology in chennai
internship in chennai for bba students
internship in chennai for engineering students
HTML stands for Hyper Text Markup Language. HTML is the standard markup language for creating Web pages. HTML describes the structure of a Web page.
ReplyDeleteinternship in chennai for mechanical
internship in chennai for cse students
internship in chennai for eee
internship in chennai for ece students
internship in chennai for bcom students
internship in chennai for mechanical engineering students
python internship in chennai
internship in chennai for it students
companies offering internship in chennai
internship in chennai for it
Thanks for sharing such a nice info.I hope you will share more information like this. please keep on sharing!
ReplyDeleteInplant training in chennai
Inplant training in chennai for cse
Inplant training in chennai for ece
Inplant training in chennai for mechanical
Inplant training in chennai for ece students
Inplant training in chennai for eee
Inplant training in bmw chennai
Amazing Article,Really useful information to all So, I hope you will share more information to be check and share here.
ReplyDeleteinternship in chennai for electrical engineering students
one month internship in chennai
vlsi internship in chennai
unpaid internship in chennai
internship for hr in chennai
internship training chennai
internship for freshers in chennai
internship in chennai for it students with stipend
internship in accenture chennai
naukri internship in chennai
GOOD ARTICLE
ReplyDeletefinal year project
mini projects for cse
final year projects for cse
final year projects for cse students
final year projects for cse domains
final year projects for cse in data mining
final year projects for cse with source code
final year project for ece
final year project in mechanical engineering
final year project for eee
Help full post, lots of information
ReplyDeletegazetted officer
z or r twice
what is isp
space complexity
ng-focus
unexpected token o in json at position 1
do a barrel roll 20 times
cannot set headers after they are sent to the client
how to hack any instagram account 100% working
blink html google trick
Super article
ReplyDeleteartificial neural network
what is artificial neural network
what is an artificial neural network
application of artificial neural network
artificial neural network application
artificial neural network pdf
artificial neural network ppt
artificial neural network tutorial
artificial neural network definition
artificial neural network types
The team is very knowledgeable user experience teams and able to translate any idea we come up with into reality
ReplyDeleteThanks for sharing such a great blog......!!!
ReplyDeletefull form
full form of nrc
nrc full form
mbbs full form
full form of rip
Much appreciation to you for this bewildering post, I am stunning I saw this site on Google. Substance, truly, nonetheless, the entire site is furthermore amazing. Check this out
ReplyDeleteMuch appreciation to you for this confusing post, I am stunning I saw this site on Google. Substance, truly, regardless, the entire site is staggering. See more
ReplyDeletePleasant post. I learn something a lot harder on unmistakable web journals ordinary. Most normally it is invigorating to see content off their authors and utilize a little something from their site. I'd would prefer to utilize a few while utilizing content on my weblog whether you wouldn't fret. Normally I'll give a connection on your web blog. Much obliged for sharing. Check this out
ReplyDeleteMuch appreciation to you for this bewildering post, I am amazing I saw this site on Google. Substance, truly, regardless, the entire site is wavering. Like this
ReplyDeleteExtraordinary post yet I was considering whether you could make genuinely seriously in regards to this matter? I'd be appreciative if you could explain truly further. slot online
ReplyDeleteGives you the best website address I know there alone you'll find how easy it is. https://dynamichealthstaff.com/ireland-nurses-vacancy
ReplyDelete
ReplyDeleteTook me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here!
It’s always nice when you can not only be informed, but also entertained! 오피사이트
Thanks for sharing this useful information with us .i am happy with your ideas and blog. Thanks for this
ReplyDeleteDigital Marketing Agency in Delhi
Digital Marketing Company Delhi
Thanks for sharing this useful information with us .I am looking for this from a long time and I really very happy to say That I also deals with this service.
ReplyDeleteWebsite Designing Company in Faridabad
Website Design Company in Faridabad
Digital Marketing Company in Delhi
Great Post with valuable information. I am glad that I have visited this site. Share more updates.
ReplyDeleteIELTS Coaching in Chennai
IELTS coaching in Chennai Anna Nagar
Techtra Digital is the best Digital Marketing Company in Delhi India for Website Designing, E-Commerce Account Management Services, Social Media Marketing, SEO.
ReplyDeleteSEO Services in Delhi
Social Media Marketing Agency In Delhi
PPC Services In Delhi
Graphic Designing Company in Delhi