Thread: How do I learn to program WELL?
i've been computer science student many years now. i've taken classes on "introduction computer science" xml. quite honestly, haven't learned jack **** classes when comes programming. can programming assignment of textbooks (and design , code go though exercises on , on again, have fun) haven't learned program well.
let me give example of mean "learning program well". developing roguelike while, , developed prototype of random map generator. but, instead of compiling cpp (source) files @ command line, using #include directives include source files in program. mouths of roguelike development irc channel regularly attend, isn't "real" programmers do. here few more examples, know constructor , deconstructor are, don't know put in them besides deleting pointers. also, writing program told user how many words he/she/it entered @ command line, using char * , new keyword, wasn't sure delete pointer because returning pointer char out of function.
books have taught me much, haven't learned programming practices , haven't developed own style of coding yet. how can this?
i'm applying internships (i don't feel ready real programmer yet) , working on roguelike , textbook problems, don't feel that's enough. feel benefit having mentor me giving me problems , grading solutions, that's never going happen.
can learn how program well?
, yes, have looked "read before posting" threads here, didn't answer question.
read existing code. lots of it. in languages use of course (that may include makefiles...) other languages widen horizon. try understand why things done way, and, importantly, why things not done way have done them... give low-level view of code.
if want broader view, belonging group (open source project, or programming job) gives rules follow, , make sense.
i'm finishing reading "clean code" robert martin, , although it's bit java-oriented, expounds plenty of principles apply object-oriented languages.
first requirement write code healthy dose of self-criticism. not being happy current version of code if job first step towards code. posting indicates there
practice, practice, practice, practice, practice...
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk How do I learn to program WELL?
Ubuntu

Comments
Post a Comment