Developing good logic skills

This is a discussion on Developing good logic skills within the A Brief History of Cprogramming.com forums, part of the Community Boards category; *Moved to General Discussions*...

  1. #16
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,453
    *Moved to General Discussions*
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  2. #17
    Complete Beginner
    Join Date
    Feb 2009
    Posts
    312
    Quote Originally Posted by MK27 View Post
    I absolutely and very strongly disagree with Snafuist about this. You will be much much better off putting twice as much time into K&R (or whatever) than spending that time reading philosophy (even math philosophy).
    But you don't have to: we're sharing the exact same opinion here. fsx got what he asked for, namely book titles.

    Greets,
    Philip
    All things begin as source code.
    Source code begins with an empty file.
    -- Tao Te Chip

  3. #18
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,638
    Quote Originally Posted by MK27 View Post
    Bladactania, it would be stupid or crazy to try reading about computer algorithms if you did not have at least some grounding in at least one language.

    How an algorithm is presented doesn't matter; the "egghead" stuff Sharke refers to is probably the worst way to do it though. I believe the purpose is generally not explanatory anyway; it's academic analysis.

    So all that being said, the best and most practical explanation of a process is bound to be in real code -- plus, you can count on the fact that the source is an actual programmer. Beat that logic...
    Eh, your painting readers and authors with a wide paintbrush there. I find a contradiction that how an algorithm is presented doesn't matter to you but you are here defending a specific approach. This topic in particular is similar to floating point in that you do not need to understand how floating point works internally to use it on a regular basis but knowing how it works is still imperative, because it is easy to abuse a specific circumstance.

    That egghead stuff is actually asymptotic analysis, and as you will see notations around other resources to detail an algorithm's run time, it is important to understand. No, the explanation does not need to be complex or even that correct in a mathematical sense. That's why computer science is applied science. You may not even rely on a deep mathematical understanding unless the platform demands that you be stringent with your choices (such as programming a wristwatch). But you should know enough to know what O(n) means and how to classify your own algorithms as O(n). Hence there are nontechnical resources in some texts and online besides technical ones.

    That does not make in-depth resources bad or "the worst way to go about it." It depends on the reader's aptitude and circumstance.

    edit: fsx was not looking for an algorithm book or anything like that. We're off topic.
    Last edited by whiteflags; 04-21-2009 at 01:45 PM.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MURK - a small preview
    By Mario F. in forum Game Programming
    Replies: 27
    Last Post: 12-18-2006, 07:22 AM
  2. Opinion on GOOD digicam
    By Shadow in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-22-2003, 05:37 PM
  3. Question about atheists
    By gcn_zelda in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 08-11-2003, 11:50 AM
  4. Circular Logic
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 10-15-2001, 08:10 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21