Hacker News new | ask | show | jobs
by kilotaras 3362 days ago
I once saw python code

    if 'i_know_what_im_doing' not in kwargs:
       raise ...
2 comments

JUnit ships with this method:

  void _dont_implement_Matcher___instead_extend_BaseMatcher_()
I know this because I wrote it.

If you're interested in why: https://www.reddit.com/r/programming/comments/nlt5x/i_believ...

    that_function(i_know_what_im_doing=False)
In a twisted kind of way, I'd call that a feature.

If you're aware you don't know what you're doing, but still want to do it, that's kind of ok. Problem is when you're not even aware you're about to jump into some pretty hot water.