Jump to content

  • Log In with Google      Sign In   
  • Create Account

David Perfors

Member Since 15 Nov 2007
Offline Last Active Dec 12 2013 05:29 AM

Posts I've Made

In Topic: [Future-Proof]Should we try to follow the new technologies? Or going back to...

19 May 2013 - 12:35 AM

Learning languages and technology just for learning languages and technology could be fun, but it doesn't get you anywhere... Learning the concepts and patterns used in different languages and learning how to apply them in other languages is what makes you a better developer. Both OO languages and functional/procedural languages are around since a long time. Most of the new languages I see still use the same concepts that where available in the first languages. So when you really learn to understand and use OO, you can apply it in all the languages that support it. You only need to learn the syntax.

In Topic: 2D vs 3D

16 May 2013 - 01:40 AM

That being said, more and more projects who use 2D art, are starting to use 3D modelling software and some scripts to translate the 3D art to 2D sprite sheets.

In Topic: How much of Boost do you use?

29 April 2013 - 04:34 AM

At the moment I only use FileSystem, just because it is so easy to use on multiple platforms. Other parts of Boost I did not yet look at. (neither to the new c++11 features...)

In Topic: c++ IDE preferences

24 April 2013 - 02:49 PM

I did try several IDE's.

Eclipse was ok, but I didn't like it for C++

I liked Code::Blocks and CodeLite a lot, they are quite similar in functionality

Anjuita / KDevelop are too clunky for me

VisualStudio I only use for C# / .NET, also heavy modified on the colours ;)

Since a few months I only use VIM and the command line for C++ development. It has a steep learning curve, but I really like it.


I actually hardly miss the code completion (there is some basic support for it in the plugins I currently use, but not as efficient as VisualStudio). I can easily find the needed functions in the documentation of the different libraries or in the header files. Most IDE's won't show the needed documentation anyways (at least not when I looked last, which is some years ago :P)

In Topic: Code Formatting - Method Organization

23 April 2013 - 11:34 AM

With most IDE's it isn't necessary to organize methods at all, since you have several representations of the complete class structure and you can easily jump to the method you want.

That said however, it is possible that not everybody reading your code will use an IDE. So it pays off to organize your code in some way (other than how they popup in your head ;)).

I actually have serveral different ways of organizing my code, they depend on the language (C#, C++, PHP), the kind of project (work related, hobby or learning) and the mood I am in... but I try to organize methods with the same functionality together.


Typicly I don't mark regions of functionality with comments or the C# #region keyword. (because I think unnecessary comments are evil...)