11

Solved a problem while maintaining backward compatibility using reflection... Then i had to spend half an hour to justify using reflection.

Reflection is your friend (just don't overuse it)

Comments
  • 3
    Agree.

    "We should not use x, it's too slow."
    "So, how long does it take?"
    "Errrr,... dis errr.. eh"
    "Is it 0.5 milliseconds, or closer to a second?"
    "I don't really, i guess..."
    "How often is it called?"
    "I don't know the exact value..."
    "15 times per second or closer to once or twice a day when the app is startet?"

    Yeah i know, reflection is slow, runtimes are slow, garbage collection is slow, jit-compiling is slow. "Common knowledge" my ass.
  • 3
    Moral of the story: never overuse your friends.
  • 1
    @shellbug totally lol
Add Comment