Jump to content

  • Log In with Google      Sign In   
  • Create Account

Kyall

Member Since 25 Mar 2005
Offline Last Active Dec 08 2012 01:12 AM

Posts I've Made

In Topic: Is C++ too complex?

07 December 2012 - 07:05 AM

Header file & separation isn't a problem. I like it, the lack of it is one of many reasons for hating on so many inferior languages. It's not OCD about why can't I organize things the way I want as much as I would like to have headers available when I don't have a sylladex to tell we what every function and it's parameters are. Header/code separation makes programming easier.

Many of the advanced features of the c++ language have pretty limited use. And there is the issue that these features can take a bit of time and experience with the language to understand. The problems that exist are when these features become core components that are absolutely necessary to achieve a design, and then that design happens to be a core feature of a game or game engine or a piece of code architecture. This is where it gets to the point that every programmer on the project needs to have an advanced understanding of c++ to be able to do anything. So a solution is to avoid these features and find other simpler solutions. I don't want to hate on less advanced programmers here, but the fact of the matter is that I know a lot more about the c++ language now then I did 5 years ago, and I programmed exclusively in c++ 5 years ago and never failed to build what ever it was I wanted to build. The problem is using these features is an easy and simple alternative to building tools that extend the compilation process to generate metadata about the project to achieve the same purpose - or any other complicated task that can be achieved with the advanced features.

And this is the part where it all gets messy. The features are perfectly stable and reliable, it's not necessarily a house of cards, but the code degenerates into something not even reminiscent of what I say c++ code looks like. And use of the system, or at least users using the system comfortably without doubts as to it's quality, becomes dependent upon the relevant skill level in c++ of the programmer. It's a bit like the language itself suffers from something a lot of software suffers from, bloat. And it needs a refactor or refinement to bring it back into sanity.

The cx11 I reckon is very good, if you're using the smart pointers you can bring your class design back to what it hypothetically 'should be'. No need to worry about implementing the copy constructor or assignment operator as the new features take care of this for you. A continuation down this path of introducing features to bring things back to sanity would be welcomed by me. This is just one thing though, it seems like there should be more. And no I VILL NOT USE BOOST. Don't even. Just don't.

EDIT: -9 points for saying that advanced c++ didn't resemble simple c++, and expressing a general feeling that I don't like the inconsistency. I'm adding this:
127.0.0.1 gamedev.net
to my hosts file.

Bye everybody.

In Topic: What should I do with all my code?

02 December 2012 - 03:16 AM

Got an online SVN server. Probably not great. The rules are always have 2 or more copies of your files. So:

1. Set up an online SVN for ease of use
2. Get an external hard-drive and clone the SVN repository to it, update this hard drive with fresh source from the SVN repository often.
3. Clone your svn repository where ever you need it.

The copies on your computers count as copies too....

Or you could get a network accessed external hard drive and use that as a file server, set up git, svn, mercurial on it (if you can), and commit/update from that.

In Topic: Is C++ too complex?

01 December 2012 - 09:03 PM

I'm thinking you need a programming application test instead.... A really simple one. That contains a loop requirement...

In Topic: Is C++ too complex?

01 December 2012 - 07:26 PM

I'm getting more and more into this D thing. An experienced programmer can write an interface and a unit test using the tools already embedded in the language, then get a junior to build the interface to pass that unit test. As only a mid level programmer myself I'm not the authority on this; but this gets rid of thick skulled juniors (like I was) doing things wrong right?

In Topic: Is C++ too complex?

01 December 2012 - 05:06 AM

It's not really hostility if you don't get more replies. We have this unfortunate thing of not posting replies when we're not completely confident we know this answer. So yeah... the best way to get help from programmers is asking directly....

PARTNERS