The Hall Of Code Curiosities
I just stumbled over this code (simplified for presentation purposes):
$CssClass = 'Button Action Big Primary'; $Css = 'Button Primary Action NewPoll'; $Css .= strpos($CssClass, 'Big') !== FALSE ? ' BigButton' : ''; echo ButtonGroup($this->Buttons, $Css, $this->DefaultButton);
This summarizes my experience with the Vanilla codebase today quite well .
Let us collect more such snippets! This lighthearted thread shall be the much needed place to vent our experiences with the code we love .