POLL: What is better? Python or C++

well, C is still evolving separately since C++ started, only much slower. And you’d have to learn to code C the C way and not use C++ features

3 Likes

exactly headache on an entirely different level but it’s fine… I guess

2 Likes

Yes that is true, :smiley: lol

1 Like

Is it worth learning C? To me it seems not.

2 Likes

I mean honestly C++ is what I would recommend first, but C has it’s uses :smiley:

2 Likes

I would learn C++ over C.

2 Likes

Guess I need to research google about C

1 Like

lol this has become language talk thread :smiley: I like it!

3 Likes

For making software, usually no. But it can be used to teach how to properly think algorithmically and to teach low-level computer concepts, e.g. networking. It’s cool for embedded systems where you need to squeeze the best performance possible and may not have a runtime for other languages.

4 Likes

Yeah but arguments can be made that all that applies to c++ not only easier (by built in packages), but also used to teach OOP

3 Likes

Oh, totally forgot about perfomance; makes sense now

2 Likes

Yeah same.

A lot of people say that C++ is super hard to learn and hard to use; do not be scared of this. Personally it was kind of easy to me.

3 Likes

yeah, to reduce complexity afaik just use the good parts and practices of C++ and if you’re working in a team, follow guidelines on what this means

2 Likes

Just asking, is CPython such a thing? I heard it somewhere, and I have no idea what it is.

2 Likes

It’s basically where you can interact with c/c++ “things” in python or even compile python into c :smiley:

5 Likes

I wonder if there is an uption on there that says CPYTHON

LOL. I agree. Sometimes I randomly know a few lines from JavaScript that I do nothing with.

cpython is just the default implementation of python - it’s written in C.
cython is a programming language which is similar to python and is used to write efficient Python extension modules by compiling to C.

2 Likes

My friend did this once in a Python Repl for me, it was a while back but yeah it exists.

1 Like

Cpython does not compile python into c, cython does that. And I think Cpython, Cython, PyPy can all interact with C and C++ libraries.

3 Likes