What's the worst technical misunderstanding you've ever seen? Worst abuse of a good system due to lack of knowledge?
Edit: The programming gods have let me know that you will be absolved for all sins you confess here!
What's the worst technical misunderstanding you've ever seen? Worst abuse of a good system due to lack of knowledge?
Edit: The programming gods have let me know that you will be absolved for all sins you confess here!
When I was teaching myself to program years ago I wrote an entire php web application without a single function. All code reuse was done by calling include(...) on other .php scripts. The book I was learning from never introduced the concept of user defined functions. (The day I learned about functions was a very good day.)
Polymorphism.
Didn't really understand it's power at first. Resulted into bloated, and over complicated routines. Boy, try not to remember those days...
The worst i've ever done was storing comma seperated ids in a database. I did not fully understand joins so it was the easiest thing i could do but the queries where horrible
(WHERE foo_ids LIKE "%,$id,%" OR foo_ids LIKE "$id,%" OR foo_ids LIKE "%,$id").
The worst thing i regularly see are classes that just work like namespaces with all methods public static (PHP).
EDIT:
I just remembered the time when a school mate tried to create an XML file for a database table
Table:
teacher_id | name
1 | foo
2 | bar
... | ...
His XML:
<teachers>
<id1>foo</id1>
<id2>bar</id2>
....
</teachers>
Some Java - "developer" (lol) trying to write a piece of software in C#, not knowing that this is a modern language with a "foreach" - statement.
Result:
Software had iterations using... iterators. Ugly, 90s style, typical of Java.
Made me hate Java even more. :-(
A colleage and I worked as consultants on a medium software project. He'd been working for a year on similar projects, so he was billed to the client as an "expert" on the platform.
Soon I discovered that my colleage didn't fully understood the fine points of file I/O on the language we were using, consequently leaving lots of subtle bugs. The funny thing is, all his previous projects had the same subtle bugs but the clients learned to use the system in ways that didn't trigger them.