35

When people say "I hate C/C++, I prefer java/python", I feel like, sorry guys, but we can't be friends.

Comments
  • 10
    I tolerate C/C++, love Java and hate python. Can we still be friends?
  • 13
    Can we stop lumping C and C++ together?

    I tolerate C

    I love C++

    I tolerate Java because of Minecraft

    I love Python
  • 12
    When someone says "i prefer c/++" im like yeah i also like spending unnecessary time on my hobby projects
  • 4
    Erlang was here
  • 2
    @tekashi Or he is an embedded developer?
  • 2
    @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.
  • 1
    @NickyBones Yeah, that is true.
  • 0
    Friendship was never an option
  • 8
    Some people have post segfault traumatic stress disorder.
  • 2
    Python is kind of a mistake really in my opinion
  • 6
    @NickyBones I love C and hate C++. C++ is to C like funeral to fun.
  • 1
    To clarify: Is it because of the "hate C/C++" or the "prefer java/python" part?
  • 5
    I 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.
  • 0
    @VaderNT Both, but mainly the second part. If they said they prefer assembly, I might be ok with that.
  • 4
    what if i like C and don't like C++
  • 2
    I tolerate C, C++ and Java. I prefer python and C#.
  • 0
    @shoop data scientist *laughs in dollar signs*
  • 0
    @reij
    *laughs in typed, bracket-based, compiled and readable language*
  • 0
    @reij jQuery for data science! ^^
  • 2
    @shoop python is like the most easiest language to read
  • 0
    @reij it really doesn't, I personally can't just glance over some python code and tell what it does approximately
  • 3
    @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.
  • 0
    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.
  • 0
    I don't know about C but, C++ hates me. I don't care about java though I prefer C# over it but, love python.
  • 0
    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.
  • 0
    @aggelalex C is a bad because your prof. is an idiot? huh?
  • 0
    @NickyBones Nope, C bad when not used as intended. And my prof asks just that.
  • 0
    @aggelalex C is perfectly fine for data structures. About lumping everything in the same file, it's bad in any language.
  • 1
    @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.
Add Comment