Thread: Hah More whining Ya!

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    15

    Hah More whining Ya!

    I am reading through Sams teach yourself c++ in 21 days. I've found out I really only understand and fully comprehend, when I experience the code. (Writing it out.). It feels like I'm skimming through it, just to find out the command of the code, write it out, and then define it for myself. (I'm weird D:.) Though I'm having to look over examples, while programming. I guess most programmers do this until it's etched in memory for good?...

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Experience is your guide. The books teach the basics; it's up to you to use them and in doing so, to learn them.
    Practice doing examples and programs that puts to test what you've learned - that's the way you'll learn everything.

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    15
    Quote Originally Posted by Elysia View Post
    Experience is your guide. The books teach the basics; it's up to you to use them and in doing so, to learn them.
    Practice doing examples and programs that puts to test what you've learned - that's the way you'll learn everything.
    Yeah I haven't really did that, with each section. So I'm going to start over, and re-read everything and do a lot more examples, and programs. T__T ; I got semi-lazy.

  4. #4
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I'd check out the book recommendation thread. I used to have that book and I have to say I did not like it one bit. Many others recommend against it, but there are better books that I think make it easier to learn from than this one.

  5. #5
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by Validinfection View Post
    I am reading through Sams teach yourself c++ in 21 days. I've found out I really only understand and fully comprehend, when I experience the code. (Writing it out.). It feels like I'm skimming through it, just to find out the command of the code, write it out, and then define it for myself. (I'm weird D:.) Though I'm having to look over examples, while programming. I guess most programmers do this until it's etched in memory for good?...
    Well, it's like taking notes in class. Just hearing what the instructor is saying isn't enough. By putting it in your own words with your own hand you gain a better understanding and memory. Nothing weird about this at all.

    You'd be weird if you could read a book from cover to cover and then just sit down and write perfect code.

  6. #6
    Registered User
    Join Date
    Nov 2004
    Location
    USA
    Posts
    516
    Books like these will mostly concentrate on syntax and the various features of the language, but will almost never tell you about good programming practices for that language or develop your logic in algorithms or cover deeper topics like communicating over different media..experience is your only guide
    Code:
    >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.

  7. #7
    Meow Pendragon's Avatar
    Join Date
    Sep 2001
    Location
    Swindon, UK
    Posts
    723
    'Practise makes...' perfect isn't the right word though. '...it helps... a lot'.

    [off topic]For those who remember Sunlight and I. We're getting married! [/off topic]

  8. #8

    Join Date
    May 2005
    Posts
    1,042
    Books are good references to have while you are writing programs, but I agree, you only fully learn the language (and the methods) through experience. Books can also help in other areas, e.g. to give you ideas of little programs to write for practice.

    As a slight aside, I wonder if anybody could make any money from a book that is just ideas for programs to write for practice while learning. Perhaps each entry would be an outline of the program and what it's expected to do.
    I'm not immature, I'm refined in the opposite direction.

  9. #9
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    I think so, yes. Consider all the people who come here asking for stuff to do.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  10. #10
    Registered User
    Join Date
    Jul 2006
    Posts
    162
    i didn't always know the libraries/methods to use for certain cases and didn't even know some existed so i'd often just write my own version of everything first and inadvertently picked up on STL stuff as i'd recreate everything.

    the only thing i -really- learned from books are different perspectives to approaching programming concepts from linear to object oriented, to higher conceptual models like neural nets and particle systems.

    what you learn from books should be ways of approach, not learning the actual language. the language you should pick up by practice. just get your basics from websites like this. this site has all the tutorials you'll ever need. and these good forum folk will fill you in on the details as you post your code.

    books can't teach you a language, only experience can.

    my proof, how many of you have every looked at 300 lines of code and go "oh i get it!" no one has. you WRITE 300 lines of code and FINALLY go "Holy **** i GET it!!!!"

    ;-)
    Last edited by simpleid; 11-16-2007 at 12:53 PM.

  11. #11
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by simpleid View Post
    my proof, how many of you have every looked at 300 lines of code and go "oh i get it!" no one has. you WRITE 300 lines of code and FINALLY go "Holy ........ i GET it!!!!"
    I'm happy that you broke 300 lines for the first time (no sarcasm).

    But comprehending 300 lines of code in an extremely short time is something C professionals do practically on a daily basis. It's not exactly a large amount of code.

  12. #12
    Registered User
    Join Date
    Jul 2006
    Posts
    162
    ok brewbuck, you nailed me, har har.

    i wasn't being serious. i was making a point. yea you totally nailed me i've never in 8 years of programming exceeded 300 lines of code.

    i'm glad you enjoy bragging. it's kind of impolite actually.

    but regardless, i was *just* making a point. because he is a beginner, i considered that. and beginners will hit 300 lines of code and be proud.

    ass. >:-p
    Last edited by CornedBee; 11-16-2007 at 07:02 PM. Reason: Edited for bad language. We don't tolerate this here.

  13. #13
    The larch
    Join Date
    May 2006
    Posts
    3,573
    I can't remember being very joyful over 300 lines, but I was very proud when I hit 1000 lines of code for the first time as a novice BASIC programmer. I abandoned the project at about 1100th line.

    I agree that you probably won't learn programming basics simply by reading, copying & pasting or even typing code from a book. When I started I would read a chapter and the source codes, then close it and try to write this program from memory. In addition I would do all the exercises and set myself small tasks.

    When you are somewhat experienced, I think you can gain from just looking at examples. You'll understand all or most that is going on, it's just that you may not have thought about doing things that way, or for example wasn't sure how the library was meant to be used etc.
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hello ya all cprogramming.com dwellers.
    By Rennor in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 08-16-2006, 02:30 AM
  2. Another reason not to like every whining complaining country on the planet.
    By sean in forum A Brief History of Cprogramming.com
    Replies: 60
    Last Post: 06-13-2002, 11:01 PM
  3. see ya real soon kids!
    By mithrandir in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 09-10-2001, 02:57 PM