3 ms·
As a German I totally agree with teutonic naming. Who doesn't love words like "Umsatzsteuervoranmeldung". However, I disagree with the chapter "Remove Thoughtl
by maxxxxx 11y ago
As a German I totally agree with teutonic naming. Who doesn't love words like "Umsatzsteuervoranmeldung".
However, I disagree with the chapter "Remove Thoughtless One-Time Variables". I much prefer having a variable I can check in the debugger than having the result of some function passed into another function without being able to see what the value is. Any halfways good optimizer will remove the varibale anyway so there is no performance hit.
- rootlocus 11y agoIf the function doesn't have side effects (and even if it does), the IntelliJ IDEA debugger will gladly evaluate the function call and show you its result for java applications. PyCharm can also do this for python.
- maxxxxx 11y agoThe Visual Studio debugger can do that too but that works for only for functions without side effects that can be executed repeatedly. This is often not the case.