I'm sure this is a problem with all code, although some languages give a lot more structure than others, which probably reduces the problem.
Today, my query / rant is about PHP code in open source projects. I'm not a programmer day to day, but I do tweak things on a regular basis in a fair number of languages at one time or another (qbasic originally, nowadays mostly Lisp, Python and PHP. What strikes me is how differently different projects approach similar problems. Templating, Writing modules (plugins, extensions, whatever you want to call them), modifying ad extending the software takes completely different paths in each project.
I can understand that conceptually different projects approach things in different ways and that many large projects have experienced complex birth processes. However, I feel that when I move from one project to another I'm having to re-learn far more than I should need to in terms of how they approach things, how they decide to save customisations etc.
Examples that I'm basing it on (at this stage) would include Wordpress, Drupal and Suite CRM (a Sugar CRM fork). They all use a common programming language, but from there onwards, the approach to everything seems so different. Surely there is scope for modularising projects far more - to take some work off the mundane operations (such as updating the core - something that follows a different process in each of the above examples) and leaves programmers free to work on the more interesting aspects of it.
I like to imagine that there is some progress in this field and to an extent there is with e.g. common libraries for Wysiwyg editors such as FCK etc. There still seem to be far more differences than common ground however in the way things are approached.
Today, my query / rant is about PHP code in open source projects. I'm not a programmer day to day, but I do tweak things on a regular basis in a fair number of languages at one time or another (qbasic originally, nowadays mostly Lisp, Python and PHP. What strikes me is how differently different projects approach similar problems. Templating, Writing modules (plugins, extensions, whatever you want to call them), modifying ad extending the software takes completely different paths in each project.
I can understand that conceptually different projects approach things in different ways and that many large projects have experienced complex birth processes. However, I feel that when I move from one project to another I'm having to re-learn far more than I should need to in terms of how they approach things, how they decide to save customisations etc.
Examples that I'm basing it on (at this stage) would include Wordpress, Drupal and Suite CRM (a Sugar CRM fork). They all use a common programming language, but from there onwards, the approach to everything seems so different. Surely there is scope for modularising projects far more - to take some work off the mundane operations (such as updating the core - something that follows a different process in each of the above examples) and leaves programmers free to work on the more interesting aspects of it.
I like to imagine that there is some progress in this field and to an extent there is with e.g. common libraries for Wysiwyg editors such as FCK etc. There still seem to be far more differences than common ground however in the way things are approached.