Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Lines of Code
#19
To me the Lines of Code dilemma also applies to making a subroutine

A choice between
1. an Swiss Army Knife thats trys to do everything with a host of parameters maybe even a Type Structure to handle the mass of incoming arguments
2. And a single blade knife that gets one job done with laser like precsion.

I tend to favor the later and the former come from my keyboard when I am sitting around theorizing all the things that SHOULD be included in this ideal routine that will supposedly cover all the bases.

Consider specifically the readability of the two ways to go. Also of consideration, is the routine for this app only or something I want to port to other apps?
b = b + ...
Reply


Messages In This Thread
[split] Lines of Code - by bplus - 01-20-2025, 05:13 PM
RE: [split] Lines of Code - by bplus - 01-20-2025, 11:05 PM
RE: [split] Lines of Code - by SpriggsySpriggs - 01-21-2025, 03:02 AM
RE: [split] Lines of Code - by Pete - 01-21-2025, 07:34 AM
RE: [split] Lines of Code - by mdijkens - 01-21-2025, 10:07 AM
RE: [split] Lines of Code - by SMcNeill - 01-21-2025, 02:37 PM
RE: [split] Lines of Code - by mdijkens - 01-21-2025, 03:04 PM
RE: [split] Lines of Code - by SpriggsySpriggs - 01-21-2025, 03:17 PM
RE: [split] Lines of Code - by dano - 01-25-2025, 04:08 PM
RE: [split] Lines of Code - by Pete - 01-21-2025, 04:26 PM
RE: [split] Lines of Code - by Jack002 - 01-22-2025, 03:19 AM
RE: [split] Lines of Code - by bplus - 01-22-2025, 12:10 PM
RE: [split] Lines of Code - by Pete - 01-25-2025, 05:11 PM



Users browsing this thread: 1 Guest(s)