programming-habits

Program offline

I was wondering. When I started to program a few years ago, it was easier to get the documentation on the harddrive and browse it from there, than go online to get some help. With the years the internet speed has reach most of us, and now it is easier to get a reference directly in internet. As a matter of fact I would find rather ...

What open source project to start making experience?

I'd like to improve my programming skills, especially the readability of my source codes, and, why not, to give a little contribution to some open source or Linux-related projects. I'm studying C, and I'm interested in practical development problems and electronics problems, but I need to make a lot of experience. Is there any project yo...

What process do you use to learn a new programming language?

This question is for experiences programmers. Do you have a set process that you follow when approaching a new language that you want to learn? Do you prefer learning alone or with a buddy? How do you begin? Do you have a favorite series of books? And is there any place where you can easily get the grammars for the new languages? Do you ...

Managing Perl habits in a Python environment

Perl habits die hard. Variable declaration, scoping, global/local is different between the 2 languages. Is there a set of recommended python language idioms that will render the transition from perl coding to python coding less painful. Subtle variable misspelling can waste an extraordinary amount of time. I understand the variable de...

General C++ Performance Improvement Tips

Could someone point me to an article, or write some tips right here about some c++ programming habits that are generally valid (no real drawbacks) and improves performance? I do not mean programming patterns and algorithm complexity - I need small things like how you define your functions, things to do/to avoid in loops, what to allocat...

How do you use stl's functions like for_each?

I started using stl containers because they came in very handy when I needed functionality of a list, set and map and had nothing else available in my programming environment. I did not care much about the ideas behind it. STL documentations were only interesting up to the point where it came to functions, etc. Then I skipped reading and...

What should a hobbyist do to develop good programming skills after basics?

So I'll say right here that I'm no professional coder. I'm a hobbyist. And pretty much like other people I feel like I'm doing it wrong. Like this question A feeling that I'm not a good programmer if have began to feel like that. Now I know basically that they say you shouldn't worry and that your good even if you continuously doubt you...

Do you have any personal visual clue in your code for other user and not the compiler ?

i use certain suffix in my variable name, a combination of an underscore and a property. such as : $variable_html = variable that will be parse in html code. $variable_str = string variable $variable_int = integer variable $variable_flo = float variable. Do you have other visual clues? Maybe something you write for variable, functi...