3 ms·
I may be just a bit tired right now but I had to keep nipping to the top of the article to remind myself which was foo and which was bar. There are good times
by AndrewOMartin 11y ago
I may be just a bit tired right now but I had to keep nipping to the top of the article to remind myself which was foo and which was bar.
There are good times to use foo and bar, rather than more self-documenting style placeholder names, but this was not one of them for me.
- xahrepap 11y agoI had the same problem. My first thought was, why can't we just name them something like 'dependency' and 'app' or whatever. So much clearer.
- rprospero 11y agoSimilarly, the author's definition of foo.py does not seem to actually define functions d, e, and f as referred to the traceback. That confused me for a bit.