Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 28th, 2006, 6:28 PM   #21
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
i work in a place where people write "incident reports" on challenged people. when i see writing that looks like a third-grader, the report loses credibility.

what i meant, was that anime avatars are kind of cheesy, but narue is a badass.

she's right.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Aug 28th, 2006, 7:30 PM   #22
pal
Programmer
 
pal's Avatar
 
Join Date: Mar 2005
Location: Washington
Posts: 90
Rep Power: 4 pal is on a distinguished road
K&R's c books nice
pal is offline   Reply With Quote
Old Aug 29th, 2006, 11:39 PM   #23
George Harrison
Newbie
 
George Harrison's Avatar
 
Join Date: Jul 2006
Location: Pepperland
Posts: 16
Rep Power: 0 George Harrison is on a distinguished road
I haven't been able to swing by as much because school has started back up for me, but thanks for the legitimate replies. I sorta lightly skimmed the anime avatar posts and still remain slightly confused about credibility in the workplace, but no matter.

I've heard from some people that the K&R book should be your last read due to the difficulty of it but I'm getting tired of half assed explanations of things from short online tutorials and books that try to cater to you. bah. I just got paid so I might go out and pick it up.

By the way, if my "language" offends anyone, please tell a moderator to edit it.
George Harrison is offline   Reply With Quote
Old Sep 9th, 2006, 1:23 AM   #24
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
basically the "standard" changes rapidly, for example "new" in C++ no longer returns a null pointer on failure but a bad_alloc exception or some crap (several ways of going about it, including ignoring it). yeah, implicit int in main is no longer a standard in c++, not sure about C, since most pro C-code is before the current standard anyway.

just be flexible.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Sep 9th, 2006, 2:10 PM   #25
Narue
Professional Programmer
 
Narue's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 4 Narue is on a distinguished road
>I've heard from some people that the K&R book should be your last read due to the difficulty of it
Speaking as one of those who learned C from K&R, I don't think it's difficult at all. It assumes that you're familiar with certain low level concepts and doesn't offer clarification. A good example is the section on bitwise operators. If you know how to work with bits then it's a wonderful introduction, otherwise you'll be confused about why the operators are needed.

The problem is that too many people want to read a single book and become an expert. That's simply not going to happen. C is difficult primarily due to the brevity of the language itself and the environment in which it evolved (Bell Labs in the 70's). We're talking about a time when everyone knew assembly and the parts of C that confuse you now made perfect sense to the professionals who were picking up the language then. K&R is written for a different audience than those who are looking for an all-in-one fix for basic programming concepts and the C language. That book doesn't exist, by the way. You need several to achieve that effect.

Anyway, whether it's your first book or your last, everyone who claims to know C should own at least one copy. Anyone who claims to be proficient or expert with C should have two or more copies due to wear and tear of the (excellent) binding. I have 5: one early printing for historical reference, two with rubber bands around them to preserve the pages, one on the top of my desk at work and one on the top of my desk at home. The two with rubber rands fell apart because I thumbed through them too often, and my working copies have seen better days despite the care with which I treat my books.

>By the way, if my "language" offends anyone, please tell a moderator to edit it.
If your language gets edited then most of us should fear worse.

>basically the "standard" changes rapidly
True, though the pace of software development means that the "standard" will be used a lot before a new revision or addendum. You can generally expect a change around every five years.

>for example "new" in C++ no longer returns a null pointer on failure but a bad_alloc exception or some crap
Don't confuse standard C++ with pre-standard C++. While ARM C++ was the de facto standard, it wasn't "official" in the way that the ISO standard is. In fact, official standards are typically produced when the threat of diverging dialects begins to really scare people. Besides, you can use nothrow and get a null pointer if it really bothers you. Personally, I find exceptions to be cleaner to a point.

>yeah, implicit int in main is no longer a standard in c++, not sure about C
Implicit int isn't legal in standard C++ or C99. It's legal, but considered poor style in C89.
__________________
Even if the voices aren't real, they have some pretty good ideas.
Narue is offline   Reply With Quote
Old Sep 13th, 2006, 12:42 PM   #26
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
One of my wives once had her jaw wired shut for a week (motorcycle accident). Brevity, obscurity, and lack of clarity were the order of the day. I had no problems with C and the phases it went through (which brings to mind the new term, 'Pythonic', as its usually bandied about).
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Book coldDeath Java 11 Oct 11th, 2006 1:52 AM
book review forum bl00dninja Community Announcements and Feedback 19 Apr 26th, 2006 2:39 AM
Having trouble with an exercise in the C book. linuxpimp20 C 6 Jul 6th, 2005 7:22 AM
Is there a mid-level C++ book? nez C++ 18 May 30th, 2005 6:03 AM
Book about general progamming concepts. linuxpimp20 Other Programming Languages 1 May 23rd, 2005 3:47 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:56 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC