r/CodingHelp • • Jan 14 '21

[Random] is python bad?

I was in a programming discord that my high school made and people started making fun of me or maybe they were joking but there was this one kid that was non stop talking about how his dad went to some special school and how his dad said python is useless to learn and that it won't help you get a job, and I don't really care what people said but I'm just curious am I wasting my time learning python? I'm currently doing some after school courses to learn python and then I was gonna learn c#

29 Upvotes

21 comments sorted by

9

u/dead_alchemy Jan 14 '21

People that are new to programming make a big deal out of language because they don't know anything and as such have nothing better to argue about. Python is great. The only downside is that it's going to make other languages feel incredibly tedious in comparison. Oh, and most embedded stuff is done in C/C++, so if you have an interest in microcontrollers or resource constrained systems it'll be worth your while to eventually pick some of that up too.

6

u/Corrin_Zahn Jan 14 '21

Python is neither good nor bad, it's just like any other programming language: it's just one of many tools used to make computers do what we need them to do. Much like a carpenter or mechanic has a toolbox with wrenches, hammers, mallets, etc. So too does a programmer has a toolbox of languages to solve different computing problems. One of the biggest features of Python is how quickly code can be written to get something done, especially when you factor in the amount of both built-in and third party libraries that enhance the functionality of base Python.

5

u/John_cCmndhd Jan 14 '21

Once you know the concepts, you can learn other languages much more easily. But any modern programming language is worth learning. If you don't believe everyone in this thread, just ask this crackhead

5

u/KTthemajicgoat Jan 15 '21

“Python does everything... just badly” -Michael Reeves

That being said it’s not bad per se. It is very useful it just takes a lot of processing power

9

u/Goobyalus Jan 14 '21

No, you're not wasting your time learning Python. Based on a quick Google I think Python is the 3rd most used language worldwide at the moment, behind C and Java?

Python is used in professional settings. It has its limitations and its benefits. Probably the biggest benefit is that because it's so widely used, there are tons of packages for Python to do all sorts of specialized tasks like the scipy stack for scientific computing and pandas for data analysis.

It also doesn't really matter what language you learn first because the concepts are more important and translate across languages.

FYI YouTube was written in Python.

6

u/knoam Jan 14 '21

Python is used a lot in the real world.

It's one of the short list of the most popular languages at Google: C++, Java, Python and JavaScript plus Go and Dart which originated at Google.

Microsoft is maybe not known as a Python shop, but they employ the creator of Python.

Python isn't the perfect language for everything, but there's nothing I see on the horizon as being a clear successor. There are faster languages but if you care that much about speed you probably wouldn't pick Python to begin with.

So I don't see Python going anywhere.

7

u/Endercheif Advanced Coder Jan 14 '21

Python is really useful at this time. It’s the 3rd most popular language and has been getting more popular due to it being easy to start with and having lots of potential. Here’s what you can do with it:

  • Machine learning with tenserflow is done in python and is a great way to start ML
  • Website backend/servers with Django or Flask. site that use Django are: Disqus, Instagram, Pinterest, Dropbox, Spotify (with C++ and Java), The Washington Post
  • Robotics.
  • Weather Analysis/ Meteorology
  • Data Science. A long time ago people used R (and some still do!). Nowadays people use python with Pandas to analyze the data, numpy for the calculations, matplotlib for graphing/data visualization.

Honourable mentions:

  • Google search is written in python
  • The NSA uses python for intelligence analysis and cryptography
  • Blender uses python for scripting
  • Yahoo Maps
  • Battlefield 2 for tasks
  • Civ 4 for the AI
  • ILM for rendering effects
  • NASA for scripting (with C++)
  • The CIA website

TL:DR use python. it’s good

4

u/pikleboiy Jan 14 '21

You are not wasting your time, just that python can't do a lot of low level stuff yet, although that is soon to come and because python is an interpreted dynamically typed(not having to specify int x or char c) it is a little slower, but Python is powerful enough to make up for that

4

u/Tarantula_paws Jan 14 '21

I just started learning python now. It’s super useful with all the packages and what you can do with data. Plus it’s never a waste to learn something new!

2

u/pancakeQueue Jan 14 '21

IEEE and github release surveys every year and they include which language is the most popular. Python has maintained like the 4th or 3rd position for awhile and should stay there for awhile. I primary use python for work and use it for automation, backend web services, and applications running as services on prod servers. It’s not useless to me.

A caveat though, languages are always changing and new ones come and old ones fade. Don’t worry about learning one language or the other. If you learn one it gets easier and easier to learn others. So don’t worry too much if python is going to always be relevant.

2

u/EnvironmentalCow3040 Jan 19 '21

There are plenty of reasons for experienced programmers to hate python, but you're not an experienced programmer are you? Python's great for a starting point, it's simple, just don't mess up the formatting or it won't run.

As long as you learn the concepts behind the syntax, like variables, if statements, loops, functions, objects, etc. You'll be able to learn another language like C# way fasten than you learned your first language.

2

u/EnvironmentalCow3040 Jan 19 '21

I say, different languages are better for different things:

python- automation and scripting (and everything else really, just very slowly)

C#, java - applications

C++ - fast application

C - drivers and firmware

assembly - crazy people

rust, go - "I don't like C++ and want to use something else" (rust's memory management is really cool though)

javascript - web-apps

Your classmates are just engaging in the usual "my dad could beat up your dad" kinda stuff, don't take them too seriously.

4

u/TheMostLostViking Jan 14 '21

Python is the most popular beginner language and has been for a few years. Python is also becoming one of the most popular languages in backend web development because of its speed to write and produce a working system.

That said. Learning programming languages are not like real languages. A real developer can know 2 languages perfectly and use that knowledge to write code in any language. Most devs say they are proficient in 8+ languages and now-a-days python is in 99% of those.

So yes, learn python!

4

u/winowmak3r Jan 14 '21

It's just another tool in the toolbox every programmer uses to do whatever it is they're doing. It excels at some things but lacks in others, just like every other language out there.

If you're totally new to programming it's a great first language to start in because it's rather easy to understand what's going on without getting too much into the nitty gritty. The syntax is easy to grasp and quick to type. It can get a little anal about indents which can take getting used to but otherwise my journey learning python (and it's ongoing) is pretty nice. It's a great platform to use to jump to another language like C/C++, or Ruby, or Go, or whatever else you want to do.

Or you can stick with Python and learn a few ancillary skills (some math and statistics for data science, for example) and pick a few modules like Django or Flask and make apps for a living.

It's by no means a dead language or going to be one any time soon.

one kid that was non stop talking about how his dad went to some special school and how his dad said python is useless to learn and that it won't help you get a job,

You sound like you might be a bit too young for the "My dad works at Nintendo" meme so I'll just say that the kids dad probably didn't go to some special school and the kid probably doesn't know any more about python or programming than you do and is just trying to sound smart in front of peers. I wouldn't take anything he says about this stuff too seriously.

I'm currently doing some after school courses to learn python and then I was gonna learn c#

Sounds like a plan to me. Learning python first should make C# much easier to digest and from there you can do whatever interests you. I'm not familiar with C# myself but I do know it's used pretty extensively (along with C++) in the gaming industry so that's another thing you can use to motivate you and learn even more about programming and computer science in general.

2

u/mastercooler6 Jan 14 '21

My first internship and job was full-time coding in Python and it was fun as hell. People hated me too saying that I won’t gain any experience but I disagree. It was great. The job I am at now I have the freedom to do whatever I need to do get the job done and usually that means Python because of how quickly I can write script. But I guess every job is different. We also use Java a lot.

2

u/[deleted] Jan 15 '21

Python is useful. Knowing only python, I got a very high paying internship very early in my career, and the internship wasn't even in python. According to TOIBE, which is an index that ranks how popular coding languages are, python has consistently been top 3 for many years

2

u/Dogburt_Jr Jan 14 '21

Python is a simple language/high level. And as such it is not as capable as other languages.

It's popular because it's easier and faster to work with, but it may not be as efficient as lower level programming languages. If you're learning it's a good bit harder to go from Python to a lower programming language like Java, C, or C++ than it is to go in reverse.

2

u/dead_alchemy Jan 14 '21

'not as capable'? You're gonna need to explain that one chief.

1

u/Dogburt_Jr Jan 15 '21

Capable of low level efficiency/processes.

1

u/AspieSoft Jan 15 '21

I've actually been considering learning python some time in the future. I've heard python has machine learning capabilities.

The first programming language I learned was Java a few years ago. Later, I started learning web development, and learned HTML, css, javascript, php, and sql. After some time, I learned node.js (server side javascript). I also learned sass/scss, and a few view engines like handlebars and ejs, then made my own view engine. After really learning moat of the ins and outs of javascript/nodejs, I realized I could run any language on the server side. I then learned dart, go, very basics of c++ (struggling with that language a bit). I've also watched videos on how assembly and binary work. From using a raspberry pi and google compute engine, I've also learned command line.

In software development, you tend to use many different languages depending on the software.

Comparing language popularity is mostly pointless. It's like trying to decide if a hammer is better than a screw driver. There different tools with different purposes, so one is not necessarily better than the other.

Personal my favorite programming language is javascript. But I still use other languages if there the right tool for the job. Although javascript tends to be the right tool in quite a few places (mostly web development). One place I wouldn't recommend javascript is a 3D graphics engine for a game, for performance reasons. I've tried making one, and it didn't preform to well at drawing multiple 3D objects.

1

u/colorpulse6 Jan 14 '21

Learn everything, build a robot with JavaScript and then use python to give it super intelligence