Skip to main content
edited tags
Link
Robert Harvey
  • 200.7k
  • 55
  • 470
  • 683
Post Reopened by Arseni Mourzenko, Jon Purdy, Jalayn, CommunityBot, Mason Wheeler
typo fixed in title
Link
Tulains Córdova
  • 39.6k
  • 13
  • 102
  • 157

Is it normal that I can't keep in my head more than theethree bugs assigned to me, nor can I understand a thousand lines of spaghetti code?

Post Closed as "not a real question" by ozz, gnat, Martijn Pieters, Dynamic, Robert Harvey
grammatical changes while maintaing the spirit of the question; please feel free to rollback if you disagree.
Source Link
user53019
user53019

Is it normal that I can't keep in my head more than thee bugs assigned to me, nor can I understand a thousand-lines lines of spaghetti code?

I'm working on an old codebase which is... not perfect, in an environment which is neitherisn't either. It's not the most terribleworst codebase I've seen in my life, but there are still lots of issues: zero unit tests,tests; methods with thousand and morethousand+ lines of code within it,code; misunderstanding of basic object oriented principles,principles; etc.

I have much pain maintainingIt hurts to maintain the code.

  1. Every time I have to debug a thousand-lines lines of a badly-written written method with variables reused all aroundover, I'm totally lost.
  2. Some modifications or refactoring I've done introduced bugs in other places of the application, etc.
  3. With noLacking any documentation, tests and, or an observable architecture and combined with badly named methods, I feel that I filledfill up all of my available working memory and there. There is no room left over for all the other things I have to keep in memoryremember in order to understand the code I should modify.
  4. Constant interruptions at the workplace disturb me and slow me down.
  5. I can't remember more than two or three tasks at a time without a bug tracking system, and I forget all of them duringover the weekend.

My colleagues don't seem to have similar issues.

  1. They achievemanage to debug badly written methods much faster than Ime.
  2. They introduce lessfewer bugs than I do when changing the codebase.
  3. They seem to remember very well all they need to in order to change the code, even when it requires reading thousands of lines of code in twenty different files.
  4. They don't lookappear to be disturbed by emails, ringing phones, people talking all around, and other people asking them questions.
  5. They don't want to use athe bug tracking system (that theythat we already have, since we use TFS), preferring. They prefer to just remember every task they should do.

Why does thatthis happen? Is it a particular skill developers acquire when working with badly written code for a long time and to the fact that I have no enough? Does my relative lack of experience with bad code contribute to these problems / feelings? Do I have issues with my memory?

Is it normal that I can't keep in my head more than thee bugs assigned to me, nor can I understand a thousand-lines spaghetti code?

I'm working on an old codebase which is... not perfect, in an environment which is neither. It's not the most terrible codebase I've seen in my life, but there are still lots of issues: zero unit tests, methods with thousand and more lines of code within it, misunderstanding of basic object oriented principles, etc.

I have much pain maintaining the code.

  1. Every time I have to debug a thousand-lines badly-written method with variables reused all around, I'm totally lost.
  2. Some modifications or refactoring I've done introduced bugs in other places of the application, etc.
  3. With no documentation, tests and architecture and badly named methods, I feel that I filled all my available working memory and there is no room for all the other things I have to keep in memory in order to understand the code I should modify.
  4. Constant interruptions at the workplace disturb me and slow me down.
  5. I can't remember more than two or three tasks without a bug tracking system, and I forget all of them during weekend.

My colleagues don't seem to have similar issues.

  1. They achieve to debug badly written methods much faster than I.
  2. They introduce less bugs than I when changing the codebase.
  3. They seem to remember very well all they need to change the code, even when it requires reading thousands of lines of code in twenty different files.
  4. They don't look disturbed by emails, ringing phones, people talking all around and other people asking them questions.
  5. They don't want to use a bug tracking system (that they already have, since we use TFS), preferring to remember every task they should do.

Why does that happen? Is it a particular skill developers acquire when working with badly written code for a long time and to the fact that I have no enough experience with bad code? Do I have issues with my memory?

Is it normal that I can't keep in my head more than thee bugs assigned to me, nor can I understand a thousand lines of spaghetti code?

I'm working on an old codebase which is... not perfect, in an environment which isn't either. It's not the worst codebase I've seen in my life, but there are still lots of issues: zero unit tests; methods with thousand+ lines of code; misunderstanding of basic object oriented principles; etc.

It hurts to maintain the code.

  1. Every time I have to debug a thousand lines of a badly written method with variables reused all over, I'm totally lost.
  2. Some modifications or refactoring I've done introduced bugs in other places of the application.
  3. Lacking any documentation, tests, or an observable architecture and combined with badly named methods, I feel that I fill up all of my available working memory. There is no room left over for all the other things I have to remember in order to understand the code I should modify.
  4. Constant interruptions at the workplace disturb me and slow me down.
  5. I can't remember more than two or three tasks at a time without a bug tracking system, and I forget all of them over the weekend.

My colleagues don't seem to have similar issues.

  1. They manage to debug badly written methods much faster than me.
  2. They introduce fewer bugs than I do when changing the codebase.
  3. They seem to remember very well all they need to in order to change the code, even when it requires reading thousands of lines of code in twenty different files.
  4. They don't appear to be disturbed by emails, ringing phones, people talking all around, and other people asking them questions.
  5. They don't want to use the bug tracking system that we already have since we use TFS. They prefer to just remember every task they should do.

Why does this happen? Is it a particular skill developers acquire when working with badly written code for a long time? Does my relative lack of experience with bad code contribute to these problems / feelings? Do I have issues with my memory?

Source Link
Arseni Mourzenko
  • 139.5k
  • 32
  • 360
  • 544
Loading