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 11:36

>>1

Simply ignore everything posted above this post.

First, there is no such thing as true portability. Either you stick to the standard and remain "rather" portable (and mostly useless, since you won't be doing any networking, multithreading or graphical interface programming), or you don't and have a bad time porting your code when you need. It is a choice you have to make.

Second, your question "is it better to code C++ in Windows or Linux" is nonsense to me. You could elaborate better what you intend to ask, but, as far as I understood, instead of choosing the most appropriate target for your language, you should choose the most appropriate language for your target. Either way, both systems comprise an extensive C interface, which you could easily use from inside C++ code. The MSVC compiler is an excellent tool; however, standard-wise it is not really compliant: GCC is a better choice if you worry about this.

Third, C++ have a number of problems, but it is one of the best practical languages around. It is not a "god tier" language if you're a neckbeard which derive sexual arousement from debatably "prettier" syntactical constructs and other toy (read this as "dildo") language features, but it surely is your best option if what you seek is some sort of "improved C". Nevertheless, you should experiment it yourself and devise an opinion from your experience instead of relying on others. A "common noob misconception" is to fall victim of appeals to arguments of authority and gratuitous criticism and con-information given without elaboration.

You know, a lot of sexually inexperienced people comes here to offer advice, but they're really more worried in downloading furry pornography and harassing teenagers in Harry Potter forums instead of properly sustaining a debate or conversation. Don't listen to these people. Look, one of them (>>2) just claimed "fuck Windows" and have thus thrown away 90% of the potential users for your programs. Couldn't be wiser, don't you agree?

In my opinion, if you find yourself hating the language, just abandon it on your own right, and don't waste time going to mail-lists and forums and telling everybody about your woes and how the language is ill-designed. Instead, choose another technology: there are plenty of them around. And if you find yourself loving C++, go on and code straight aheaad: don't waste time overhyping it either. Fueling the already gigantic FUD battle is the worst thing you can do for the community.

Also: don't be afraid of using IDEs when you feel like using them, and going for the command-line when you feel like needing it. Don't stick into cargo cult practices. You'll learn "best practices" from experience and extensive reading, not from Internet posts.

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