Quickie: KISSing is for the experienced
Posted by Felix Geisendörfer, 2 days, 5 hours ago - in Quickies
If you are new to a programming language, forget about the KISS principle. Experiment with crazy & complex code.
This might not be obvious but a conversation with somebody on #jquery today made this very clear to me. Trying to apply KISS when getting into a new technology is STUPID. Writing the most succinct and simple code is only possible if you know all nuances of what you are working with. Otherwise your simplicity will be based on wrong assumptions and lead to buggy code.
A prime example for PHP developers learning JavaScript:
-
var isEmpty = [];
-
if (isEmpty) {
-
// You are not ready for your first KISS : )
-
}
(JavaScript type juggles empty objects / arrays to true in a boolean context)


Felix - thanks for sharing... One question from a Cake newbie. The API seems to work for me,...
Good job! Congratulations.
Thanks for share this app.
Well maybe Tarique is right and I should have tried KISSing before screwing ; ). But I think all...
Try KISSing before screwing - Sorry could not resist ;) but jokes apart if you strive to stick...
hehe... nice title.