Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Can we stop lumping C and C++ together?
I tolerate C
I love C++
I tolerate Java because of Minecraft
I love Python -
When someone says "i prefer c/++" im like yeah i also like spending unnecessary time on my hobby projects
-
@Demolishun They are lumped together because they are frequently used together. You write C++ graphics application/engine but your graphics API is C.
People who are fine with C are usually fine with C++, and vice versa. And the Java/python people usually hate on both, and not only on one of them. -
Root830134yI like C.
I like C++ significantly less, but it's alright.
I love Ruby.
I hate java.
I hate python; extra so because of its community. -
@VaderNT Both, but mainly the second part. If they said they prefer assembly, I might be ok with that.
-
VaderNT16594y@shoop well, I can. It was the precise reason why I decided to learn Python.
Back in the day when I was using XChat, I had downloaded some script for it. I don't remember its function, but it had a bug. Not knowing Python I thought, whatever, let's have a look. At the time I was learning Java and knew some C++.
And to my surprise the script was perfectly readable. I found the bug, an off-by-one error, fixed it, done. That impresses me to this day. -
Python taught me this:
data = [<random list>]
data2 = [x for x in data if data > 5]
So in C++ I was like how I do that:
vector<int> data = {<random data}
vector<int> data2;
copy_if(data.begin(), data.end(), data2. begin(), [](int d){
if(d>5)
return true;
return false;
}
More verbose, but same concept. My intro to functional programming. -
Leuljoe1284yI don't know about C but, C++ hates me. I don't care about java though I prefer C# over it but, love python.
-
Every language has its purpose. When my professor asks me to do a Data Structures exercise in C only and requires all the code in one big damn file because all he wants to see is if it compiles and if there's any matches with someone else's code (probably using software because he's lazy af) then yes C bad.
-
@aggelalex C is perfectly fine for data structures. About lumping everything in the same file, it's bad in any language.
-
@aggelalex prof wants to have an easy way to compile your code without linking. He has to do this for every student. Imagine the nightmare of compiling or trying to compile 50 different projects each with their own makefiles and dependencies. So from a practical sense I get why he would require that. Is it good coding style for large projects, no.
Related Rants
-
xjose97x18Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
JMoodyFWD48My "Coding Standards" for my dev team 1.) Every developer thinks or have thought their shit don't stink. If y...
When people say "I hate C/C++, I prefer java/python", I feel like, sorry guys, but we can't be friends.
rant
c++
standards
friendship