Python is top tier for scientific computing and data analysis. I wouldn't want to try and make software with it though.
Angel Barnes
Spotted the actual brainlet.
Justin Ramirez
It's used all the time in industry. It gets used a lot in science and engineering applications for data analysis, it's also used quite heavily as a glue language.
Python does a lot of things well but it's not a perfect language that encompasses every case. There's trade-offs for how it was designed, namely that it's quite slow as an interpreted language. Its object oriented paradigm is pretty weak. The amount of details it tries to hide to make your life easier also means you sacrifice a lot of programmer control, making it unsuitable for low-level applications.
Gavin Gonzalez
>proper multiple inheritance with sane linearization >support for cooperative inheritance >weak object oriented paradigm
The only weak thing about it is that it's weakly enforced.
Sebastian Bailey
...
Luis Richardson
...
Carter Gomez
>you don't have annoying semi colons and brackets etc...
can you really call yourself a programmer if things like these are considered "annoyances" to you? they just become second nature if you actually put forth the effort to learn the language
Jaxon Flores
Daily reminder that Python is now a SJW language for trannies and numales.
Lucas Ward
Reddit get out of here with your shitty ass bait.
Luis Parker
Why is Python 2 backward compatible with Python 1, but Python 3 is not backward compatible with Python 2?
Aaron Long
Yes. Regardless of the language, syntax is an annoyance, because it's always a tradeoff. What matters are the ideas you put into your program, the syntax is a necessary evil.
That said, I much prefer explicitly closing blocks. But I'm not a fan of semicolons if they can be dropped without causing ambiguity.
Wyatt Roberts
Apparently in Javascript semicolons are optional/redundant, with rare exceptions.
Christopher Lopez
>python 2 syntaxe Outdated meme
Kevin Martinez
>intentionally gimped FP >based no
Jackson Gray
>Python is my first languageIs >it the most based programming language? Everthing is super intuitive, you don't have annoying semi colons and brackets etc... You are suffering baby duck syndrome.
Java was my first language and I think it's awful and like python the best too.
Hunter Cook
good for you.
Xavier Martin
I miss for-else in other languages
Colton Fisher
That's because academia brainlets only write small proof-of-concept applications for their papers. So quick and dirty works for them.
Cooper Gutierrez
Syntax changes
Carter Collins
In what way is it awful?
Legit question, I'm learning it right now.
Kevin Fisher
Really, the only problem with the language is verbosity. For example a lot of times the types of your variables and methods can be inferred from context, yet you are forced to write them anyway.
Michael Flores
this is how I feel about all my professors we never deal with large codebases
Landon Gray
It's inelegant and inexpressive. It's tedious to do any work in. But as a learning language, it's fine.
Luis Morales
It takes like 3 times more code to than normal languages to do anything, everything is unintuitive, it and forces you to do OOP shit at all times. Just comparing hello world should be enough to explain to you why java is shit Python: print("Hello World")
Java:
public class HelloWorld{ public static void main{String[] args){ System.out.println("Hello World"); } }
Just printing something takes 21 key presses not even including what your printing. It takes 3 lines just to hello world. Now imagine having to write out all this verbose shit when working on a big project, it is an absolute nightmare.
Caleb Green
>everything is unintuitive t. moron. Java is designed for morons and unintuitive behavior is minimized.
Bentley Reyes
That's not what even what i meant.
Kayden Gomez
Python is very easy but that is flaw too, you can use it in easy places like the morphs for a 3d models and other easy scripts but if you want to write a application python is way too dumped down. If you to be a professional programmer you have to know many languages.
Jose Johnson
Hello world is not really representative of a real program though is it.
It's representative of just wanting to quickly do that one thing without writing a whole program, which is exactly what python is good for.
C# has the same "everything is an object" thing as Java going for it and its powerful and expressive.
Jayden Young
C# is exactly as inexpressive as Java. probably more.
Brody Myers
C# was always a lot more expressive than Java. Java caught up a bit recently but it's still not there.
Mason Adams
Daily reminder that trannies and numales also breath oxygen and drink water. I think you should stop doing those things just in case you become a tranny or numale.
Cooper Walker
The only thing C# has that Java doesn't is misfeatures. There's no such thing as "a better java" and you don't achieve it by haphazardly tacking shit on.
Hudson Ross
Is there a language as multiplatform as java but not java?
Luke Clark
Any JVM lang. Alternatively, C.
William Butler
>proper generics without type erasure >misfeature Java is tolerable today only because it copied so much shit from C#.
Gabriel Long
Reified generics are nice, I'll concede that.
Alexander Ramirez
Python 3 isn't even Turing complete. Point and laugh
Leo Torres
You need to move on, Zed.
Jeremiah Wood
That's not even the primary reason.
It's usually that they only need to calculate something once, then proceed with the results to do something else. They use Python in simulations, data analysis, shit like this. It isn't supposed to be used in a program that is expected to run well. When you write real programs you need to be decent enough to at least use real languages.
Nathaniel Watson
You can compile C to literally anything that exists.
Thomas Barnes
How do I program my cat to dance?
Brandon Turner
yeah you should watch your use of 'literally' user
Oliver Fisher
I had to Google that to find out what that was about. Found a Reddit thread about it and holy shit, that place has reached levels of autism never thought possible even on the most autismal boards of Sup Forums.
Of fucking course Python 3 VM would not be Turing complete if it somehow wasn't mathematically able to run bytecode generated from Python 2 source. The conclusion follows from the premise, but Zed's obviously demonstrating the flaws of the premise with a reductio ad absurdum.
Asher Foster
Also if those armchair mathematicians and computer scientists actually knew anything about those topics they would know that proof by contradiction is a real thing.
John Ross
...
Angel Evans
That definition only applies to the retsrded numale culture.
Jordan Roberts
agreed, just thought I'd show you what this world is coming to
Charles Butler
the word you're looking for is 'figuratively' the double-meaning of literally isn't fully accepted
Samuel Brown
Srs question. I know C and started getting into python recently. The things i read about it here really make me quit. Should i quit python and just start c++?
Landon Gutierrez
>academia brainlets
As opposed to cs undergrads circlejerking about programming languages? If python works, why bother with something else. It's also worth noting that most people who do a lot of numerical programming also tend to know c++, c or fortran for when performance is actually required. But of course, the general consensus is to just use whatever get's the job done as efficiently as possible, which also accounts for the time taken to write the program.
Ian Scott
or as that definition suggest, the word literally is being used incorrectly in place of the word 'virtually'
Liam Martinez
Python is the first language they teach you in a computer science degree afaik. Not an expert, but I'd stick with it.
Jack Myers
Only Startbucks-guzzling hipster faggots say "literally" when they mean "figuratively".
Carson Reyes
Alright, thanks.
Colton Reed
Just so we're clear, python 3 is theoretically turing complete (limited only by memory). You'd be retarded to claim otherwise. There are plenty of difficult proofs involving Turing machines, but this isn't one of them. Idk if that guy is serious or not cause I didn't read his shit, but I don't want any of you retards spreading that.
Brody Wilson
>I hear only Google really uses it Much companies and people use Python. Google, CIA, NSA and NASA for example.
Some of my cousins are studying physics, microbiology and pharmacy and everybody of them had to learn Python.
But Python isn't perfect. I like to code in Python and use it for smaller projects like crawlers, small scripts for greater projects or embed Python in greater projects to make it scriptable.
But for greater projects it gets very dirty if you don't be careful. I miss datatypes, braclets and templates which are not available in Python.
Nathan Garcia
Do trannies rule the ML space too? Because Python is all they use in intelligent algorithms.
Robert Martin
Man, everyone is using python.
Python is going to deliver machine learning to all us plebs.
I take it you are from outside the US? If so, what country? Just curious.
I love python and its my baby, but I'm OK learning Kotlin and Java . I think you are right but I generally am happy with most programming languages I encounter.
Josiah Kelly
Dude you must be a fat asshat of a kid. Who gives a shit. A few posts up there is a foreigner who clearly cannot speak a decent lick of english.
I usually hear that java is awful because of how declarative it is. IMO after coding some java for android, it's too low of a programming language (like C++) but you are working from the JVM and not the hardware. Not only that but the Java language is proprietary, and free. So there is commercial interests at heart.
Grayson Young
>I usually hear that java is awful because of how declarative it is. It's not declarative at all. Those people have no clue what they are talking about.
David Cooper
python is the first language for science
Jonathan Hernandez
what else is it for you want something that produces a windows .exe? you an idiot?
Ryder Hall
this is the idiocy ... here we have "just becauswe it's scripting' it's "easy" .. the idiot here says "easy places like 'morphs for a 3d model' .. python is a PROGRAMMING LANGUAGE, 100% .. he says because it's written in python its lesser. you ever tried writing a 'morph' or a 3d model. professional programmer 'many languages'? fuck off
Cooper Jackson
all the python haters, they haven't even used it .. question them in any depth, they have no idea, they're all wannabees with their fking obscure distro they can't even use.
Landon Collins
That's strange, I've been doing mainly C and JS and I used Python for one day and never used it again. The performance and the syntax thing are unacceptable to me.
Jeremiah Johnson
Python is easy as fuck to produce results with but in the end as the work carries on and gets more complex and resource-intensive you regret that you chose it.
If the project gets big enough there comes a point where you have to abandon python and rewrite everything in a more low level language.
Grayson Ramirez
Haskell /thread
Camden Cox
how can you compare javascript with python javascript isn't even a programming language it's minimal, it's like a macro language "shake and bake". it's what people who liked 'vb' use it's for morons
Isaiah Ross
javascript only exists because of the state of the browser market, the regression, caused by microshit. it's 2017 and they' ve built 'javascript' into this viability, somehow .. it is nothing. and they sneer at python. mode js is shit. it is only a javascript extension
Thomas Richardson
If you're using anything other than C++ and various assembly languages you should kys.
Nolan Jones
sepples is an abomination
Liam Torres
Nope
Owen Taylor
wtf is 'sepples'
Aiden Kelly
C++ also, what is FIOC?
Xavier Stewart
an x86 processor can't directly run python 2 bytecode either, doesn't make it turing incomplete I don't get the argument
Jonathan Mitchell
Fucking christ. Well can't be as bad as the tranny numales in ruby and JavaScript
Jayden Cox
the only good thing about python is that it is replacing php
Angel Gray
reading about "excel" (excel anniversary)
"The room went quiet, and nobody had the heart to tell him."
Lucas Myers
The room went quiet, and nobody had the heart to tell him. A company I used to work for had a sales director who was known for being a 'computerphobe' - and this was back in the 90s when there were a lot of them about. During a presentation, he handed out sales forecasts and figures that he had prepared using Excel, and everyone was pretty impressed that he had done that, as they know his particular ineptitude for all things computer-related. That feeling subsided when he announced: "This spreadsheet thing is great, so useful, but it would be better if it could actually add up the numbers for you"." "The room went quiet, and nobody had the heart to tell him."
Mason Cook
what i know from some "super duper" scientist is that they can only use matlab
its murder when they ask for some data, send them a csv and then they say "the data is corrupted, matlab can't open it".
Josiah Bailey
sad
Lucas Cox
learn to speak correctly you fucking pajeets
Josiah Murphy
fuck off
David Green
wow don't be rude!
Luke Clark
sorry
James Rogers
>Python is my first language and I have become proficient in it Don't get too cocky. I'd love to see some of your code along with your claim. I thought I was 'proficient' in Python after a few months, but then I discovered decorators etc
Josiah Johnson
>javascript isn't even a programming language How is it not a programming language?
Thomas Johnson
>javascript only exists because of the state of the browser market, the regression, caused by microshit. It was Netscape, you fucktard. Not that the alternative, VBScript, would have been much better.
Jace Brown
Matlab has no problem opening and parsing csv files.
Hudson Perry
>an x86 processor can't directly run python 2 bytecode either, doesn't make it turing incomplete >I don't get the argument
The Python maintainers said it was impossible for the Python 3 VM to support Python 2. Of course if this was true in the mathematical sense, it would mean the Python 3 VM would be Turing-incomplete.
Of course it isn't, it's not mathematically impossible, it's just a matter of policy. And the VM is turing-complete and Zed clearly knows it, he's just engaging in hyperbole.
Alexander Gray
> else statements tabbed left God no it's unreadable
Joseph Williams
I honestly hope no one takes this guy or his books seriously
Nathaniel Hall
Its because they spent a lot of time learning old, useless programming languages that are getting pushed out of the industry so they feel the need to furiously defend them.
William King
Verbosity is a feature -- and I hate Java.
Lucas Torres
Coming from C I found Python to be a fucking nightmare.