× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



From your answer I think you do know very little about the cicle because:

You can do monolithic linear programs, the cycle does not lead to that, it the programmer's choice.

Hard to read for the people that do not know the cycle, otherwise there are easier to read and maintain.

In a cycle program you can use most new features of the language, BIF, calls, sub rutines, procedures, etc.

You can use the cycle for processing the "primary" file and chains or procedures for all the logic. The idea is to use only for programs where the cycle does what the application needs. A frequent example is printing reports with sub totals and total.


On 12/11/2016 09:23 AM, Joni V. wrote:
As a young one, the problem I have with cycle programs is not that I don't understand them or can't use them.

- They lead to monolithic programs

- Are harder to read

- More difficult to maintain

- Blocks the use of newer features

- The style of a cycle program is significantly different from linear programs.


So taking the arguments above into account, our more experienced / older technical experts agreed to disallow them in our coding standards.

I have seen one new cycle program in the last four years, it was a one-shot program for a migration of the database where almost all records from a file had to be updated. I have to admit it was very performant.

Joni
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx>
Sent: Sunday, December 11, 2016 12:46
To: Midrange Systems Technical Discussion
Subject: Re: Development Standards

On Sat, Dec 10, 2016 at 10:20 AM, Raul A Jager W <raul@xxxxxxxxxx> wrote:

If we, old ones, where able to learn it, the young should be able to. It
is a tool specially designed to generate reports, probably the best in the
industry, why not use it? The fact that other languages don't have it, is
a dis advantage that we do not need to copy.

Agree 100%. Take the "don't use the cycle" to it's logical conclusion and
you're saying "Don't use feature X because it's not available in every
language out there."

And no, the cycle is not the answer to every programming issue.



--


Jeff Crosby
VP Information Systems
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com<http://www.dilgardfoods.com>

The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD


-- Este e-mail fue enviado desde el Mail Server del diario ABC Color -- -- Verificado por Anti-Virus Corporativo Symantec --

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.