Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Pretty sure VBprogrammer knows what they're talking about here....


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.


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.


I get you! Apologies if what I said came across negatively.


I think it was the italics that did it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: