News for hackers. Stuff that matters.
Re:What Makes a Great Software Engineer? Just My Thoughts by andreygrehov on Saturday July 09, 2016 @12:54PM (#12062172)
This is not entirely true. It depends on the language, but the definition of executeAfter for the most of dynamic languages would be something like

  public function executeAfter($seconds)
This code does not guarantee that the value of $seconds is correct, whereas this:

  public function executeAfter(Time $time)
...will help engineer to not make silly mistakes.

It definitely depends on the language, but I personally like self-explanatory code and tend to think that inlined comments should only describe things that require explanation, such as complex logic.

There are no comments on this comment yet.