Leetcode has taught me that I'm a bad engineer
408 pointsI've been at it intensively for a couple months and my mind simply refuses to cooperate. If anything, after having done 400+ problems I seem to be worse at them than when I started.
Since your time is more valuable than mine, let me summarize:
7+ YoE, MSc. in some science (like it matters)
Last 4 years been mostly ETL with Spark and some backend thrown into the mix with a "senior" title for devops and mentoring noobs.
I used to think this job was a creative one, since writing frameworks and libraries for further use, documenting code and extreme programming made me think that I was building something new and useful.
In fact, due to having extreme ADHD the only thing that kept me distracted during all my overtime was the ability to pursue fun and challenging things. MPP and all the cool stuff you can do with modern tools is fun, interesting and challenging.
Leetcode isn't about fun and challenging things, it's about thinking in one particular way, spitting out solutions using the same exact data structures and jumping through hoops on command without philosophizing or creating anything that can be reused/extended.
This is also what Software Engineering has become: you memorize, regurgitate and participate in agile the masquerade. Creativity is shunned. Tried architectures/patterns are what is expected.
I wish I had practiced law for the past 7ish years instead, because at least all of my skills would still be relevant.
Comments (456) 108 threads
Earlier commentsHah! Not so.
I've been a dev for a long time, and my spouse a lawyer. Back when we were both fresh out of school I remember running her through quiz questions to help her prepare for her bar exam. We devs HAVE NO IDEA how much arcane archaic stuff lawyers have to pretend to know to get certified to do their jobs.
For example: "mortmain" (French for "dead hand"). What happens when property is bequeathed to a defunct institution? It's on the test. It's easy to come up with a logical answer. But to pass the bar exam would-be lawyers have to know the right answer, cold without looking it up, and why it's the right answer. Hint: it's not at all logical. And, will a working lawyer deal with that question? Maybe three times in her career if she's an estates-and-trusts specialist.
There are thousands of these things for lawyers.
Bar exams are hard because of protectionism -- low supply means high pay. The same is true of doctors and developers. Developer pay is high BECAUSE the exams are hard. The exams are hard BECAUSE developers want high pay.
It’ll land you a nice salary, to boot.
Note that I would never require leetcode during a job interview. However, a single LC question is a small-sized puzzle I can solve in a day (or a weekend). If I want to write a ray tracer, well... Good bye life for a week or two.
In other words, I have difficulties finding 50+ hours of large chunks of time to be unavailable to my family in my supposed off time. Leetcode I can do on a couch while my SO watches Games of Thrones.
Not necessarily! Maybe you just like puzzles? I don't.
>In other words, I have difficulties finding 50+ hours of large chunks of time to be unavailable to my family in my supposed off time.
If that's all that's stopping you from working on a ray-tracer, I think it's "just" a time-management problem. I work in increments ranging from 30 minutes to 2h. The trick is to schedule them, or at the very least, to have some kind of issue tracking system for yourself so that you can find an appropriately-sized chunk of work for those serendipitous 20 mins.
Lookup this book: Ray tracing in one weekend by Peter Shirley. You're in for a treat :-)
Meanwhile writing your own libraries, parsers, compilers, oh boi.
Additionally it gave me waaay more than LC stuff, especially when it comes to learning system modeling / proper OOP
None of that will help you pass an interview though!
I submit that you may be interviewing in the wrong places.
Obviously, it doesn't suffice to just point the decision-makers to your repos. You need to pick companies who would benefit from the expertise you acquired, and effectively pitch yourself to them.
Consider this problem: https://codingcompetitions.withgoogle.com/codejam/round/0000...
Several articles have been written about it, and the winning submissions all implement generic numerical integration in like 10 lines of code (a few even implement Simpson's rule), which is sort of neat it its own right. From reading solutions to other CodeJam/TC/SPOJ problems I've also come across similarly compact implementations of matrix inversion, linear optimization, etc. It sounds like your math chops are more than good enough, and these companies just want to test if you understand 80's computer science anyway. If you study interesting solutions to hard problems, you might stay interested and you might even improve more at boring LeetCode problems than you did after grinding. Chess puzzles help up to a point, but eventually to get better you have to start reading books, and that point comes before all chess puzzles are easy. Pushups help up to a point, but eventually to get stronger you have to switch to a barbell, and that point comes before you can do a million pushups.
Finally, I've given this advice in other comments, but if you're just posting this because you want to get hired, my experience is that it's better to focus on interviewing more than on LeetCode. Specifically: think of getting hired as a numbers game, and think of applying for a job as a sales process. That means having a funnel for companies, e.g. "discovered -> openings available -> resume drop -> recruiter screen -> interview round 1,2,3 -> offer". Make a spreadsheet and start filling it; don't just list companies you know about, start googling tech you're interested in to find more companies you can add. If certain types of interviews seem to go better, look for similar companies you can add, and wait to optimize your performance (e.g. with LeetCode) until you do notice a big drop-off in your funnel (e.g. recruiter screen, first round interview).
All comments shown.
Couldn't load more comments. Check your connection and try again.