[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Refactor a block of Lua code to a function
- From: Jim <sysinit@...>
- Date: Fri, 28 Jun 2019 14:49:22 +0200
28.06.2019, 02:44, "Tim Hill" <drtimhill@gmail.com>:
> Knowing when to break up a function falls into the “art”
> side of good software development
indeed. i am also not very good at it, but i guess better
refactoring into functions/procedures comes with more experience.
stack based languages "enforce" such an approach in order
to keep "words" short and easier to follow and understand.
but having large functions/procedures at the beginning seems
quite normal when following the procedural approach of structured
programming.
i wonder how this outdated procedural debates fit in the world
of OO ? isn't such an outdated paradigm more the approach
only old grumpy luddites would choose voluntarily ?