<div dir="ltr"><div class="gmail_default" style="font-size:small">C/C++ headers are unfortunate. It would be rad if the preprocessor had another option, like #magic, where it would effectively derive declarations from definitions.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">// just derive symbols and function/class/etc declarations from this, don't include it, as such</div><div class="gmail_default" style="font-size:small">#magic "some_module.c"</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 7, 2020 at 12:22 PM Richie Burnett <<a href="mailto:rburnett@richieburnett.co.uk">rburnett@richieburnett.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Assembly is my favourite language hands down.  Been doing it professionally <br>
for almost 30 years.  Just recently started trying to learn a bit of C, but <br>
finding it *much* harder than I imagined the transition and learning curve <br>
would be.  At the moment embedded C seems very much like assembly language <br>
except just sufficiently different to trip me up and ruin my flow with <br>
endless cryptic error messages that I struggle to understand!<br>
<br>
-Richie,<br>
<br>
<br>
<br>
-----Original Message----- <br>
From: Jean-Pierre Desrochers<br>
Sent: Monday, December 7, 2020 4:57 PM<br>
To: 'Michael E Caloroso' ; 'Roman Sowa'<br>
Cc: <a href="mailto:synth-diy@synth-diy.org" target="_blank">synth-diy@synth-diy.org</a><br>
Subject: Re: [sdiy] Programming Language Recommendation<br>
<br>
> C is still my favorite language.<br>
Same for me !<br>
<br>
JP<br>
<br>
-----Message d'origine-----<br>
De : Synth-diy [mailto:<a href="mailto:synth-diy-bounces@synth-diy.org" target="_blank">synth-diy-bounces@synth-diy.org</a>] De la part de <br>
Michael E Caloroso<br>
Envoyé : 7 décembre 2020 11:29<br>
À : Roman Sowa<br>
Cc : <a href="mailto:synth-diy@synth-diy.org" target="_blank">synth-diy@synth-diy.org</a><br>
Objet : Re: [sdiy] Programming Language Recommendation<br>
<br>
I'm a BTEE graduate, one of my classes was structured programming.<br>
Language was Pascal.  We were given an assignment to build a program that <br>
converted resistor color codes to actual value.  To my instructor's <br>
disbelief I designed a converter using three lines of code.  I simply made a <br>
string array with the color codes in order, and used the array index as the <br>
digit value & multiplier.  Thus the color code could be parsed and value <br>
computed in a single line.  Even without any formal programming education I <br>
already understood the concept of indirect array indexing and compound <br>
statements.<br>
<br>
That intuition helped when I studied microprocessors and assembly language.<br>
<br>
I have to say that assembly programming did make it easier to learn C.<br>
<br>
C is still my favorite language.<br>
<br>
MC<br>
<br>
On 12/7/20, Roman Sowa <<a href="mailto:modular@go2.pl" target="_blank">modular@go2.pl</a>> wrote:<br>
><br>
> W dniu 2020-12-05 o 22:11, Brian Willoughby pisze:<br>
>> You definitely won't be wasting your time by learning C.<br>
>><br>
><br>
> That one sentence brought my attention.<br>
> It took me a whole semester in school to understand one line of<br>
> simplest code in C, but after that it was a path with no return. I<br>
> only had background in Assembler and Pascal before. As a result my<br>
> master's thesis was rather complex Windows program written in C++ with<br>
> small addition of hardware. And I was not educated to be a programmer at <br>
> all.<br>
><br>
> What I mean to say is that learning C is like riding a bike, it may be<br>
> a bit tough at first, after you learn it you don't have to use it each<br>
> day to jump on it one day and just go ahead.<br>
> Now C is my first choice when I need simple PC utilities, like file<br>
> format converters.<br>
><br>
> Roman<br>
> _______________________________________________<br>
> Synth-diy mailing list<br>
> <a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
> <a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
> Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
><br>
<br>
_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
<br>
<br>
_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a> <br>
<br>
<br>
-- <br>
This email has been checked for viruses by AVG.<br>
<a href="https://www.avg.com" rel="noreferrer" target="_blank">https://www.avg.com</a><br>
<br>
_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
</blockquote></div>