by axguscbklp · 6y ago · 0 comments
Uhh... does anyone other than maybe 1 in 100 developers actually do this? I think that many more than 1 in 100 developers are enthusiastic... but I doubt, whether they are enthusiastic or not, that significantly more than 1 in 100 developers or so act like the above. If I'm going to work 12-16+ hour days, I'd better either be in love with the company or have a good reason to expect that I could cash out and be rich as fuck at some point.
The most productive person I've ever met wrote an H265 decoder by himself in three months of working four-day weeks so he could spend time with his family.
I still do it. I'm 34 and currently with my second live-in girlfriend. The first one didn't leave me due to programming; I just decided to go for a younger model. I'm not trying to brag but rather dispel the myth that you need to stop programming to have a relationship. My girlfriends have always known what is important in my life: me, my computer, my car, my bicycles, then them. Instead of relying on being the most important thing in my life, I encourage them to the be the most important thing in their own lives. It's a far healthier relationship and part of a Stoic lifestyle which I find to be the true path to happiness.
Less jokingly, it was a side output of his bigger project to automatically parse the H265 spec using a tool called O-Meta. This made it surprisingly easy to write a minimal frontend to produce an (unoptimised but working) decoder in C, Javascript, etc. The actual product became https://www.broadcom.com/products/embedded-and-networking-pr... : a codec test suite. Incredibly valuable for those companies making hardware decoders. Similar in structure to an input "fuzzer". Found a number of bugs in the official reference decoder's C code.
Originally sold as https://web.archive.org/web/20190310224609/http://www.argond...
I've worked before in a place that was mostly people who just show up for a 9 to 5 (or often more like a 10 to 4). It just felt super-depressing to me to look up around at 6pm and the whole floor is completely empty. Didn't last long there, but I guess it was a nice sabbatical.
These days I work closer to 10-12, but if I'm on a good pace in a groove, or someone needs help with an urgent issue, or it's just some self-imposed mental deadline, that can easily stretch the day to past midnight. I would say most of my peers work similarly.
Assuming you survive the first 2-3 years of hell and approach that level of master, you are now in a position to back off your time commitment substantially because every second you spend working as a master is like a lifetime to an apprentice. Gains in mastery in this craft are NOT linear in my experience. It's more like a polynomial or exponential curve.
I also think time spent playing with abstractions in isolation from larger projects is also key to obtaining mastery. Much like trying to master a difficult piano concerto. You can't just play it from the top every time or you'd go insane. If you want to find the smartest guy in the room at a Microsoft shop, go look in everyone's users/[username]/source/repos path. Whoever has the highest numbered ConsoleApp wins the prize. Again, no substitute for practice and breaking things. Remember, there are zero consequences if you write shitty code and its still contained to your local machine. You can just type git reset --hard and go to lunch like nothing happened.
I also don't think it's productive or good for your product. As a side thing I paint, I've studied art and illustration since I was 14 and the one thing you learn as a pro in that industry is to never, ever finish a painting in one sitting. It's easy to obsess and lose yourself in the details and completely miss the glaring errors, and these you can find only by stepping away and coming back with a fresh set of eyes. And this is just as true for programming.
I don't think it's a good idea or healthy but it definitely happens, especially at universities and startups. I used to do it on client projects too until I wised up. Though looking back on my code from back then I still achieved some pretty crazy stuff in that time. Pushing the boundaries of what I was capable of. There is an upside to being completely immersed even though I wouldn't do it these days because I value my health.
I've found the same for designing circuit boards. When you are done, save it and look at it tomorrow, errors will be obvious.