writing actual code?

Started by
11 comments, last by Zahlman 15 years, 10 months ago
In all the tutorials and books on programming in c++ i have never come across a reference as to how you actually write your own code. They teach the syntax and the meathods but they never actually go over how to write programms efficiantly. (spelling?) I have heard that code 2 complete is a very good book but i cant seem to find what exactly it covers. can anyone help me? yes I know that im too lazy to use a spellchecker.(:
---------------------------------------------------------------------------------------Exercise, eat right and be the best you can be!Translation: Play video games for finger streangth and eat lots of hot pockets to be at top programming efficiency.
Advertisement
What do you mean exactly? That they don't teach you how to design your program? Or that they don't teach you how to create an effective work flow?
effective work flow.
---------------------------------------------------------------------------------------Exercise, eat right and be the best you can be!Translation: Play video games for finger streangth and eat lots of hot pockets to be at top programming efficiency.
Code Complete discusses program construction. Most of it involves process; requirements gathering, architecture, design, planning, testing, maintaining... It also covers tidbits of code creation that are good guidelines to make the code more usable.

It does not really discuss the ins and outs of writing a solution. I'm not really sure where you pick that up. I learned in classes, and then through practice. Most books like Design Patterns deal with higher level problems than I think you're asking about.

There are a few tidbits of advice that could help, but practice will always help.
thanks for the help.:)
---------------------------------------------------------------------------------------Exercise, eat right and be the best you can be!Translation: Play video games for finger streangth and eat lots of hot pockets to be at top programming efficiency.
Pragmatic Programmer is similar to Code Complete and worth a read as well.

Steven Yau
[Blog] [Portfolio]

Quote:Original post by Telastyn
There are a few tidbits of advice that could help, but practice will always help.


QFT.

Also, you may want to try out lots of different tools (editors, build systems, IDEs, debuggers...). Having a good knowledge of lots of tools will allow you to use tools that are well-suited to a particular task. They say that "when the only tool you have is a hammer, all of your problems start to look like nails".

Also, I'd definitely recommend learning a language that is good for shell-scripting, like Python. This will allow you to automate any tasks that you find particularly tedious.
Taking a look at an active open source project may give you some ideas as well.
could someone point me in the direction of something that explains what scripting exactly is? its uses excetera.
---------------------------------------------------------------------------------------Exercise, eat right and be the best you can be!Translation: Play video games for finger streangth and eat lots of hot pockets to be at top programming efficiency.
by open source project do you mean something like a development diary?
---------------------------------------------------------------------------------------Exercise, eat right and be the best you can be!Translation: Play video games for finger streangth and eat lots of hot pockets to be at top programming efficiency.

This topic is closed to new replies.

Advertisement