Feature: Code clean-up
Developer: Nao
Target: modders, geeks
Status: 80% (I fix stuff when it hurts my eyes. Most of it is done though.)
Comment:
They say beauty is in the eye of the beholder. Let's be clear, the SMF codebase would already enchant any given geeky beholder. Really. Just have a look at any other popular forum/blog platforms. Their PHP, HTML, CSS and JS are often at best acceptable, at worst unreadable. Wordpress says that coding is art. Well, if you looked into their code, you'd swear they meant talking about modern art.
SMF doesn't have this problem, because it's been mostly maintained by anal-retentive genius coders. Only problem -- I'm even more anal-retentive than they are. So, every time I find some code that I feel is sub-standard, I'll just rewrite it. Sometimes the code is micro-optimized in the process, mostly it's just prettified.
Some changes are project-wide (making sure that all files are saved in LF format as opposed to CRLF, removing useless {} or extra tabs in empty lines or at the end of lines), most are way more specific. Let's not delve into that too much. You might find I'm a bit crazy in that area. I changed thousands of lines just because they looked ugly to me.
(And that concludes this feature set -- for now!)
Developer: Nao
Target: modders, geeks
Status: 80% (I fix stuff when it hurts my eyes. Most of it is done though.)
Comment:
They say beauty is in the eye of the beholder. Let's be clear, the SMF codebase would already enchant any given geeky beholder. Really. Just have a look at any other popular forum/blog platforms. Their PHP, HTML, CSS and JS are often at best acceptable, at worst unreadable. Wordpress says that coding is art. Well, if you looked into their code, you'd swear they meant talking about modern art.
SMF doesn't have this problem, because it's been mostly maintained by anal-retentive genius coders. Only problem -- I'm even more anal-retentive than they are. So, every time I find some code that I feel is sub-standard, I'll just rewrite it. Sometimes the code is micro-optimized in the process, mostly it's just prettified.
Some changes are project-wide (making sure that all files are saved in LF format as opposed to CRLF, removing useless {} or extra tabs in empty lines or at the end of lines), most are way more specific. Let's not delve into that too much. You might find I'm a bit crazy in that area. I changed thousands of lines just because they looked ugly to me.
(And that concludes this feature set -- for now!)