DEV Community

Discussion on: What's the Wackiest Coding Hack You've Ever Seen?

Collapse
 
iamschulz profile image
Daniel Schulz

Probably the classic clear fix

Collapse
 
thumbone profile image
Bernd Wechner

I'm with you on that. Whackiest not by its nature so much as the fact that it fulfilled such a ubiquitous need for so long before the language deigned to provide more logical solutions, even then I don't think it's been killed off completely yet.

Collapse
 
kvapt profile image
Igor Diev • Edited

I've used it while working as a frontend-developer back in 2009. And you know, in 2009 I really thought, that I've invented this trickπŸ€·β€β™‚οΈ I didn't know, that the others do the sameπŸ˜