discipline

What is an ideal variable naming convention for loop variables?

If you are writing a simple little loop, what should you name the counter? Provide example loops! ...

How do you maintain your program vocabulary?

In a not-so-small program, when you have not-so-few entities, in order to maintain code readability, common terms, and otherwise improve mutual understanding between team members, one have to define and maintain program vocabulary. How do you (or your company) deal with this task, what discipline do you have, what arrangements do you in...

What differentiates software engineering from any other engineering discipline?

Software engineering shares many of the same traits with other engineering disciplines (attention to detail, complexity to mastery). What do you think differentiates it? Please be specific and substantiate your answer. ...

Correlation between verbosity and bondage-and-discipline

Is it just me or is there an almost perfect correlation between the level of bondage-and-discipline a language inflicts and the verbosity of the language? Ada, Java, and Pascal are horribly verbose, and have the reputation as extreme bondage-and-discipline languages. On the other hand, Perl and to a lesser extent C are pretty terse and...

Where to place Git repository

Hi, I just started using Git and I want to know if this is the right way of using it. I started a Rails app with: rails newapp Then I did: cd newapp git init git add . git commit -a So is it "right" to init my git inside my working directory? ...

What traits (the make-up of the person) makes a good team leader ?

This is slightly different question to What do Team Leaders do? I have worked on many different projects, working with a varying different team leaders/managers. Some were good and some were not so good. When not so good, I would always think, what would I do different? In my opinion a good team leader has the following traits :- ...

Good ways of disciplining yourself when freelancing at home?

I have noticed that my self-discipline is very bad when it comes to getting up in the morning, eating regularly and working on fixed hours. When you have a job to go to, it is very different since you have fixed hours. You have a everyday routine. But when you start freelancing and you do it at home, you have so much more freedom. I fin...

Designing interfaces: predict methods needed, discipline yourself and deal with code that comes to mind

Was: Design by contract: predict methods needed, discipline yourself and deal with code that comes to mind I like the idea of designing by contract a lot (at least, as far as I understand the principal). I believe it means you define intefaces first before you start implementing actual code, right? However, from my limited expe...

How to learn proper C++?

While reading a long series of really, really interesting threads, I've come to a realization: I don't think I really know C++. I know C, I know classes, I know inheritance, I know templates (& the STL) and I know exceptions. Not C++. To clarify, I've been writing "C++" for more than 5 years now. I know C, and I know that C and C++ s...