Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ in Linux or Windows

Name: Anonymous 2012-01-11 1:20

>inb4 Google, I looked and couldn't find what I'm asking about

Is it better to code C++ programs in Linux or Windows? I'm new to this. I'm just learning and don't want to start off on the wrong track. I'm using Linux btw.

Couldn't you just take the same code written on Linux and compile it on Windows? The only difference would be certain OS-specific differences like window managers, etc., which could somewhat easily be fixed, right? If so, what's the big deal about porting programs to and from Linux and Windows? What am I missing?

If you also have some brotips on better languages than C++, please share them. I want to be able to make all sorts of programs; efficiency is important. My ideal language is one that can do "anything" so that I can specialize in a master race language. Tl;dr Please confirm whether C++ is god tier.

Name: Anonymous 2012-01-11 10:56

>>4
Holy shit you're an ignoramus. Your arguments make no sense. You say C will puts things in your way that need to be in your way, since C uses structures for different types, while C++ uses inheritance. If anything, it's the opposite. The advantage of inheritance is that you can encapsulate data if you want to, which allows for you to hide implementation details, i.e. it "puts things in your way that need to be in your way". I'm not quite sure what you're saying about the spaghetti code. As for not bothering to support Windows, that depends on the demographic.

>>5
Clumsy at high-level abstraction? Worthless at low level? Elaborate. As for the use of bitshift operators for I/O, I can't say I'm a fan, but there's nothing wrong with it. Some may argue that it's intuitive.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List