home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!ulogic!hartman
- From: hartman@ulogic.UUCP (Richard M. Hartman)
- Newsgroups: comp.lang.c++
- Subject: Re: Newbie Wants Advice on C-Programming
- Message-ID: <801@ulogic.UUCP>
- Date: 31 Dec 92 18:47:57 GMT
- References: <1992Dec27.023035.26886@mole-end.matawan.nj.us> <1313@ottawa.opl.com.opl.com> <1992Dec30.211924.2614@leland.Stanford.EDU>
- Organization: negligable
- Lines: 51
-
- In article <1992Dec30.211924.2614@leland.Stanford.EDU> kocks@leland.Stanford.EDU (Peter Kocks) writes:
- >In article <1313@ottawa.opl.com.opl.com>, sas@regina.aruba.UUCP (Steve Sciandra) writes:
- >I took me some time to realize that it is not the language that counts, but the
- >paradigm or idiom you use. The language is important, but not as important as
- >knowing a few of the basic computer *tricks*. For example, do you know what
- >the following things are:
- >
- >1) Linked list
- >2) Hash Table
- >3) bTree
- >4) Recursion (a critical programming trick that most fortran programmers
- > no nothing about).
- >5) Data structures
- >6) Modularity
- >7) Shell sort
-
- These aren't "tricks", they are FUNDAMENTALS! A "trick" is:
-
- ((a<b)?f1:f2)(arg)
-
- >If you know the very basics of any computer language (like what an array is and
- >what assignment means (eg c = c + 2), you can learn all of these techniques
-
- do you mean:
-
- c := c + 2; { student days are back again! }
-
- or
- c += 2; // sorry, I couldn't resist!
-
- >by just reading books. Yes, many of these books may have "C" or "C++" in the
- >title, but you can read them just the same. You may not understand all the
- >syntax in the examples, but you will get the general concept. It is much
- >more important to get the general concept early, than wait 5 years and get
- >it from experience in a specific language.
-
- Yes, but I find that books on Pascal tend to be more useful for teaching
- the general concepts than most of the C or C++ books I've seen.
- Again, IGNORE the language, learn the concept. Take Grogono's
- Pascal book (although there may be a better one by now, that one's
- about ten years old!) to learn about using pascal's records and
- pointers, change the syntax and voila! You now know how to use C's
- structs and pointers!
-
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Philosopher and plowman |
- each must know his part | -Richard Hartman
- to build a new mentality | hartman@uLogic.COM
- closer to the heart! |
-
-