[Info-vax] Coding with/without RDBMS

Dave Froble davef at tsoft-inc.com
Fri Oct 15 14:35:00 EDT 2021


On 10/15/2021 12:29 PM, Bill Gunshannon wrote:
> On 10/15/21 2:03 AM, Phillip Helbig (undress to reply) wrote:
>> In article <6168b9b9$0$700$14726298 at news.sunsite.dk>, =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne at vajhoej.dk> writes:
>>> On 10/14/2021 3:42 PM, Dave Froble wrote:
>>>> On 10/14/2021 2:36 PM, Arne VajhÞj wrote:
>>>>> On 10/14/2021 2:06 PM, Simon Clubley wrote:
>>>>>> BTW, Basic really does like spewing its special characters onto the
>>>>>> end of variable references. :-)
>>>
>>>> Basic can be very happy to let the programmer specify that all variables
>>>> must be declared.  Then variable names can be whatever they are declared
>>>> to be.  Frankly, I see no decent reason to do all that typing when the
>>>> compiler can do a much better job than any programmer.  One just needs to
>>>> give it some hints.  I learned the variable suffex stuff long ago, and
>>>> it's just natural to me.  Just as conventions in another language might
>>>> be natural to someone used to that language.
>>>
>>> Having variable type determined by variable name is definitely
>>> out of fashion. The only other language i know doing that is
>>> Fortran (Fortran is first letter while Basic is suffix but
>>> same concept).
>>>
>>> But type inference is definitely in fashion.
>>>
>>> var v = 123
>>>
>>> instead of:
>>>
>>> int v = 123
>>>
>>> and:
>>>
>>> var v = "ABC"
>>>
>>> instead of:
>>>
>>> String v = "ABC"
>>>
>>> And for those that does not use languages less than 30 years
>>> old: var means "dear compiler give this variable type based on
>>> right hand side" not "I want to be able to assign anything to this
>>> variable".
>>
>> In Fortran, the implicit typing is only for INTEGER and REAL; it doesn't
>> work for other data types.
>>
>
> Relying on anything IMPLICIT is just bad programming practice.
> I thought the languages settled that decades ago.
>
> bill
>

That's your opinion Bill, and perhaps the opinion of some others.  I'm allowed
to have contrary opinions, and I do.  Doesn't that make me right, and the rest
of you wrong?

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486



More information about the Info-vax mailing list