Re: Per the discussions of Software Engineering




"John Larkin" <jjlarkin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:joqk23ljm150epnrep40lgt497gnstufus@xxxxxxxxxx
On Sat, 21 Apr 2007 17:19:03 GMT, "Robert" <Robert@xxxxxxxxx> wrote:

The best Programming Language to start with:

http://www.shlomifish.org/philosophy/computers/education/introductory-language/

Robert


This makes no sense to me:

"The reason for that is that people who dive right into Assembly, tend
to write sub-optimal code because they don't understand well how this
code is executed by the processor and how to compile it. This is while
programmers who've learned C are better equipped to understand how
Assembly code works, because it is somewhat more convenient yet still
very close to Assembly."

Actually, programmers who've learned assembler are better equipped to
understand how C works.

Someone technically oriented could well start with assembly on a good
architecture (which qualification immediately excludes all Intel
products.) I can't see how learning C first helps. They should be
*taught* good assembly programming technique (data types, indexing on
structures, bare-metal binary math concepts, general organization,
commenting) so they don't grow their own bad habits, just like
teaching tennis or skiing.

I started-out programming in BASIC and 6502 machine code on a Commodore PET.
By the time I went to university, I was quite an accomplished spaghetti
programmer. At college, they taught us structured programming in PASCAL.
My BASIC and machine code were much better organised after that. I just
needed a little pointer in the right direction to correct my self-taught bad
habits.


.



Relevant Pages

  • Re: Evolution
    ... >> it different from HLL programming? ... inline assembler and larger parts by linking to an assembler ... the macro is from a macro library which you have written a long ... or two instructions if you ...
    (alt.lang.asm)
  • Re: HLA Stdlib v2.2 is now available.
    ... Its a generalization of the whole asm community based on the results of a single man. ... You dont get it. ... Because it is an assembler, and a very good one, showing the way for other spesific assemblers. ... As they both are needed for doing programming, I see no reason to seperate them. ...
    (alt.lang.asm)
  • Re: "We Never Use Assembly Language"
    ... Use an array incorrectly in RosAsm, ... And that's one of the reasons HLL programming is generally more ... same applies to assembler speed. ...
    (alt.lang.asm)
  • Re: Aspiring highest-order programmer
    ... > programming and not just subscribe myself to the one sole doctrine language, ... > have an assembly code stage before they become machine code? ... > is to understand assembly language. ... language and then assembler and only then high level language. ...
    (comp.programming)
  • Re: Future of programming
    ... > programming evolution, and no mention of software evolution. ... Being able to code in OOP in assembler, ... > My point, is that the syntax of machine code ops, represented by binary, ...
    (alt.lang.asm)