WordPress receives a lot of flak for the state its code is in. I was doing some research on Themeosis for an upcoming article and bumped into an article. The author said:
My dislike of WordPress is no secret. I look down on its mess of a code base, and advise anyone with any technical knowhow whatsoever against using it.
Is the situation that dire? Is the WordPress core code really so atrocious that you should steer clear altogether and use something else for your project? In this article I’ll take a look at the issue and help pour some clarity on it.
What Is Bad Code?
I think the fundamental issue is that noone really says what bad and messy code is. On paper something like “messy code” sounds horrible, but does a casual reader know what that means? More importantly, does she/he care?
As always, there is a little more to it than that. There are a few properties that could make code “bad”, here are just a few:
Unoptimized code which performs slowly compared to optimized code
Mixing coding styles within a project
Spaghetti code which can only be understood by the author
Unextendable that doesn’t play nice with others
WordPress is indeed guilty of one and a half of these. The coding style #wordpress #smallbusiness #entrepreneur
https://managewp.org/articles/11602/is-wordpress-code-really-a-mess
No comments:
Post a Comment