Live data from Hacker News

New Grad vs. Senior Dev

ericlippert.com

301–310 of 392 posts

Re: New Grad vs. Senior Dev

#301
post #38

Earlier quoted context omitted.

Found it: https://i.redd.it/lmrf72ko0ro41.png

It's probably based on some other meme I'm not familiar with but I really love how this borders on the absurd.

The faces are just "Zoomer" and "Boomer," respectively. Depending on which group the creator is trying to make look ineffectual and clueless, one typically looks smug and amused while the other is losing his shit.

Re: New Grad vs. Senior Dev

#302
post #148

In real life, you will always start with simple working implementation and go with it. Then if things are slow, you profile your code with a good profiler while running for some kind of real life scenario and spot the slow parts (also keep in mind that profiling may affect the program's behaviour). After that you may want to consider alternatives with less asymptotic complexity iff that's the part causing slowness. O…

Although I mostly agree, there’s certain types of simple, fundamental performance considerations you want to take when writing code the first time, otherwise you’re just needlessly dealing with tones of performance issues in prod. Like make sure your DB queries are well covered by indexes, if you’re repeatedly looking up items from a list, turn it into a map or set first, in FE code try to keep re-renders to areas of…

> Correctness and simplicity are almost always things you want to focus on over performance

Right, it's a balance good developers know how to tread. Obviously if you can use a set instead of a list and it's one line change, go for it. But as the meme in OPs post, if you're gonna USE SEGMENT TREES and all, then it better be worth the amount of complexity and time you're putting into it.

Part of what makes a good engineer is being able to quickly tell where it's worth optimizing and where it isn't. Or as the meme says, when nested loop goes BRRRRRR.

Re: New Grad vs. Senior Dev

#303
post #38

Earlier quoted context omitted.

Found it: https://i.redd.it/lmrf72ko0ro41.png

It's probably based on some other meme I'm not familiar with but I really love how this borders on the absurd.

The original was about quantitative easing: https://i.kym-cdn.com/photos/images/original/001/781/373/b1e...

Re: New Grad vs. Senior Dev

#305

I'm the senior dev on my team, and whenever a new dev joined my team they would look at the codebase and go "ew, python2? Just use python3." That gave me a chance to explain the testing and refactoring cost that would come with changing python versions, and how the benefits to users would be almost zero. And then at some point one of the new juniors said, "hey, there's a lot of filesystem performance improvements and…

In the end the junior spent a month working on this. Now you are on the latest python.

How does this benefit the user again? Could the junior have been working on that spa for marketing? That's one months salary..

Re: New Grad vs. Senior Dev

#306

Earlier quoted context omitted.

With microservices, you lose the ability to use database transactions across services/tables. Later on, when people realize this, it's too late. It's priceless to see their expressions when senior mgmt. and business owners finally find out.

Could you elaborate what you mean by transactions?

Sequences of interactions with the DB which are either atomically committed to on success of the sequence, or rolled back on failure, so that the DB is in the same state it had before the interactions began.

Re: New Grad vs. Senior Dev

#307
post #148

Earlier quoted context omitted.

Although I mostly agree, there’s certain types of simple, fundamental performance considerations you want to take when writing code the first time, otherwise you’re just needlessly dealing with tones of performance issues in prod. Like make sure your DB queries are well covered by indexes, if you’re repeatedly looking up items from a list, turn it into a map or set first, in FE code try to keep re-renders to areas of…

> Correctness and simplicity are almost always things you want to focus on over performance Right, it's a balance good developers know how to tread. Obviously if you can use a set instead of a list and it's one line change, go for it. But as the meme in OPs post, if you're gonna USE SEGMENT TREES and all, then it better be worth the amount of complexity and time you're putting into it. Part of what makes a good engin…

Yeah agreed with all of that.

Re: New Grad vs. Senior Dev

#308

Earlier quoted context omitted.

I don't understand the hate for microservices on hn. I have found microservices are a great way to extend monoliths developed with legacy frameworks. There are so many pros with the cons easily avoidable with the right tooling / processes.

HN can be a very contrarian community when it comes to popular trends or common practices in the tech industry.

It's just mindless copying. Just because x worked for someone here in this specific situation doesn't mean we should throw out everything else.

Re: New Grad vs. Senior Dev

#309

Earlier quoted context omitted.

The question had 2 goals: 1) Do you think about cache at all or is it just something you heard mentioned as important that one time? 2) It's a good lead-in to discussing the effects of cache in algorithms. How that conversation goes helps me to understand how that person thinks and discusses complex problems. A good answer would be "I'm not sure, but probably way, way slower because linked list can point all over mem…

Question... What kind of software do you mainly work on? I'm guessing it's not CRUD apps.

High end 3D mobile games. We regularly measured direct correlations between performance and revenue. Higher performance meant a larger install base of devices could run the app with better responsiveness and lower battery burn. Thus, higher retention and engagement. Thus higher monies.
Post reply on HN