Res: [c-prog] Re: programmingsites???

2008-09-16 Thread Pedro Izecksohn
--- Thomas Hruska [EMAIL PROTECTED] wrote:

 
 Under that statement, we should all learn assembler, machine language, 
 and maybe even leap backwards a few decades and use punch cards.  :)

  I totally agree. My first language was C64 Basic and my second language was 
Assembly.

  After I learned 80286 Assembly, object orientation was a punch in my face: I 
was taught not to mix code with data, just to learn otherwise afterwords.

  What is complicated in C++ is not the pointers subject, but pointers mixed 
with classes and namespaces.

  Java is sweet as it does not have explicit pointers. Plain C is sweet as it 
does not have classes nor namespaces.

  C++ is a hell.


Res: [c-prog] Re: programmingsites???

2008-09-16 Thread Pedro Izecksohn
--- Nico Heinze [EMAIL PROTECTED] wrote:
 
 that a beginner will not be able to tell which sites are good and
 which are bad. And what about those sites where much information is
 good and only some (but pretty important things) are really bad and
 wrong? Can a newbie tell the difference? Or even recognise this
 difference, to begin with?

 Yes, if he has a working compiler and he tests his code for abnormal 
situations.

  The problem with the bad code referenced in this thread earlier is that that 
guy learned C++ from a book, skipped some pages, and has no working compiler to 
test his code before pressing the Send button.

  And a good book may be not useful if the guy uses a pre standard compiler.