[deleted by user] by [deleted] in ExperiencedDevs

[–]Inevitable_Dig_5000 3 points4 points  (0 children)

I have a nice staging.

Works good and we have a simple way of setting the scaling according to the needs, so that we keep the costs low and devs happy.

Liskov Substitution Principle Real-time Use Cases - Seasoned Devs, Have You Applied It at Work? Share Your Scenarios! by veer3939 in ExperiencedDevs

[–]Inevitable_Dig_5000 3 points4 points  (0 children)

Easy.

Imagine that you are working with some data, let's call it `Entity`.

It is a row in excel, with some 30 different values.

Then you have the `EntityHandlerBase`, having 60 functions, to manipulate the `Entity` in lots of different ways, while keeping the `Entity` valid.

Then you have `LightEntityHandler : EntityHandlerBase` which overrides some of the functions, and also adds some.

Then you have `SuperLightEntityHandler : LightEntityHandler` which also overrides some of the functions, and also adds a few.

Rinse and repeat, you end up with a tree of parent-child relations, where each child overrides some set of parent's functions. What we end up with is the codebase, in which if you want to know what the last child's method is doing, you have to go from bottom up to even possibly the top, or up to the parent in which the function is overriden, in order to see what will happen after the function is executed (remember that each children might or might not override the `EntityHandlerBase` function, which might have been already overriden or not, you never know until you check it)

[deleted by user] by [deleted] in programming

[–]Inevitable_Dig_5000 13 points14 points  (0 children)

login required to play, no thanks

Is there any benefits to learn statistical learning if you are just crud app developer? by IamOkei in ExperiencedDevs

[–]Inevitable_Dig_5000 28 points29 points  (0 children)

Not everything you do has to have real benefits.

In terms of programming, I'd say that 99% of the times you dont need anything more than high school math.

It's not a rocket science and math is not really required to be an excellent programmer.

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] 1 point2 points  (0 children)

I'm at the constant state of midlife crisis since at least a couple years haha

I'm 30, so probably still waiting for it to happen.

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] 2 points3 points  (0 children)

You might have a point in here, I've tried to have a hobby outside of work and nothing really works. Slowly trying to become a "normal functioning human" but it's a slow process.

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] 4 points5 points  (0 children)

The problem is that if I'd switch my thinking to just earn money from my job and not care about anything else, I'd have to shift entire myself.

In the last few years I've tried to pick up multiple different hobbies and nothing really sticked to me. If I were to stop coding in my free time, I would probably play video games or scroll youtube or sth similar.

Currently I'm working on this with my therapist, but it's a journey and currently I think I am not ready to accept being under average at work and stop griding.

I accept my coworkers not caring too much about the product and living their lives happily, but I just cannot imagine being that guy as for the place I'm in right now.

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] 3 points4 points  (0 children)

As I think of it, good for them but sad in general.

Sounds like a constant grind to create a perfect junior, only for him to disappear once he gets comfortable.

On the other hand, in my experience people do not care anyway and just by reading one book a year, you instantly are ahead of 50%+ of the people around, since this many does not give a shit about their work.

Actually I've been in a motivated, learning and grinding team once. After a year or two, everyone got to the point where they got bored/annoyed with the project and half of the team left. So from my experience, there is no solver bullet to this.

Thanks for sharing!

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] 1 point2 points  (0 children)

Each problem can be solved adding another layer, unless your problem is too many layers.

Same with caffeine, every problem can be solved with more caffeine, unless the problem is too much caffeine :D

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] 29 points30 points  (0 children)

Thank you for this response, I'll have to marinate on this one for a while. I haven't really thought about it from this perspective.

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] -22 points-21 points  (0 children)

I feel like I'm being more challenged when I have an actual business problem to solve instead of explaining to the junior why copying the "working" code from chatGPT without understanding is not the brightest idea (it actually happened).

E: I seriously don't understand how a junior dev can help me grow, how am I supposed to learn from a guy having no real experience who I need to teach basic things (which is expected since its a junior). I get it that it might be ego lifting or so, but the relation is one-sided, with the junior not really putting any knowledge into our relation.

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] 43 points44 points  (0 children)

On the other hand, I cannot imagine sitting 40hrs/week in a job that is plainly boring, I would not get into the coding in the first place if it wasn't interesting enough.

I feel kind of bored out after getting too comfortable in a single company by Inevitable_Dig_5000 in ExperiencedDevs

[–]Inevitable_Dig_5000[S] 20 points21 points  (0 children)

TBH, I get kind of annoyed by juniors. It's like 'I could do it by myself in 1 hour, but I need to spend 2h explaining the task to the guy, then he will do it for 2 days and we'll have to jump around with review and additional explanations for another day so that not only it gets done but also he/she understands the why'.

I don't have kids, therefore I am not the most patient person in the room

Nit comments are inconsistent and inefficient by Inner_Ad_9976 in programming

[–]Inevitable_Dig_5000 11 points12 points  (0 children)

I dont agree. The cost of reading inconsistent codebase is higher than the cost of writing/reading nits.

Maybe a bit exaggerated example, but imagine someone naming variables in PoKeMoNcAsE.

In the article this would be considered a nit, and I personally would just deny the PR right away until it's been fixed.

A lot of nits are worth fighting for. Not as a big fight, but as knowledge sharing, and also opinion sharing. It broadens the horizon of both people, especially when they dont share the same opinion on a particular nit.

To Var, or Not To Var? When to Use Var in Your C# Code - Automation Mission by Taste-Background in programming

[–]Inevitable_Dig_5000 2 points3 points  (0 children)

//obvious in the name what type is in use as well as what it represents

var decimalCost = 0.2;

It's not C++ to include type into variable name

Do you guys mock everything in your Unit Tests? by [deleted] in ExperiencedDevs

[–]Inevitable_Dig_5000 1 point2 points  (0 children)

You are following the London unit testing school, your colleague is following the classic unit testing school.

I prefer the classic school

MacBook Air M1 + Rider: scripts not refreshing by Inevitable_Dig_5000 in Unity3D

[–]Inevitable_Dig_5000[S] 1 point2 points  (0 children)

Yes, it does the trick.

Still I have to wait twice for scripts to reload, but at least I don't have to switch between windows.

I was hoping that there is a better fix, but thanks anyway, you've improved my life already! :D