IT/Software career thread: Invert binary trees for dollars.

Lendarios

Trump's Staff
<Gold Donor>
19,360
-17,424
Old habits are hard to break. Use this then "this.firstName". While redundant is a lot better than m_firstName. Join the future!!!
 

Tenks

Bronze Knight of the Realm
14,163
606
I tend to disagree, from a managers point of view, I value consistency over correctness. It's more valuable(to the company) for there to be consistent bad practices than there is for there to be a mix of different styles for the same thing. It's counter-intuitive but it increases maintainability as long as said bad practices aren't directly impacting performance in a meaningful way.

That said, obviously it's better to have consistent good practices, but refactoring should be a team effort ideally, or else you're just on a hamster wheel constantly cleaning up after other people, which is just wasting your productivity and hurting the team ultimately.
This is one of those rare times I've applied gaming to my real life. But it is like when you're playing a team-based online game. The entire team all working together on the wrong thing is almost always more beneficial than half the people doing the right thing and the other half the wrong thing. It is almost always better to fully commit to something even if it isn't optimal.
 

Noodleface

A Mod Real Quick
37,961
14,508
Reminds me of when we were raiding and we had these bitches Thetan and Soygen quit the game

Ok, it doesn't remind me of that but I wanted to say it
 

ShakyJake

<Donor>
7,641
19,281
The entire team all working together on the wrong thing is almost always more beneficial than half the people doing the right thing and the other half the wrong thing. It is almost always better to fully commit to something even if it isn't optimal.
Yeah, I can see that point of view. We would have been better off if they just froze the framework at .NET 2.0. That would have ensured we keep using the old crap. The application is already unusable on any non-I.E. browser and any version prior to 10.
frown.png
 

Vinen

God is dead
2,783
490
Yeah, I can see that point of view. We would have been better off if they just froze the framework at .NET 2.0. That would have ensured we keep using the old crap. The application is already unusable on any non-I.E. browser and any version prior to 10.
frown.png
Fucking LOL. We finally got to say fuck you to IE 8 and 9 this release.
 

Tripamang

Naxxramas 1.0 Raider
5,220
31,834
Out of curiosity, how do you guys have to track your time for the company you work for? Do guys have to account for every minute? Do you use a project management system to track time?
 

Noodleface

A Mod Real Quick
37,961
14,508
We don't really - we work "8" hours a day and get paid salary. Sometimes if a big business unit is buying our time, they'll estimate engineering hours required and bill them accordingly.

In my day to day, no one has any idea what the fuck im doing.
 

ShakyJake

<Donor>
7,641
19,281
Fucking LOL. We finally got to say fuck you to IE 8 and 9 this release.
I wish we could. We have tons of pages that have scripts that use old IE quirks. We'd literally have to rewrite dozens of pages from scratch.

I'msodone with WebForms after having worked with ASP.NET MVC and NodeJS Express and it's cool template engines.

Out of curiosity, how do you guys have to track your time for the company you work for? Do guys have to account for every minute? Do you use a project management system to track time?
We roughly estimate how much time we've spent on any projects deemed capitalizable.
 

Kovaks

Mr. Poopybutthole
2,354
3,142
This is one of those rare times I've applied gaming to my real life. But it is like when you're playing a team-based online game. The entire team all working together on the wrong thing is almost always more beneficial than half the people doing the right thing and the other half the wrong thing. It is almost always better to fully commit to something even if it isn't optimal.
I guess I'm spoiled everything we do has to be agreed upon by the team (scrum teams) so they look at code when they are working on a project both ther own and legacy code and as a team make the decision to code to their standard which may have improved since the project was last worked on. They don't always refactor because time...but they also almost always agree that new code should be done at the new standards and any old code should be improved if possible with the goal of improving maintainability. They will fight for refactoring time if the code they inherited is bad enough. Some of our teams are better at this because they are more advanced at tdd and code reviews but in general none of our teams will agree to continue using poor standard because that is how it was done. This perspective might be skewed since we work as modular as possible and most of our apps are probably small compared to what you are dealing with.
 

moontayle

Golden Squire
4,302
165
I'm just glad I have the leeway to refactor the things I'm working on. Current project needed it badly, just no consistency in the design, naming conventions, etc. Made it extremely difficult to follow or debug. There was also a lot of useless shit, numerous instances of Android's Dialog class for when a yes/no or informational popup was needed (reduced to just two), UI elements that either literally do nothing or remove access to elements that you will always need access to. So yeah, it's been fun and productive and for me it's been a great learning experience.
 

Lendarios

Trump's Staff
<Gold Donor>
19,360
-17,424
Refactor also increases your knowledge and confidence in the code. At any level, that is super valuable.
 

Lendarios

Trump's Staff
<Gold Donor>
19,360
-17,424
IMO you refactor bug free code in order to
a) bring it in line with your current organizational standards.
b) remove confusing lines of code or algorithms.
c) move forward the code base to a more recently versions of your platform. For example .net 3.5, 4.0, 4.5, 4.5.2, 4.6
d) learn the code.