Quote:
Originally Posted by TheIrishThug
This is one of the most valuable lessons you can learn. Writing code is not that difficult, but writing/fixing code that works with other code you didn't write can be very complicated. Most good programing practices are based of the fact that someone that isn't you will likely have to read the code in the future and try to get it to work.
Yeah. I always attempt to make my code super clean and logical.
But even so. While overhauling the site, I was shamed to see how much was in there that didn't need to be there, or was from earlier thoughts I forgot to take out when I rearranged things.
I had a large group of class id's that had nothing to do with the layout of the page, nothing to do with the CSS, and really had nothing to do with anything remotely close to logical. I just forgot to erase the stuff I was thinking about.
Quote:
Originally Posted by ArturiusX
Even if it is you. If I have looked at a function for a month, then come back to it, I'm always puzzled by what the hell I was thinking.
haha.
I get confused when I look at the basic stuff I do that isn't real programming. I hate to see the day I try to go back and look at stuff like this.