3 ms·
Worked at a place where there was a 'genius' (knew him before I worked there - not a dumb guy, really) who had written some really .. bizarre AOP-style stuff in
by mgkimsal 10y ago
Worked at a place where there was a 'genius' (knew him before I worked there - not a dumb guy, really) who had written some really .. bizarre AOP-style stuff in PHP4. Not AOP extensions, just... a whole lot of stuff trying to approximate AOP, but no one knew the term AOP or what it was good for. (aside: it was interesting intellectually to walk through, but was not anything that should have been used for production code. also, he didn't label himself a genius, but did have a somewhat overinflated view of how good his code was).
Anyway, he was rarely in meetings, but a couple of folks who glommed on to him early on would extol the virtues of his 'framework'.
"You know how some people are just so smart that they can't even explain their work, cause it's so beyond everyone's ability to understand it? That's who he is, and that's what we have!" This was said to me at least once, and repeated variations of it in a couple other meetings. And it was said with pride/admiration/awe, about how awesome it was.
I countered with "if you can't understand it, and he can't explain it, he's the only one who can do anything with it, and you can't really verify if it's doing what you want/need, so how is this remotely 'good' by any metric you use for any other software in this department?"
"You just don't understand how amazing this is, and what we're able to do with it" was the response.
I distanced myself from it, but was then tasked with having to build on top of the 'web framework'. And discovered it had no support for web sessions. Or security. Or database connectivity. It was literally just mapping an incoming web request to a file, while taking a logging token from a cookie and sending it to a third server for logging activity. Given the AOP-esque nature... I had a bit of a hard time trying to figure out just where I'd actually add any sort of session management, and when I asked for someone (original author maybe?) to add this in because I couldn't figure out how to do it, but needed it, I was 'aggressive' and 'not a team player'. Ugh...
EDIT: when I read dailywtf stuff, I sometimes doubt the dramatizations, then I remember back to my days on this project, and ... have to recognize there's probably very little embellishment.