[ Home ] Passports | National Anthems in MP3 | Live chat

Live chat

News | Forum
 

Train Museum:

Warsaw, PolandSeoul, KoreaKyoto, Japan Forums: Rail UK, Rail Australia
Pictures: MoneyMonorailHong Kong light festival High speed trainQueen Elizabeth II in YokohamaTaro - Galapagos Tortoise



Subject: Re: Gizmos Posted on: Mon, 8 Feb 2010 08:09:58 -0500

Dan Abel wrote:
> In article ,
> "J. Clarke" wrote:
>
>> sf wrote:
>>> On Sat, 06 Feb 2010 08:38:28 -0800, Dan Abel
>>> wrote:
>>>
>>>> I remember my first computer program. I wrote it in Fortran II,
>>>> and it ran on an IBM 1130. That was in 1967.
>>>
>>> You didn't have to learn BASIC first?
>>
>> This notion of learing BASIC first is misguided--it teaches horrible
>> habits--at least the versions that were available in the late '60s
>> and early '70s did. When I was in school they started us on Fortran
>> and in the next course we got assembler. After that we could use
>> APL.
>
> BASIC is really pretty bad as far as teaching bad habits. However,
> Fortran is often worse. Assembly is probably worse. Never used APL.

At least with Fortran you don't have to do everything with GOTOs. With
Assembler you have to construct each branch explicitly--you learn what goes
on under the hood so to speak, but you're right as far as habits go--it's
very easy in assembler to find yourself in the middle of a plate of
spaghetti.

APL has such a heavy set of array manipulations built in that you seldom
need branching at all. The trouble with it is that if you get into the APL
mindset it becomes difficult to work in other languages until you've
constructed yourself a toolkit that emulates APL. It's also interpreted, so
you can use it as a desk calculator--one line of APL can do what hundreds of
lines of other languages can do, so it's an exceedingly powerful desk
calculator. A disadvantage of this is that it's easy to create write-only
code--code that is so compact and dense that nobody can figure out what it's
supposed to be doing, including you six months down the road.

This whole business of structured programming was very new when I was
learning--object oriented and event driven were simply unknown.

>> Later on the beginner course was Pascal then students moved on to C
>> and assembler.

1991617. Re: Your favorite brand of .... 1991617
1991618. Re: Quackery In Cooking 1991618
1991619. Re: ping Bob Muncie 1991619
1991620. Re: Quackery In Cooking 1991620
1991621. Re: OT - 26.5 Inches Here 1991621
1991622. Re: Sea salt fine grind 1991622
1991623. Re: Sea salt fine grind 1991623
1991624. Re: Your favorite brand of .... 1991624
1991625. Re: Quackery In Cooking 1991625
1991626. Re: :-( Just found a 12 yo bottle of Chardonnay 1991626
1991627. Re: Food for a long flight 1991627
1991628. Re: Sea salt fine grind 1991628
1991629. Re: Sea salt fine grind 1991629
1991631. Re: 12" of predicted pumpkin pie! 1991631
1991632. Re: Your favorite brand of .... 1991632
1991633. Re: :-( Just found a 12 yo bottle of Chardonnay 1991633
1991634. Re: Sea salt fine grind 1991634
1991635. Re: :-( Just found a 12 yo bottle of Chardonnay 1991635
1991636. Re: Your favorite brand of .... 1991636
1991637. Super Bowl Chat! 1991637