3 ms·
And you will have disgusted half of the class from programming by the end of your first assembler lecture. Something similar happened to me in a general engine
by cm2187 8y ago
And you will have disgusted half of the class from programming by the end of your first assembler lecture.
Something similar happened to me in a general engineering curriculum where our introduction to programming was in C on some old unix machines that were already already very obsolete (as of end of 90s), with no more IDE or debugger than the equivalent of notepad and debug by printf. I thought it was interesting but too tedious for my taste (I had never heard of IDEs and debuggers).
It's only years later that I went back to programming, from higher level languages, and progressively making my way into more sophisticated / lower level languages.
You don't teach kids math by starting with topology. Most 1st year university students will have never programmed in their life (particularly if all they dealt in their life was smartphones and tablets).
- enriquto 8y agoI did not say that you start programming in assembler. I just said that it is better to learn some assembler first if you need to learn C.
- dgacmu 8y agoWe (CMU) respectfully disagree, and we turn out some damn fine programmers. Python -> A restricted C subset ; standard ML -> asm Teaching fun and power first is good for engagement. Teaching how to think and structure is good for later asm experience so people have an existing concept of how to turn problems into solutions in code.
- golergka 8y ago> Most 1st year university students will have never programmed in their life What? That's completely untypical for me - I would expect that in a university with decent admission competition (don't know how these things work in US exactly) students that get in know at least a couple of high-level programming languages in addition to taking part in programming competition and general geekiness like brainfuck.
- cm2187 8y agoFor kids straight out of high school? Some certainly will. But many are just good students who are going for a general college degree with a major in computer science.
- joppy 8y agoThe point of university is to learn, not to already know the course content by the time you get there. Plenty of high-school students may not have taken any computer science subjects during school, but may wish to get a degree in computer science. Universities with decent admission competition value well-rounded, high-achieving students. Such students are involved in a lot of co-curricular activities, may take many subjects, and have broad interests. It's perfectly reasonable to expect that they simply never had the time to learn multiple programming languages and compete in programming competitions, in addition to whatever else they do.
- userbinator 8y agoAnd you will have disgusted half of the class from programming by the end of your first assembler lecture. IMHO that's a major part of the problem. Somehow Asm turned into something horrible to avoid, instead of being the crucial understanding that makes everything else fall into place. I have an engineering textbook from the mid 60s. There is an entire chapter on how computers work and how to program them (in Asm!) to solve numerical problems. The audience of this book was not computer scientists/specialists, but just engineers in general. Two decades later, computer magazines --- not "developer-oriented", just "user" or perhaps "power user" --- had Asm listings of simple (sub-512-byte binary) and useful utilities for readers to manually enter, use, and modify. Another two decades later, and the programmers today barely understand binary nor Asm, despite the concepts being so ridiculously simple. A computer is a machine that executes instructions step-by-step, and nothing evokes than more clearly than an Asm listing. An HLL with all its nested structure doesn't convey the same "it's just a list of instructions" to the beginner. I thought it was interesting but too tedious for my taste "Genius is 1% inspiration and 99% perspiration." You don't teach kids math by starting with topology. Most 1st year university students will have never programmed in their life (particularly if all they dealt in their life was smartphones and tablets) Starting with Asm is like learning arithmetic. Starting with a HLL is like teaching calculus to students who don't know arithmetic by giving them calculators. I've worked with a lot of both "new-school" and "old-school" developers over the years, and there's a large contrast between them: the former group is heavily reliant on tooling, tends to make many localised changes to "fix" things without considering the whole picture (causing more problems later), and get stuck easily when debugging. The latter tend to adopt a more methodical approach to problem-solving, and while they don't appear to be doing as much interaction with the computer, are overall more productive.
- deleted 8y ago[deleted]
- pjc50 8y agoAs I'm reminded every time someone mentions Lisp or Forth, it seems that different people prefer very different "intuitive" representations of programming. Bottom-up from assembler is one of those. It suits some people very well and others not at all.
- sandov 8y ago>Something similar happened to me in a general engineering curriculum... The implicit context is that we are talking about fields that need to understand programming at a low level: Computer Science, Computer engineering, Software Engineering, Electrical engineering. There is no point in a Chemical Engineer programming in asm. Just throw some python and R at him so he understands the basic concepts. But for the fields that need to understand computers at a low level, I would expect enthusiasm from the student to understand how it all works.