6
jonii
6y

I totally want to refactor my project's code, but I don't have any time for it and now it's a working piece of spaghetti-ish 😭

I'm just praying I'll get to do it once it's actually finished, so I don't have to work with it again in like a year and want to travel back in time and murder myself.

Comments
  • 1
    don't find excuses, find a way to plan some time to do it. Find arguments to convince your pm to allocate some time from something else. Arguments like time and money. If this doesen't work come in to work a half an hour early for a week and refactor that code in those 3 hours.
  • 2
    @heyheni there is no something else, I do that project almost full time. Also I'm not gonna work extra time, because they want their tool by yesterday. Ofc I mostly have excuses, but sadly things don't always go the perfect way and my life is not only work.
  • 2
    Embrace the chaos.
  • 0
    @jonii do you use a linter to enforce a coding style?
  • 0
  • 0
    @jonii do it, what's your language in that project?
    Your profile says C# here's one linter for C#.
    https://jetbrains.com/resharper/

    What's a Linter
    https://youtube.com/watch/...
  • 1
    @heyheni thanks for the links, unfortunately the project is in ILE RPG
  • 0
    @jonii woah just looked rpg up, I would rant and cry everyday if i had to use this ;(

    Found something like a linter for RPG
    https://www.sourcemeter.com
  • 0
    You’ll get stuck into it and then you’ll get carried away refactoring more than you wanted... you never know where the spaghetti leads 😁
  • 1
    @badcopnodonuts but it's RPG a IBM business programming language from 1959. If you code badly in this programming domain it's more of masochism than a job. And the salery more of a pain and suffering money. Isn't it @jonii ?
  • 1
    @heyheni oh the language is still being updated and is hella different from when it was released, has also been modernized since then. So it's not based on punch cards anymore lol
    So it's actually not too bad, can obv still be a pain in the ass sometimes, especially the database (DB2) for IBM Power systems
  • 0
    Come on, take the leap, so far I refactored one of my projects 4 times 🙃

    Every time I feel like I took a brain shower
  • 2
    @heyheni Sounds fucking horrible. I’m going to go look it up.. might have a night in with some BDSM.
Add Comment