× 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.



No - I simply meant that Henrik's examples did not provide any explicit type information and that in a language that requires variables to be defined and typed they did not make much sense as a comparison.

And I didn't draw a comparison between the D-spec and C-spec. Simply meant that it was nasty habit that we were well shot of.

You're making a far more sophisticated argument than I ever intended.

As Brian also pointed out - while Henrik is entitled to his opinion - at least two people on this list who spend a lot of time training non-RPGers in the language have found that students find the dcl style syntax way easier than the old D-spec. Period. End of story.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Mar 18, 2017, at 4:16 PM, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:

On Sat, Mar 18, 2017 at 2:30 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
No - because RPG requires strongly typed data declarations - we did aways with the crap about creating fields in the calcs years ago.

There's some variation on what the term "strong" typing means, but I'm
not sure I'm following. In what sense are D-spec declarations
(free-form or not) "strong" while C-spec ones are not?

I would say D-spec declarations provide more organization and are
arguably more readable than C-spec declarations, but both are examples
of *static* type declarations. Maybe you mean D-spec declarations
offer the capability to define *structured* data?

John Y.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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


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.