Today I Learned - Rocky Kev

Tagged “97things”

  1. TIL the Singleton Pattern is hotly debated

    Singleton Pattern is useful when exactly one object is needed to be used as a global instance to coordinate across the system. But it got problems.

  2. TIL The Single Responsibility Principle

    Gather together those things that change for the same reason, and separate those things that change for different reasons... if it makes sense.

  3. TIL KISS (Keep it simple stupid)

    I'm a fan of Keep it Stupidly Simple (KISS) (There's other ways to interpret the the last part).

  4. TIL the value of a good comment

    Inside your code should be explanations about what the code is supposed to be doing. On the other hand, you can go too far in your commenting. Make sure that your comments clarify your code but do not obscure it.

See all tags.