[sdiy] Programming Language Recommendation
Michael E Caloroso
mec.forumreader at gmail.com
Mon Dec 7 17:28:51 CET 2020
I'm a BTEE graduate, one of my classes was structured programming.
Language was Pascal. We were given an assignment to build a program
that converted resistor color codes to actual value. To my
instructor's disbelief I designed a converter using three lines of
code. I simply made a string array with the color codes in order, and
used the array index as the digit value & multiplier. Thus the color
code could be parsed and value computed in a single line. Even
without any formal programming education I already understood the
concept of indirect array indexing and compound statements.
That intuition helped when I studied microprocessors and assembly language.
I have to say that assembly programming did make it easier to learn C.
C is still my favorite language.
On 12/7/20, Roman Sowa <modular at go2.pl> wrote:
> W dniu 2020-12-05 o 22:11, Brian Willoughby pisze:
>> You definitely won't be wasting your time by learning C.
> That one sentence brought my attention.
> It took me a whole semester in school to understand one line of simplest
> code in C, but after that it was a path with no return. I only had
> background in Assembler and Pascal before. As a result my master's
> thesis was rather complex Windows program written in C++ with small
> addition of hardware. And I was not educated to be a programmer at all.
> What I mean to say is that learning C is like riding a bike, it may be a
> bit tough at first, after you learn it you don't have to use it each day
> to jump on it one day and just go ahead.
> Now C is my first choice when I need simple PC utilities, like file
> format converters.
> Synth-diy mailing list
> Synth-diy at synth-diy.org
> Selling or trading? Use marketplace at synth-diy.org
More information about the Synth-diy