RoyalLaFlame
Banned
Fucking looooolWhy doesn't C++ have a garbage collector?
Because there'd be nothing left.
C++ is really nice.
Fucking looooolWhy doesn't C++ have a garbage collector?
Because there'd be nothing left.
Why doesn't C++ have a garbage collector?
Because there'd be nothing left.
Kinda weird to see all the hate for C++ on a gaming forum when games are primarily written in C++.... There's a reason they don't write them in Java, C#, etc.
I usually code in Atom and compile everything on the terminal when using Ubuntu. To be honest I prefer the simplicity of it.I thoroughly enjoy setting up my environments on OSX and Linux.
Kinda weird to see all the hate for C++ on a gaming forum when games are primarily written in C++.... There's a reason they don't write them in Java, C#, etc.
You have classes that teach you how to program?I went through C++ procedural a year ago. This semester i have C++ object oriented AND ARM Cortex M microcontroller assembly to learn!!! FUCCCCCKKKK
ignore the haters..Kinda weird to see all the hate for C++ on a gaming forum when games are primarily written in C++.... There's a reason they don't write them in Java, C#, etc.
So I'm on my first day of intro to programming. The very first assignment is to create the Hello World "program" and I can't even get javac to work. I googled my error- 'javac' is not recognized as an internal or external command, operable program or batch file- and set my PATH in environmental variables and it still doesn't work. This isn't my PC, but I installed Java SE. It's Windows 8, but that doesn't seem to matter. It's very frustrating to be stuck on what seems to be a very simple problem. Really wish this wasn't an online class.
Kinda weird to see all the hate for C++ on a gaming forum when games are primarily written in C++.... There's a reason they don't write them in Java, C#, etc.
Why doesn't C++ have a garbage collector?
Because there'd be nothing left.
You have classes that teach you how to program?
You have classes that teach you how to program?
Just asking because it would be really good for him. Every class I have is just like how you said.maybe it's simply that he has a class where he has to produce a final class project to be evaluated and they ask him to produce it in a certain language..
e.g. our language and compilers univ course required to "pass" theory oral examination, lab (written test on theory) and a pascal compiler written in c++...
That's really cool. I don't have any classes that actually teach me how to program - they just give me projects and I have to figure it out myself.For C++ yes. Assembly is not really taught but needed to control the microcontroller. - Electrical engineering
ignore the haters..
frankly i don't get it either, to each his own..
I like java, heck java is my primary language, but it's a slowpoke and at times and if you know what you're getting yourself into and what you're giving up, taking a plunge into a java system with some call on c++ code is NOT a failure, just a choice that carries some risk, but the rewards are sweet..
that beng said, i think they're just trolling just 'cause they feel like![]()
For C++ yes. Assembly is not really taught but needed to control the microcontroller. - Electrical engineering
they should stop using java in introductory courses.
they should stop using java in introductory courses.
You can create games with C# and Java. Many upon many indie Xbox 360 games are C# based. Minecraft is Java based.
With that stated, it's not at all weird to see C++ hate on a videogame forum. Just because it's what's used doesn't mean that people are obligated to praise the programming language. This forum is powered by PHP and I still think it's a shit language.
OP, sign out and back in (or restart) any time you change environmental variables such as PATH.
When you have a command window open type echo %PATH% to see what you currently have set.
Exactly. Python is a good language too although I know almost nothing about it.Java is a great starting language. It's not about the actual language but the concepts.
You can create games with C# and Java. Many upon many indie Xbox 360 games are C# based. Minecraft is Java based.
With that stated, it's not at all weird to see C++ hate on a videogame forum. Just because it's what's used doesn't mean that people are obligated to praise the programming language. This forum is powered by PHP and I still think it's a shit language.
Many universities have shifted or will shift over to Python for introductory classes. Mine did so a few years ago.
I think the concepts of OOP are horrible for beginners. I also think OOP as a default is a horrible idea.Java is a great starting language. It's not about the actual language but the concepts.
I didn't say you couldn't write a game in C# or Java; I said they were primarily written in C++. You'd never see Halo, Uncharted, etc written in C# or Java. Performance hits from garbage collection alone make them problematic.
Java is a great starting language. It's not about the actual language but the concepts.
Well aware, I'm just confused as to why you're shocked or rather why you expect people who actual program to praise C++ just because they happen to post on a videogame forum. C++ has fans as well as people who hate it. Not really shocking.
Well aware, I'm just confused as to why you're shocked or rather why you expect people who actual program to praise C++ just because they happen to post on a videogame forum. C++ has fans as well as people who hate it. Not really shocking.
Because I figure more people on a game forum who do have the knowledge and ability to program are more likely to have explored writing a game at one point or another. I figure there would be an appreciation on why you'd use C++ over another language to write games. I certainly appreciate it. Certainly beats the hell out of writing in ActionScript.
I'm relatively new to programming as a career, but why do you think this?I also think OOP as a default is a horrible idea.
Probably because its still one of the biggest programming languages in use, it has some decent (not great) IDEs that are free (big bonus for students), and its really easy to transfer the skills to c# later on.
Also, it makes sense to use something of a medium level of complexity, you know, to separate the wheat from the chaff early on.
Still seems like Python would be a better starting point. Most of what you just said still applies, except it's less complex.
I don't agree with separating wheat from chaff at all. We should be trying to make computers and programming more accessible to everyone. Not all of those people will eventually go on to be professionals, but let's teach them something useful.
(disclaimer, I've never programmed in Python, though I want to learn it at some point. Also, I hate Java.)
OP, you should re-ask this question when you get the Windows Path thing sorted out and are actually programming. But in general, yes it gets easier the more comfortable you are with it.
As for bashing a programming language, Javascript can go die already.
Lol Assembly is where it's at... plebs
Also: Java is fine for a first language. C++ is fine for a first language. Python is fine for a first language.I believe the instructor and teaching style are far more important.Javascript isn't.
Speaking of paths I really liked what Microsoft did with Windows 10 env variables. I hated looking at that long string of paths separated by semicolons.
This sounds awesome. However, it'd be nearly useless for people that take intro programming courses to supplement another STEM degree, which is probably why most universities don't do this. But for people who actually want to learn programming/computer science, it sounds wonderful.we did pascal + scheme first. I thought it was a pretty great introduction actually.
Yeah, I agree. A lot of students go in knowing this though, because there's a lot of money in those sorts of jobs right now.they aren't educating programmers anymore, just "devs" or whatever the hip term is these days. it's depressing really.
It's hard but once you actually start making things you will get some satisfaction from building working solutions. What does kinda suck is spending nine tenths of your time looking up documentation and combining+deploying solutions that other people already made into functional but somewhat opaque frankenstein solutions you only kind of understand the inner workings of. Much more fun to make something from scratch, although also often very labour intensive.
Either way, you then get to look at someone from the operations/sysadmin/devops side, sit back, cross your arms, and sternly state "hey, it works on my machine".