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)
A Thousand Tiny Steps
One day, for good or ill, you may look up to find yourself in an altogether unexpected place. And in that moment, you might consider how you...
-
Google's recent announcement of algorithm changes that involve preferring secure sites over non-secure ones certainly created a collect...
-
You can accomplish anything you set your mind to.... ...unless someone else sets their mind to thwarting you.
-
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...
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
ReplyDeleteHTML 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
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
ReplyDeleteMuch 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
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! 오피사이트
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
Great Article.keep it up.
ReplyDeleteBird grooming Shop
Bird grooming Shop dubai
Keep sharing also.
ReplyDeletemobile pet grooming services dubai
mobile pet grooming dubai
Thanks for sharing this useful information with us .
ReplyDeleteprofessional movers and packers
professional furniture movers
Great post with valuable information.
ReplyDeleteprofessional movers in uae
professional movers