4 ms·
When I see a 100 line function it almost invariably is doing stuff at very different levels of abstraction. It's making DB calls here and API calls there; it's
by VBprogrammer 7y ago
When I see a 100 line function it almost invariably is doing stuff at very different levels of abstraction. It's making DB calls here and API calls there; it's handling flags to indicate the end of iteration; is dealing with some user set configuration there. Teasing these things out of the code can make it much clearer what's going on.
- davvolun 7y agoPretty sure VBprogrammer knows what they're talking about here....
- VBprogrammer 7y agoMeh. I've used the same handle online for more than 20 years. Why stop now. For most of the last 10 I've been working in Python.
- davvolun 7y agoI wasn't being sarcastic, I've seen exactly what you're talking about a lot in VB. Re-read it just now, and even I thought what I wrote kind of came off sarcastic.
- VBprogrammer 7y agoI get you! Apologies if what I said came across negatively.
- stoksc 7y agoI think it was the italics that did it.