News for hackers. Stuff that matters.
Re:The 80/24 Rule by VBprogrammer on Friday November 15, 2019 @03:58AM (#21543371)
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.
Re:The 80/24 Rule by davvolun on Friday November 15, 2019 @11:35AM (#21546244)
Pretty sure VBprogrammer knows what they're talking about here....
Re:The 80/24 Rule by VBprogrammer on Friday November 15, 2019 @11:47AM (#21546343)
Meh. 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.

Re:The 80/24 Rule by davvolun on Friday November 15, 2019 @02:33PM (#21547976)
I 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.
Re:The 80/24 Rule by VBprogrammer on Friday November 15, 2019 @04:19PM (#21548869)
I get you! Apologies if what I said came across negatively.
Re:The 80/24 Rule by stoksc on Sunday November 17, 2019 @07:11AM (#21557596)
I think it was the italics that did it.