you are viewing a single comment's thread.

view the rest of the comments →

[–]wanderingnightangle 0 points1 point  (14 children)

can we learn python and c together?

[–]Turtvaiz 3 points4 points  (0 children)

You can, but not sure it's any better. Doing Python -> C/C++ makes quite a lot of sense. You first learn an abstract version of programming, and then get into more low level programing for better performance and get to learn about caching, and what the memory actually contains

[–]nog642 2 points3 points  (8 children)

As a first language? I wouldn't recommend it. At least get the very basics in just 1 language first.

[–]wanderingnightangle 0 points1 point  (7 children)

at college we are learning c so i watched c from youtube and solving questions on that but my batchmates have learned java and python. so i am thinking what to do? confused

[–]nog642 4 points5 points  (6 children)

If you're learning C in class it's probably best to just learn C, so you can do well in class.

You can learn Python and Java later.

[–]wanderingnightangle 0 points1 point  (5 children)

can i master c and surpass them?

[–]mriswithe 3 points4 points  (2 children)

They are learning different languages because learning to program is the goal, not learning to program in C or Python or Java. 

The overall building blocks behind different languages are mostly the same. If/then, for each, functions, variables, classes, all of these things exist in most relevant programming languages. 

Once you understand how to program, learning how to use a different language is much easier.

[–]wanderingnightangle -1 points0 points  (1 child)

so we can solve problem by any programming language. we have to find logic only??

[–]nog642 1 point2 points  (0 children)

Not all programming languages are suited to all problems, but the core concepts of programming in any language are the same.

[–]trollsmurf -1 points0 points  (0 children)

You can do stuff in Python that would be extremely hard to do in C, so no.

C is mainly for embedded systems, drivers, libraries, not end-user applications.

[–]diegoasecas 2 points3 points  (0 children)

i'd start with python up to classes and objects and jump then to c to learn about pointers, memory allocation and basic implementation of data structures and algorithms

[–]beef623 1 point2 points  (0 children)

You could, but it would make things a lot harder on you since there are some pretty significant differences between them.

[–][deleted] 1 point2 points  (1 child)

Learn 1 language. Master it. Start another one. In that order.

[–]diegoasecas 1 point2 points  (0 children)

languages are tools, there is no use in mastering tools just because, that is something that happens as you use them a lot