3 ms·
The "I Point the Finger at You, I Have Already Pointed it At Myself" section calls me out for sure… I personally have to live with the shame of a very clea
by cemerick 15y ago
The "I Point the Finger at You, I Have Already Pointed it At Myself" section calls me out for sure…
I personally have to live with the shame of a very clear and vivid memory
wherein I circled objects that covered nearly four sheets of this paper
and wrote, in my own hand and with a clear-head: "A good candidate for an
abstract factory! :)"
Eventually I realized that the emoticon was mocking me. Laughing at my
presumptuousness, laughing at my premature optimization.
10-12 years ago, I was that guy trying to spot "patterns". Ugh. Hopefully my Clojure hacking will tip my karmic balance back to neutral.
- babebridou 15y agoI've got a serious mental contingency bomb setup to explode whenever my mind wanders and thinks about reflection. I think about it, the bomb explodes, I stand up and go for a walk and when I come back the whole thought process that lead me to consider reflection is wiped clean, ready for a fresh redesign from scratch. It's not that I don't see value in Reflection, it's just that I'm sick of debugging it. Abstractfactories are not that bad, actually if you're in the habit (like me) to always step in and write an interface before you start any abstract, you pretty soon understand why it's a good or bad idea - interfaces of factories are so damn trivial that even an abstractfreak will see this as redundant work and will want to write an interface of this factory interface and then a factory interface factory through code injection, preferrably through annotations, but it could be from other means such as a properties file or xml configuration, so they think about a factory interface abstract factory (and of course its interface). By then, even the craziest persons give up and just do their job.