[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Which is the best programming language, and why is it Python?

The stories and information posted here are artistic works of fiction and falsehood.
Only a fool would take anything posted here as fact.

Thread replies: 95
Thread images: 8

File: pythonlogo.jpg (46KB, 680x459px) Image search: [Google]
pythonlogo.jpg
46KB, 680x459px
Which is the best programming language, and why is it Python?
>>
>>744888948
Right tool for the right job.
>>
C++
is there even a argument against ?
>>
>>744888948
obv. its Java
>>
>>744890625
Enjoy bulky runtime
>>
>>744888948
If I were wanting to change "career" paths now that I'm in my late thirties, and never learned programming before, which language would be best to learn for career options?
>>
>>744890783
Learning a single programming language is not enough to change career path, tbh.

Software engineering is more than just choice of programming language.
>>
>>744890783
start with assembly
>>
>>744888948
Visual Basic 6
>>
>>744890864
>>744890783
But learning Python as a first language should be a good choice. It's easy to install and get started, and there's plenty of resources online.
>>
>>744890898
kek
>>
>>744888948
Whitespace
>>
>>744890864
so true i just started and already had to learn java, python, c#, c++, prolog, lisp and other stuff.. 1 language will never be enough
>>
>>744890578
No argument. Fundamentals are all there. If you do that, you do anything.

I'm dot net based now, but a strong 6 years in Oracle and Java. All borne out of a C++ university background.

Everything is easy as fuck after that
>>
>>744891114
It's not only about the language, it's also about best practices, working in a team, working with revisions/source control, etc.
>>
>>744891212
very true
also its a lot of time investment so you should be ready for that
>>
>>744891114

Why the fuck did you have to learn prolog/lisp?

Or are you talking about school, not actually working?
>>
Any of you heard of Google Go? Any good?
>>
Lisp and Haskell offer advantages being functional languages and all, one of them is good threading support and well, lambda calculus. Prolog is apparently still great for machine learning.
>>
>>744892136
To my knowledge, it's still in its younger stages so if you're new, try Java or Python instead. I think more than anything the utility of Go is limited.
>>
>>744891921
worked in research and the leading prof used only this.. its a sad sad sad thing
>>
File: hailpython.jpg (41KB, 700x698px) Image search: [Google]
hailpython.jpg
41KB, 700x698px
>>744888948

Finally I can upload this picture. Thx based OP
>>
>>744890783
Depends a lot on the industry.

People don't think you're a decent programmer unless you have five years in the language they care about an a few years in a few other languages. Most of the languages you'd learn at first are more similar than not so in a certain sense it doesn't matter that much which you pick so long as you pick one and get started.

Python is the best to start with because it makes sense and it works well. It's used heavily in data analytics and by people trying to do computery stuff in a science.

C++ is a good language to learn because it's used in a lot of industries as well and it's not as "high level" as Python, which means you have to do some of the grunt work on your own that Python takes care of without you saying anything. It's not arcane by any means but it gives you an appreciation for how much a language like Python is doing for you. Intolerable computer dorks will smirk at you sometimes if you only know Python and Java, but if you know C++ they look at you as a potential convert or something.

Java is another good secondary. Android apps are usually written in Java. Java and Javascript are two entirely different things.

If you're looking at a field that involves a lot of statistics then you should know R. There will be crusty shitheads on here who don't like R or say they can do everything R can do in some Python module but not knowing R and trying to get a job in stats is a joke in 2017 and the truth is that R is very good at what it does anyway.
>>
c
>>
>>744890400
This is the only good answer. Or the language you are best at.
>>
>>744888948
I prefer R for my needs.
>>
Python isn't even a programming language, it's a script language. But unlike all the java script kiddies who think they are actual programmers, most python guys usually at least know their way around some real languages...
>>
>>744893306
>C++ is a good language to learn because it's used in a lot of industries as well and it's not as "high level" as Python, which means you have to do some of the grunt work on your own that Python takes care of without you saying anything. It's not arcane by any means but it gives you an appreciation for how much a language like Python is doing for you. Intolerable computer dorks will smirk at you sometimes if you only know Python and Java, but if you know C++ they look at you as a potential convert or something.


C++ is a fucking pain in the ass and definitely not what i would recommend to beginners. I mean, just look at the bulky, fucking ugly, unreadable code. Not to mention all the pointer hassle and a billion memory leaks...
>>
File: 1489772733485.jpg (278KB, 1600x1100px) Image search: [Google]
1489772733485.jpg
278KB, 1600x1100px
C++ Programmer here.
There is no such thing as a "best programming language" no matter how much we love the one we use the most. It all depends on what you want to do.
>>
Ruby
>>
>>744888948
Python is like the all-purpose language right now. Really easy and powerful. If you want more low level stuff c++ or c (if you dare). Javascript is nice too.
>>
>>744893801
It's easier to climb a mountain without a monkey on your back but if you get a hundred bucks for having a monkey on your back and nothing if you don't you should at least consider letting it ride back there. Depends entirely on his goals.
>>
>>744888948

I'm not programmer in any way but I like scripting with Python and PHP (Functions!!) it fits my home automation and IoT bot requirements or any other automation projects I have dabbled with Visual Basic for the front end for some of my projects.
>>
>>744894135
What the fuck are you talking about?
>>
>>744894225
Fuck off?
>>
>>744894338
>>744894225
i forgot how nice and kind programmers are!
>>
>>744888948
Qbasic
>>
>>744894338
I understood what you were trying to say after reading it 3 times or so.
What are commas, what are semi colons.
>>
>>744893659
everyone agree with this?
>>
>>744894457
What the fuck did you just say you little shit, I'll have you know I graduated top of my programming class..
>>
>>744894135
I don't get why it depends on the monkey's goals?
>>
>>744894559
>>744894688
yea, still confused about the monkeys goals.
>>
>>744894686
that changes everything!
>>
>>744894621
No. A majority of modern programming languages are "scripting languages", but as long as they are JIT compiled and use a fuckton of optimisation techniques, and modern compiled languages such as C# and Java have to bundle an entire runtime, the distinction is completely arbitrary.

t. C programmer
>>
>>744890913
VB6 born and raised.
End Sub
>>
>>744894879
lol
>>
>>744894879
kek
>>
File: leave now.gif (994KB, 496x368px) Image search: [Google]
leave now.gif
994KB, 496x368px
>>744890625
>>
>>744894751
the monkey is like yoda, you have to let it guide you without guiding.. right?
>>
>>744895311
there's no way someone can save that monkey metaphor
>>
>>744888948
laravel
>>
if you're not programming in assembly you're writing fanfiction and letting your computer do the real men's work
>>
>>744893801
Yes, c++ can be pain in the ass, but for a beginner to learn that is also learning how memory and computation work. Simple as that, c++ is all about playing with memory.
>>
>>744896026
Fucking A /b/ro
>>
>>744892564
>Copy-Pase
>Pase
>>
>>744888948
Python is the "way to go" if you tend to find a solution for more "pragmatic" problem; easier work for higher level stuff. Easy to learn, easy to work with.
>>
>>744890898
Which one?
>>
>>744888948
You'll laugh but I started with HTML in highschool and then went to CSS, SASS, then Java, then Python and Ruby and finally C++.
>>
>>744888948
c++ is best for coding games, if thats your thing
unity is also a great tool to help out
>>
File: 1474118959321.png (40KB, 1620x774px) Image search: [Google]
1474118959321.png
40KB, 1620x774px
>>744896489
C is all about playing with memory.
C++ wraps that together with a standard library, and promotes object oriented programming.
>>
File: eaDPw.png (269KB, 576x518px) Image search: [Google]
eaDPw.png
269KB, 576x518px
>>744896026
>>
Is Rust of any intérêt?
>>
>>744896850
Are you retarded ? C++ is the best motherfucking language.

Ps: if you never programmed in C/C++/assembly you are not a programmer just a script kiddie
>>
>>744896989
True that :)))
But I personally wouldn't suggest someone to learn C due to the difficulty of working with it. Today people learn the most practical environment, the easiest way from A to B, sadly it's not lower level stuff. :/
>>
>>744893801
>Not to mention all the pointer hassle and a billion memory leaks...
From C++11 and onward, plenty of constructs were added to reduce the amount of pointers and manual memory management.
Also pointers aren't so complicated... you can hardly call yourself software engineer if you have trouble with pointers.
>>
From a neurological perspective it doesn't matter much which language you learn. You need to form patterns and connections in your brain that are up to the task. That usually takes at least a few years to completly retrain yourself. So important is 1. start now and 2. don't expect instant results, based on your current brainfunction it might take more or less time to adapt.
>>
>>744888948
C++ for me.
Otherwise 6502 Assembly.
>>
>>744897972
C++ had methods for avoiding pointers and shitty memory management even before C++11, but no one uses them because they aren't taught in freshman textbooks. Pointers and manual memory management is one of the first things taught with C/C++ because you need to know how it works, but students confuse those lessons with "this is how it's done".

I had people in my postgraduate software engineering classes who would use heap and pointers when you could instead be using stack allocation and const references.
>>
>>744897788
As Bjarne mentioned in the pic, "there is simply no reason to be using C". And unironically, he's right.
>>
>>744898289
Never had the willpower to learn assembler.
It looks cool an' all, but I just don't see the use of it.
>>
>>744899559
>And unironically, he's right.
Not really, C gives you less overhead than C++.
You can compile C with a C++ compiler if you like two, but that is pretty stupid since you have plenty of C compilers and one day you might hit one of the corner cases where some C code is actually not valid C++.
I like both C and C++, I don't really see the point of fighting over which one is best.
>>
>>744899763
When you hit some low level code it is kinda unavoidable.
Whether it is for booting, calling some maintenance/configuration instruction or handling interrupts, you have to use some assembly.
Writing a program in assembly from scratch is pretty stupid and unmaintainable. Apart for some challenge/competition there is no valid reason to do that.
One case where it might be useful is if you think you can optimize what the compiler does, but again, that is kinda dodgy. (Or if you work on a compiler back end)
>>
>>744899763
When you're optimizing problem areas, you'll occasionally have to dig down and see what exactly the compiler is outputting. It's been a while since I've had trouble with a C compiler, but a build of GCC fucked me over about 10 years ago.

I have to check the output of LINQ to SQL all the time to discover why it's being retarded. It's the same principle.
>>
File: 1494711428933.jpg (733KB, 3702x2198px) Image search: [Google]
1494711428933.jpg
733KB, 3702x2198px
>>744899970
I can see where you're coming from. But it's pretty outdated, whereas C++ continues to improve.
>>
>>744890783
Python and get into machine learning
>>
>>744900387
Well actually to be fair, I forgot to say it can be useful to debug some obscure issues in compiled code.
>>
>>744900700
Well C has chosen to stay simplistic, with few fundamentals allowing you to do a lot. That's why even the latest standard didn't add much.

C++ has fully accepted complexity and is not "scared" of adding things in. Giving more tools, more constructs for design, but more complicated to learn and understand. When you look at C++11 vs C++98, a lot has changed, but a lot of code bases didn't. So even if you learn C++11 or later, you might end up working with dated C++98 (with issues that were fixed in later standards). So in the end, even if you say C++ is not dated, you might have to deal with the complexity and with dated code.

Whereas C just requires you to learn its fundamentals and you are good to go on any decent code base.
>>
>>744901487
yes and no. It's keeping a lot of the old stuff for backward compatibility, but a lot of the stuff is deprecated. The compiler will even give you a warning; prompting you to use newer versions where applicable.
>>
File: 1503966317008.png (51KB, 183x183px) Image search: [Google]
1503966317008.png
51KB, 183x183px
>>744888948
>filename
>LOGo
>>
>>744888948
/b/ sure to program this into your calendar for tomorrow https://twitter.com/JGreenblattADL/status/907330079012814850
>>
>>744890898
It's assembler, not assembly ya fuckin noob

Fuckin kids, I hate the lot of ya
>>
>>744898289
>>744899763

>I cut my assembler teeth on 6809
>back in the days when hardware multiply was a novelty
>>
>>744894671
not sure if stupid or liar or b8
>>
>>744888948
Java, Arduino
>>
>>744888948
raspberry pi is good to start with ive been using mine for more than 2 months already and i simply cant stop learning
>>
>>744888948
Python fuckin rules
Anyone that says otherwise doesn't know shit
>>
>>744893659
Go back to 2003 bitch
Js sucks but with the advent of node this argument is retarded
Also "actual programmer" is equatable to script kiddie these days. What we need is engineering
>>
Best for this day and age is probably Ruby since it's made for webapps and you can learn it easily then make some cool basic webapps. Then make better ones and profit from them.
>>
>>744893847
Fuck off faggot you clearly know absolutely nothing
>>
LISP and C are the best programming languages
>>
>>744896026
Ok
Maybe if I were writing a new fucking protocol but for the average needs of any business or application you can eat a thousand donkey dicks
>>
>>744900700
That image made me chuckle.
>>
>>744888948
Python isnt the best programming language because its a scripting langauge
>>
>>744888948
Python has disgusting syntax and code flow.

Anyone who likes Python probably has little to no experience with real languages such as C++ or C#.
>>
>>744907138
came here to say this
and rep C#

and not unityfag C#, real C#
Thread posts: 95
Thread images: 8


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.