Mail Archives: djgpp/1997/10/10/18:17:48
David Jenkins schrieb:
> I've thought some more on this, I think my analogy is *wrong*, I think
> *ALL* the libraries should be thrown away from the beginning, newbies
> should NOT use them, they should learn how to use inline assembly from
> the beginning, even for things like printf(), malloc() and EVERYTHING
> else.
>
> BTW The above sarcasm was aimed at Georgs attitude not Firewinds, most
> newbies have moved from an interpretted language (Like Basic) to C,
> where all the putpixel, screen_open, stuff is handled by the
> interpreter, the concept of a programming environment without any
> support for graphics is completely alien.
> When I first installed DJGPP I was amazed to find I couldn't open a
> 640*480 screen and throw a few thousand stars around. I surfed for a
> while and learned that I needed to use assembly to do things I'd taken
> for granted before, but I didn't want to learn assembly, then I found
> some kind bloke had done everything I wanted allready in Allegro.
> I can forget learning assembly for the time being and concentrate on
> what I originally intended to learn, C.
>
> --
> http://www.jenkinsdavid.demon.co.uk for C programmers.
> David Jenkins
>
Sorry if it was so easy to misunderstand, but I just wanted to point out that
these keywords are no 'library functions'. I also began programming with BASIC,
then moved to C (and didn't understand how anybody could actually write anything
useful with it), and I also use lots of library code. I only replace library
functions when I have just finished a project (does not happen very often, I do
not have enough patience) and notice that these functions are too general and
my code could be better if I remove some special case handling (or using
different structs or such...)
Again, sorry, It wasn't meant to be a 'library flame'
- Raw text -