Live data from Hacker News

Ask HN: I got duped into working on legacy code, should I leave?

news.ycombinator.com

51–60 of 126 posts

Re: Ask HN: I got duped into working on legacy code, should I leave?

#51
post #43
post #32

Earlier quoted context omitted.

The depth of the stack is not a very good metric for code quality.

Why is everyone quibbling with him about that. He just wants to express his opinion that the codebase is very bad in a more colorful way than by simply calling it doubleplusbad. Let's just take his word for it and move on.

Because we are trying to tell OP in a nice way something we think he will benefit a mot from rather than just what he seems to be wanting?

Re: Ask HN: I got duped into working on legacy code, should I leave?

#53
post #32

Earlier quoted context omitted.

I should clarify that's over 20 deep of our code , not counting all the framework stuff.

The depth of the stack is not a very good metric for code quality.

It's bad in a lot of specific ways but I'm trying not to out myself since it's a fairly small company.

The overarching problem is trying to reinvent the wheel because the management thinks we can do things better than the language designers.

The end result is a buggy and generally bad reimplementation of core libraries. ORM, math, dates, full text search. There's a half-baked custom version of everything.

Re: Ask HN: I got duped into working on legacy code, should I leave?

#55

"..hope I don't get fired for underperforming?..." What kind of passive language and thinking is that? Everything is legacy once it is written. Imagine you, the trailblazer, only having to write new code and not having to maintain the crap you wrote. The actual problem here is your attitude and way of seeing things. Legacy? Sucks? Fucking write a better version and show some initiative instead of just hoping of being…

I wasn't hired to work with old junk. if I would have known I never would have taken the job. I also don't have enough money to walk away or risk standing up to management.

The code isn't just old, it's very badly written and has zero documentation.

Re: Ask HN: I got duped into working on legacy code, should I leave?

#56

Sounds like someone likes 'collecting' programmers from different languages and technologies and giving them jobs =] Learn it love it or leave it, you're still making money right now so....

I have a theory that the company is for sale and the owners don't want their ancient stack to show up on Google search in job descriptions.

If it's not that you guess is as good as mine :)

Re: Ask HN: I got duped into working on legacy code, should I leave?

#58
My first thought when I read the title was "no, don't leave. Working on legacy code will teach you the number one thing about programming, that no one else will teach you... Writing good code is about writing maintainable code." It is hard to fix hacky code, but do your best to not write hacky code. Another lesson to learn... To ahead and learn more about the attack they are using. Yes, you may never use that attack again, but it will actually make it easier to learn a new stack later on. 20 years is really not all that ancient either. JavaScript is over 20 years old... It might help you to learn some of the older technologies. Now, that being said, I don't know the extent you were promised to work on new things, and how much you were lied to and how bad the culture is.

I suggest you start looking for a new job, but in the meantime work hard on your current job. Take pride in your work. No matter where you go there will always be a legacy system you will have to work with. New or different technologies to learn.

Re: Ask HN: I got duped into working on legacy code, should I leave?

#59

Earlier quoted context omitted.

Relo isn't a problem and I definitely want to stay in this town. I can't really mark it as time off because I already did that a while back, I don't want to end up with a lot of gaps :) I was thinking I could just apply to other places and be honest with them... But some may also frown upon me saying bad things about my current employer

I'm looking for a React guy. Remote work is fine as long as you're on USA timezone.

What about remote that will work USA time zone hours? (I work serious question. Considering doing remote next year and wondered if people consider that cos I work better at night time anyway.)

Re: Ask HN: I got duped into working on legacy code, should I leave?

#60
post #41

I find it impossible to replace a legacy system without first understanding the legacy system. It's easy to say "X is old" or "X sucks at Y" but keep in mind that applications have a strong survivor bias. Ask yourself, "what does X do that is awesome" or "how has X lived this long" and you'll find a lot of hidden scars and requirements. Start documenting those requirements and create a plan to map those to technologi…

Yes. Thats what the college-lecturer tells you. But in the real world you should not stay longer than necessary in a company which lied so hard into your face.

It was a lie of omission but I'm not sure if that makes it any better. I was hired to work on a new project but it wasn't disclosed that the project hadn't been started yet and has already been delayed for years
Post reply on HN