• What programming language would you recommend?
    64 replies, posted
I've been able to do everything I've wanted to with: HTML Cpp (C++/C plus plus) VB (Visual Basic) But depending on what you want to do is what you gotta learn... every language has strengths and weaknesses
[QUOTE=Chris220;21916401]I guess so. Although, I'm still in the first year of college (I'm 17), and I met my girlfriend nearly 3 years ago, i.e we were both still in secondary school :v:[/QUOTE] I met my girlfriend in University where she did the same course as me - Computer Game Development. :D I noticed someone mentioned portability and I wanted to give a different point of view. C++ is seen as portable - As a language it is very portable, however your application is only as portable as your code which greatly depends upon any API calls or frameworks that you have used. You end up with a situation where you have to write your own API abstraction layer if you want it to be anywhere close to truly portable. C# on the other hand is seen as non-portable. It is a 'proprietary' language for use with Microsoft Operating Systems. It has an extensive framework which works well with Windows, the API as it were. Where am I going with this ? Well I believe that C# is portable, but in a different sense. Take the Mono project, this is build around the "standard" that Microsoft has produced. It provides an implementation which supports the .NET framework for the other major Operating Systems. Rather than producing your application for every API, the "API" is made for the one specification. In a way it is a different implementation of what was intended by Java. Is it perfect ? No. Stuff like file paths are different, but code wise you can for the most part write your application once and expect it to run on multiple platforms. I'd say that is pretty portable and I'd argue it is more portable than languages such as C / C++. If I don't reply to any questions in a reasonable amount of time, it's because I have moved house and have very limited internet using a mobile internet dongle. :3
[QUOTE=yngndrw;22002569]I'd argue it is more portable than languages such as C / C++.[/QUOTE] Well, if you use the compilers in strict-mode and use Open APIs (e.g. OpenGL, OpenAL) and portable frameworks (e.g. freeglut, OIS) then you shouldn't really have any trouble compiling C or C++ code on any supported platform. C#, Java or such do make it easier though. With C# specially I had minor bugs concerning System.Windows.Forms on Linux due to differences on the event-handling (in Windows/.NET the menu-bar is still open when the click-event is fired, in Linux/Mono it was already closed; programmatically checking a radio-button automatically re-draws the widget in Windows/.NET, not on Linux/Mono) and it doesn't run at all on OSX/Mono (throws some exceptions at startup).
[QUOTE=Chris220;21769831]My girlfriend wanted to start programming (we're too cool :V), and I also recommended her C#, for the reason that it's a fair bit easier to use for a beginner than C++ is, due mostly to the .NET framework, nice function naming ETC.[/QUOTE] I WANT A GIRLFRIEND that doesn't think programming is weird let alone likes it!!!
[QUOTE=yngndrw;22002569]C# on the other hand is seen as non-portable. It is a 'proprietary' language for use with Microsoft Operating Systems. It has an extensive framework which works well with Windows, the API as it were.[/QUOTE] C# is just as portable as C++ .NET is not as portable, but the Mono guys have proven that it can be done. Obviously they can't implement the heavily Windows-oriented parts of the framework, but the layer of abstraction that something like WinForms provides allows them to have 99% of GUIs working flawlessly under GTK+
Sorry, you need to Log In to post a reply to this thread.