I’m pretty happy that I’m working 32 hours, because even with one day extra off a week, I still seem to have too little time to do everything I’d like to do :O I regret to say that I haven’t drawn a lot lately, except for this doodle of a duck with square spots looking very surprised about two little ducks playing tic-tac-toe on its egg…. :S 😉
<HTML/CSS sidetrack> Oh, I admit, my HTML and CSS skills are not that great (I’m still learning), but there is hardly anything like “performance” in that area (interesting read on id’s and classes in CSS), although much could be gained when more attention would be paid to reusability and maintainability. I’ve spent quite some time trying to fix CSS that didn’t render correctly in Firefox and I needed to use quite a lot of hacks to get it to work in Firefox AND still display correctly in IE. But besides those fixes every now and then, I can live with CSS not being reusable. Most CSS as it stands now isn’t and trying to make it reusable would require quite a lot of best-practices to be invented first. In the future I would like to try out OOCSS (OOCSS.org/OOCSS on Github) to see if it is applicable at my job.</sidetrack>
The rest… well, just let me show you some stuff and see if it makes you cringe 😉
Rebel Abstraction without a cause
Not only could we abstract from that expression, it goes wrong when the number is 0…
Styling in the code
String to array, reverse, to string, replace, to array, reverse, to string…..
Makes you want to sit in a corner, laugh hysterically and rock back and forth in a white fluffy coat, doesn’t it?
Uncommented chunks of code from a previous project
And this one is the best of all:
This stuff is great for my self-esteem, I tell ya… I haven’t seen another colleague’s code yet, but after he said “This is why we hired you” you can imagine how that made me feel 🙂