Jump to content

  • Log In with Google      Sign In   
  • Create Account


Programming Textbook?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
22 replies to this topic

#1 Tutorial Doctor   Members   -  Reputation: 1571

Like
0Likes
Like

Posted 25 February 2014 - 12:20 AM

So, last night I started what I intended to be a short but sweet book on the basics of programming. However, it was too short to be called a book, and soon my ideas started to expand and that short "book" idea became a long "textbook" idea.

I am far from qualified to make a textbook, but I think it is a very good idea. Thing is, this textbook would serve to keep things very simple as well with useful and thoughtful examples. I was using iBooks Author so that I can add interactivity.

Once again, my ideas get too big for my ability, and another idea is wasted.

So I thought, if only I knew some cool people who knew all of this heavy stuff, and who could relate to my necessity for simplicity and collaborate with me to make an awesome book.

Then I thought of GameDev.

Here is the question, does anyone know of any excellent programming textbooks? I am not looking for a book for a certain language, but an entire textbook. Any you can recall from school that were actually useful as a reference and not just a waste of $150?

They call me the Tutorial Doctor.


Sponsor:

#2 Poigahn   Crossbones+   -  Reputation: 518

Like
1Likes
Like

Posted 25 February 2014 - 08:46 AM

Everyone likes to think of creating a book to cover the things that the standard book is not covering.  This problem causes even the simple plans to write a simple "Tell All" tutorial to become massive.  The best "Self-Teaching" guide to programming book I ever used was written in the Mid 1980s covering the then Pascal Language.

I do not recall the title but it covered Turbo Pascal 5.5.  To me, it was the Layout of the book that allowed it to be concise and useful.

It was laid out like a dictionary/reference book.  Each Keyword had it own little section in alphabetical order in the book.  Words Like Private and Public were in separate sections entitled Private and Public.  Although Similar their purposes are different.  After reading about 1 the reader was directed to the next logical step in learning the Language.

  Once it was time to learn about graphics, the reader was then directed to each section in progression to learn all the graphical commands

Again the book was laid out as a reference book, so anytime the reader need a refresher they could simply turn to the section Titled Graphics or Put, Get, Class or any other command for a quick refresher.

  this format also seem to cut out allot of the un-needed author conversation and did present straight forward code demonstrating the Command in use.

 

Maybe try this approach


Your Brain contains the Best Program Ever Written : Manage Your Data Wisely !!


#3 Tutorial Doctor   Members   -  Reputation: 1571

Like
0Likes
Like

Posted 25 February 2014 - 10:19 AM

Great response! These are the very things I was thinking!

I began to see how important layout is in such a book, or even any reference book. I decided to use color coding for section types.

And the progression is in a logical order too. It was a little hard to place the topics, and I had only one chapter worth of content (which was going to be the whole book initially.)

The progression is:

Chapter 1: The Basics

Introduction
Variables
Functions
Algorithms
Debugging
Syntax
IDE
Memory
Flow Control
Conditional Statements
Loops
Data Types
Classes
Methods
Objects
Events
API
Examples

Chapter 2: History
Chapter 3: Tools
Chapter 4: The Languages
Chapter 5: A little math review
Chapter 6: Let's program!

They call me the Tutorial Doctor.


#4 Poigahn   Crossbones+   -  Reputation: 518

Like
0Likes
Like

Posted 26 February 2014 - 09:07 AM

Show a little appreciation smile.png biggrin.png LOL!!    -   If your book is to be about Basics of programming, then Save your Chapters 2 through 5 for another book,  Every other author seems to want to cover these subjects in their books, thus wasting a lot of pages.  Those items would be good for a college 1-2 day seminar, and when I am wanting to learn a language, I skip those subjects anyway. ( However - Chapter 3 Tools could be a good Chapter 1 in your book ONLY if those items covered pertained directly to your language and Samples)

  A little food for thought, organize your book in 2 parts.  Part 1 > Cover items such as algorithms and syntax etc., Part 2 Cover Coding Keywords Such as Function and Class.

I think you will find this to be more concise and an effective method for bestowing your knowledge unto others.


Your Brain contains the Best Program Ever Written : Manage Your Data Wisely !!


#5 Aardvajk   Crossbones+   -  Reputation: 5956

Like
0Likes
Like

Posted 26 February 2014 - 09:18 AM

Theres like, a gazillion Learn to Program books that follow approximately the format you've described, including numerous "For Dummies" for different domains.


Edited by Aardvajk, 26 February 2014 - 09:38 AM.


#6 Tutorial Doctor   Members   -  Reputation: 1571

Like
0Likes
Like

Posted 26 February 2014 - 11:18 AM

Thanks poigahn! Great suggestions! I am going to keep it simple then.

Haha Aardvajk, I guess that might be so, but personally I don't like the for dummies books, as they are not easy enough to understand. I am thinking of making it an iBook, as well as ePub for people who don't like or have iOS. I think an interactive book is a better way to present programming.

I am also thinking of making a udemy course, and making the short book a prerequisite, then using the course to go I to how to actually apply the things learned, instead of putting it all in the book.

They call me the Tutorial Doctor.


#7 Gerretke   Members   -  Reputation: 114

Like
0Likes
Like

Posted 28 February 2014 - 11:02 AM

Hey I think  this is a good idea maybe can work  :)



#8 Tutorial Doctor   Members   -  Reputation: 1571

Like
0Likes
Like

Posted 28 February 2014 - 12:56 PM

Thanks Gerretke. I am getting more ideas now after a message someone sent me. 

 

I like the idea of the Wiki. It is a collaborate way to present information. If I could start a wiki, then all sorts of people can contribute to it. All I would have to do is set guidelines and formats for the wiki beforehand. I would also want the wiki to be downloadable as either .mobi or .epub. 

 

Hmm, now I might be changing direction. We will see. 


They call me the Tutorial Doctor.


#9 Nathan2222_old   Members   -  Reputation: -400

Like
0Likes
Like

Posted 28 February 2014 - 03:27 PM

Initially, i liked when they tried to make a conversation but now, i don't.
Currently, i've used 5 programming books. The worst being Programming Practice and Principles Using C++ (i know). It's supposed to be THE beginners book but it's more like a book that expects you to know programming from my pov.
One minute, it's teaching loops and the next it's teaching vectors and then jumps to something else before it goes back to complete vectors. A 1100+ page book of confusing confusion :).
(1) Jumping into c++, (2) Beginning c++ programming with game dev, third edition, (3) the cplusplus.com pdf (not happy with it because it doesn't have exercises) and (4) the very brief tutorialspoint pdf (it's more like a very incomplete dictionary with no excercises).
Right now, i'm reading (1).

I'm tired of getting books and being disappointed by them and then post ideas here and repeat these steps. I wish i could find a book that teaches me c++ well enough so i could start implementing my dreamy ideas :(.

UNREAL ENGINE 4:
Total LOC: ~3M Lines
Total Languages: ~32
smile.png
--
GREAT QUOTES:
I can do ALL things through Christ - Jesus Christ
--
Logic will get you from A-Z, imagination gets you everywhere - Albert Einstein
--
The problems of the world cannot be solved by skeptics or cynics whose horizons are limited by the obvious realities. - John F. Kennedy


#10 richardurich   Members   -  Reputation: 1187

Like
0Likes
Like

Posted 28 February 2014 - 03:52 PM

I used to like the dictionary-style books, but that was before you could just google a keyword to figure out what it does.

 

The only other books I can think of that were useful for a while were Effective C++. It's been a while, but I think the basic structure of that book was each chapter taught a single concept and why it is a useful concept to learn and apply as quickly and succinctly as possible.

 

The learn a language or whatever types of books seem far worse than following interactive tutorials online (or even non-interactive ones), so I'm not sure there is any way to make such a book not be a waste of money. Those books always seem to be a generation behind (teaching C++0x when C++11 is out, DX9 when DX11 is out, etc.) anyways.



#11 Nathan2222_old   Members   -  Reputation: -400

Like
0Likes
Like

Posted 28 February 2014 - 04:12 PM

The only other books I can think of that were useful for a while were Effective C++
. . .
. . . teaching C++0x when C++11 is out

C++0x and C++11 are the same thing.
I haven't checked effective c++ yet.

UNREAL ENGINE 4:
Total LOC: ~3M Lines
Total Languages: ~32
smile.png
--
GREAT QUOTES:
I can do ALL things through Christ - Jesus Christ
--
Logic will get you from A-Z, imagination gets you everywhere - Albert Einstein
--
The problems of the world cannot be solved by skeptics or cynics whose horizons are limited by the obvious realities. - John F. Kennedy


#12 Paradigm Shifter   Crossbones+   -  Reputation: 5256

Like
0Likes
Like

Posted 28 February 2014 - 04:30 PM

Debugging seems to be an area that books (and many college courses) don't cover. A series of dodgy programs and debugging exercises could be helpful in a book.

 

Best book I have probably read was "Advanced Windows" by Jeffrey Richter. It's old now. Lot's of information and a few gags too "Funcenstein, FuncNFurter, FunclinDRoosevelt" etc. instead of foo/bar ;)


"Most people think, great God will come from the sky, take away everything, and make everybody feel high" - Bob Marley

#13 Tutorial Doctor   Members   -  Reputation: 1571

Like
0Likes
Like

Posted 28 February 2014 - 10:41 PM

Good point shifter. I really like Codecademy, but if I could have something like that as a software that would be perfect. They had debugging examples in there too. I was doing a lesson in JavaScript and I felt like I was actually getting the kind of practice one needs. I was learning the info while using it.

Now that I think about it, I am officially convinced that I should keep the book brief.

I am liking the reference book idea too. I want it to be brief yet full (usually how my tutorials are).

If anyone has any more feedback or ideas, please post. I might do the book and the wiki too. I don't know if it will take a whole course.

They call me the Tutorial Doctor.


#14 FLeBlanc   Crossbones+   -  Reputation: 3101

Like
1Likes
Like

Posted 01 March 2014 - 09:22 AM

Having admitted to being unable to use modern IDEs, along with all your other examples of being rather inexperienced, do you honestly think you are the right one for the job of writing yet another How To Code book?

#15 Tutorial Doctor   Members   -  Reputation: 1571

Like
0Likes
Like

Posted 01 March 2014 - 09:57 AM

I know I can write a good beginners programming book. Enough to make someone comfortable with programming and working with APIs.

I have actually made a tutorial that teaches the basics in about 7 minutes. Most of the ideas come from that tutorial.

http://snapguide.com/guides/understand-computer-programming

I don't go into much detail as far as syntax, so I thought a book was a good way to elaborate.

I actually have the beginning of the book on my ipad right now. It is a convenient resource for myself, so I figured others might like it too, although I want it to be a good resource for beginners.

I just see so many beginners tutorials that are not for beginners.

Tell me what you think about that tutorial. I need more feedback from more advanced programmers, I have cleaned up some of the words for the book.

They call me the Tutorial Doctor.


#16 Aardvajk   Crossbones+   -  Reputation: 5956

Like
1Likes
Like

Posted 01 March 2014 - 10:53 AM

I stopped at the slide that said:

 

"I once saw a program that was a WHOLE PAGE LONG that made an object follow the cursor. I did the same thing with ONE LINE OF CODE! And it was faster."

 

Move along, nothing to see here...



#17 walsh06   Members   -  Reputation: 658

Like
1Likes
Like

Posted 01 March 2014 - 11:42 AM

Had a quick read of the slides. Im certainly no expert but definitely proof read them as I saw some spelling/grammar mistakes which should not be present. Your explanation of inheritance was pretty useless as you only half mentioned what it is and no expansion at all. Also that slide that explains a while loop is completely lost on me (maybe I just dont get it but the sentence doesnt make sense to me). Your use of "Hahas" and things like that make it seem quite childish. Maybe thats what you are going for but it doesnt look right. Just a few things.



#18 Tutorial Doctor   Members   -  Reputation: 1571

Like
0Likes
Like

Posted 01 March 2014 - 03:13 PM

Thanks Walsh for the feedback. That guide was informal. I corrected the Hahas in the book. Each step is limited to a certain amount of characters, so I can't really elaborate without making the guide too long. Guides are supposed to be a "snap" thus "Snapguide."

All of the grammar stuff is fixed in the book also, including the funky use of CAPS.

There is no bold nor italics for Snapguide yet.

They call me the Tutorial Doctor.


#19 Tutorial Doctor   Members   -  Reputation: 1571

Like
0Likes
Like

Posted 01 March 2014 - 03:16 PM

I stopped at the slide that said:
 
"I once saw a program that was a WHOLE PAGE LONG that made an object follow the cursor. I did the same thing with ONE LINE OF CODE! And it was faster."
 
Move along, nothing to see here...


It's true. Haha. The program was about 5 lines, but the sequence was one line.

Whole page in 12pt font.

They call me the Tutorial Doctor.


#20 walsh06   Members   -  Reputation: 658

Like
0Likes
Like

Posted 01 March 2014 - 03:45 PM

Thanks Walsh for the feedback. That guide was informal. I corrected the Hahas in the book. Each step is limited to a certain amount of characters, so I can't really elaborate without making the guide too long. Guides are supposed to be a "snap" thus "Snapguide."

All of the grammar stuff is fixed in the book also, including the funky use of CAPS.

There is no bold nor italics for Snapguide yet.

Fixing for the book is good but surely you want this guide to be usable too. Even with limited characters you can explain a while loop in proper english. 






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS