If all programming languages have one seemingly debilitating flaw then which one should I start out learning?

if all programming languages have one seemingly debilitating flaw then which one should I start out learning?

Attached: 1_L5QyrMNalM3yhtgdgBcvkQ.png (762x436, 145K)

Other urls found in this thread:

insights.stackoverflow.com/survey/2019#most-loved-dreaded-and-wanted
twitter.com/NSFWRedditVideo

Jow Forums consensus:
C for hardware
Python for jobs that don't make you want to stab your eyes out
Haskell for... elegance? It's a thing, anyway
Javascript if you want to buy your village a new cow

Learn a language that has a lot of the best libs for things you want to do.

Yea, these libs tend to ultimately concentrate on one language and stand in for about 2000+ other programmers like you, so they're kind-of important.

>Javascript if you want to buy your village a new cow
audible kek

x86 assembly

Legitinate question: If all you need for programming is math, knowledge about algos, structures etc then why isnt there an universal programming language? If knowledge of language is secondary then isnt language itself irrelevant?

Attached: 1561825764156.jpg (640x1130, 98K)

Attached: standards.png (500x283, 24K)

>If you only use a hammer to beat things then why there are a lot of different hammers?
Because different ones are better used for 2cm nails, 20cm carpenter nails for roofs and for breaking ferroconcrete.

Programming tasks can be very different. It's not feasible using javascript to program a 2MHz 8bit AVR with 4kbyte RAM and it would be pure masochism writing photoshop and a modern 3d videogame is RISC asembly.

its all about problem solving, and different languages are optimized to tackle different problems. you wouldn't want to use erlang to make a video game. and likewise, once a universal language exists, it may capable of solving any kind of problem but for any specific problem that needs solving there will be a more efficient, specific set of tools that a programmer will opt for.

>then which one should I start out learning
which ever one suits your needs

>anything to with porn; acquiring, sorting, making
python
>bideo bames
c++/c# + unity
>embedded shit
C
>absolutley nothing useful
ruby
>ensuring you have a job as a back end dev in 10 years when companies realise frameworks and microservices are fucked
php
>being able to impress other nerds
asm
>quick and dirty POC for exploits
python

Python cause it's easy

Programming language is just a tool - you take a task you want to solve and then you chose a language.

JavaScript, you can do frontend, backend, desktop apps, mobile apps in it, it's everywhere

As utterly boring as they are, Java or C# (probably C#) are the way to go if you want to have just one language under your belt.

They are very solid languages with plenty of libraries available, lots of training, lots of support and lots of places use them. They are about as usefully general purpose as you're going to find a language to be in the modern world.

Neither may be the absolute best language to pick for a given domain, but they can tackle most fairly compentently.

Once you know one of them, it's fairly easy to transition into other languages as well if you need to.

Why not create a game with erlang?

The only correct languages to start out are Common Lisp or Scheme.
A beginner shouldn't be bothered with fancy operators, precedence rules and other language-specific gimmicks, he has to understand the broader, more general and fundamental concepts first.
THEN you can learn whatever specific language you want. But before learning a certain programming language, actually learn to program.

I like c

because erlang isn't video games

It depends on how autistic you are.

Are you just into cool tech stuff and want to try programming to do fun things bit don't have a lot of time or find want too much overhead to start?

Python is great for that, and that's why it's popular.

C# for versatility
Java or PHP for employability
Python for all things data and AI
C/C++ for hardware (you won't)

Common Lisp is full of gimmicks that you have to know in order to use the language. Just use Scheme.

Joe Armstrong once gave a talk with (short!) lists of books and papers to read, things to learn etc., among which was a list of four programming languages to learn (he also mentioned bash in one of the other slides but apparently didn't consider it a full programming language. Those were
C
Prolog
Javascript
Erlang (somewhat unsurprisingly)
I think it's hard to beat that list in terms of paradigms and use cases covered with just four languages.

>For web and microservices
C#, node.js, Java, Scala

>For IOT
Scala, java, C/C++, node.js

>For embedded
C/C++

>For AI
C/C++

>For womans, zoomers
Python

>For when on the dilation station
Rust

>IOT
yikes

Assembler. It has no flaws, at all.

Lisp exists. And it makes your beard grow. You just have to reinvent everything.

Python ofc

Like it or not this is where all the jobs are, at least in the US. Industrial IOT to be specific. Plus, there will be more jobs in about 10 years as companies realize the IIOT deployments they depend on are a giant barely-functioning security risk

Rust.

Attached: Capture.png (783x601, 34K)

I am loving Python at work. I would do my work for fun in my free time if I wasn’t paid hourly and didn’t refuse to work for free on principle

>sample size: 3 people

This. Kys if you learn something else.

>90,000 developers
insights.stackoverflow.com/survey/2019#most-loved-dreaded-and-wanted

I've seen a job for making UI's for industrial robots. They use [spoiler]React[/spoiler]

yeah sure, 75000/90000 wrote enough Rust so they can tell they love it

Any strongly typed language. This means C, C++, Java, C#. Using a weakly typed language will rot your brain.

learn real fucking language
programming ones are for nerds
I recommend german for starters, very similar to english but introduces new concepts found in other languages

Daily reminder that Python is strongly typed

If you want to feel smug about being unemployed, learn Haskell.

C is weakly typed.

>Python is strongly typed
>C is weakly typed

Attached: Idiot Day.png (954x582, 732K)

C does a lot of implicit type conversions, Python does basically none. Your image is the pot calling the kettle black.

Attached: brainletcastle.jpg (645x1000, 107K)

I think you're confusing statically/dynamically typed with strongly/weakly typed.

a = '1'
a = int(a)

Python is weakly typed. Explicit conversions are still conversions.

>Explicit conversions are still conversions.

Attached: brainlet.png (645x729, 77K)

I'd learn at least one from each quadrant:
static-types | imperative => C++, C#, Java, Rust
static-types | functional => Haskell, Scala, OCaml
dynamic-types | imperative => Ruby, Python, JS
dynamic-types | functional => Clojure, Erlang

>Jow Forums consensus
Doesn't exist

Well, it really depends on what you want to do. Programming languages are all just means to an end after all. If your goal is just to start learning, I suggest Python.

I approve of this post.

This person knows what's up OP

C is good for operating systems and embedded systems, that's about it right now in the market. This is my favorite language due to the simplicity of it, you can learn every feature of the language in a 200 page book (K&R C) while an intro to Java book is over 1000 pages. You do have to be careful because it let's you do literally anything you want, so sometimes you can shoot yourself in the foot if you aren't being smart and careful.

Don't learn Java, it forces you into the object oriented paradigm whether you want to or not. It is extremely verbose and I find it very unintuitive and clunky. Definitely my least favorite language of all time, I hate it. It is safer than C (most languages are) but the way it does this is by sawing off your legs so you cant shoot yourself in the foot.

Python is a pretty decent language that can do some really cool things when it comes to machine learning and scripts. I mostly use it as a tool to help my other code run, and it is a great and powerful language

C++ an extremely versatile language, it gets a lot of hate because it has 5 different ways to do everything. It is pretty good of a language if you don't go crazy with the features and try to keep things as C like as possible.

Cont.

Haskell is extremely different than all other languages because it is functional, I would recommend pursuing this later on because the skills you learn from it won't help the other languages you try to learn, think of it like all the traditional languages are partying at some beach and Haskell is alone at home, knowing Haskell won't help you know his friends, he has none

Rust is in a weird spot right now, some people are die hards for it and others think it's silly. It's goal is to be a replacement for C/C++ but with the current state of the language I don't think that will happen for at least another decade or two, I would also never use it in production because it hasn't been around long enough to see what will really happen with it.

Go is a neat language with an emphasis on multithreading, personally I did not enjoy learning it but I know some people who rave over it

C# is good if you want to build mobile apps (using Xamarin), GUIs, or video games. It is a really versatile language that's pretty good at what it does. It is basically Microsofts version of Java, but no where near as shitty

JavaScript is a language I despise for being very inconsistent and terribly designed. However, if you are going into webdev it pretty much the only took you have and it is pretty decent at it's job.

either Python or Racket

Did you get dropped on your head as a child?

if you're gonna rate js, at least give typescript it's credibility

Never used typescript, I would love to be informed about it! :)

...i started with c/c++ and working now with pyhon, would not change anything.

Attached: 1417872864001.jpg (940x529, 64K)

it's typed javascript

Closest thing we have is C.

This is so wrong, I love C more than any language but you're ignorant if you believe it is a universal language that works for everything. There are languages that are MUCH better suited for tasks than C, to say otherwise is stupid.

Surely you mean Turbo Pascal.

>to buy your village a new cow
Or just pay rent, buy stuff for your children, attract a wife with an actual job, etc. I'll grant anyone that JS isn't the be-all end-all, but in most parts of the world your odds in finding a more generally applicable language to make some kind of money with is slim. Yeah, you can relocate to a coastal tech hub in the US and make bank with whatever is in fashion, but JS can earn you decent money working from wherever you already are.
>t. thirdworldnigger on upwork

programming seems to be done by people who build pride on taking the difficult path to do something
there's so much put into how it "looks" or whose preference of extra characters are used
you could parse just about anything with pretty few limitations
the way we go about programming is ancient in it's thinking and therefore creates a ton of problems

programming shouldn't be so opposite to how you naturally think about the world and interact with it
if you've got your head underneath the hood so long you can't only help but see things that way

and you of course yell at anyone who says you're all faggots stuck with your heads under a roof when you don't need to do it that way anymore

There should be no reason why when person 1 looks at persons 2 code there can be so much variance in what they each write it's like having to jump inside the other persons head

does natural language work like that? do I have to teach you my own special slang to talk to you or do I just use what most everyone else likes to use?
By all means, you can act like a bunch of hood knee grows and have your own dialect but everyone else thinks you're a retard
programmers are like that, needed but generally hated by the population and for good reason
so they don't get nearly as much scrutiny about their job and tools for it

most programmers are faggots
why do you want to be a faggot?

based turbo pascal user

>does natural language work like that?
Yes, actually. The language we use daily can only convery very simple information, which is why we can understand each other easily. Now, when you read, for example, scientific articles or philosophical textbooks you spend a lot more time on individual sentences. The syntax is simple, but not the semantics.

Same in programming. Difficult problems require difficult solutions. It is a shame there isn't any sort of ubiquitous language like the standardized blueprints are for engineers. But who knows, I don't know any civil engineer, maybe they have similar problems in conveying meaning.

OOP should be avoided if possible, then choose any procedural language of your choice.

nope still didn't get my point
I'm not talking about using natural language fuckboy
nor am I saying chuck out specific tools for specific jobs
I'm saying all the tools are shit because they've decided to be all very very similar when you step back and stop worrying about this shit 24x7 or doing the job
and yes supposedly they already do what I'm bitching about, but nope
they don't

I don't have a solution I'm just saying it's trash and it should be ridiculed as trash
new and better should exist
but every language has to be some sort of hammer
even if cleverly disguised
it's still gay balls

You write like a faggot, and I still don't get your point (I actually thought it was pasta from the way it was written). Your problem is that people worry too much about the syntax, while the core of programming is broken?

OP please ignore this trolling idiot. If you practice you will learn to write very readable code and document your work so any idiot can see it and understand what's going on. This guy is just some programmer wannabe who has his head stuck too far up his own ass to learn good techniques.

Programmers also don't always choose what is difficult for "pride", if you believe that you need to stop being an edgelord and grow up. I for one always use languages and libraries that are appropriate for the task. I despise JS but am I still gonna use it for my website? Of course. I want to try machine learning but am I going to use Java? Hell no I'm using Python. I want to develop software for a microcontroller, looks like I'm using C.

This person doesn't know the first thing about professionally programming and creates a toxic attitude that you should avoid

>embedded
C
>need for speed, talk to native libs
C++
>indie gaym, webshit, RAD, mobile apps
C++++

no not just syntax
see I'll write how I want to write
and it bothers you
you'd rather me write it out in a way that you prefered. just like you'd rather hear me speak like you.

so you can use the faggots hammer of the day language and write some code
perhaps you'll have a rewiew on it and everyone in the company can try to flex nuts and nit pick how you wrote it
when it works
perfectly fine
or they see it and claim it's gods gift to all programmers far and wide

more than often there is no time for a code review and you have to go back and read your coworkers awful garbage that makes you take pause to get inside their head to see what they are doing
they don't comment of course
but I'm sure in your ideal job everybody just does everything perfectly right?

these kinds of problems are endless and annoying as fuck and why I hate programming now
I've seen so many other peoples code but instead of everyone seeing and understanding right away
there's always someone who doesn't

why would you use tools like these?

and another dummy misses the point

Based answers Anons

> programming
>trash
> autistic unix Anitu waifu worshipping website

Yeah,nigger you got us,we are on suicide watch! It is so amazing that you can connect to this place by using your dense faggot energy!

Please go to another board if you're gonna screech and rant about "how all X are faggots"

I still don't get what the hell your problem is. That people write things differently and there is no standard that you have to follow to the letter? That people don't comment?

Go home, user and get some sleep. You're high or drunk or whatever. Just don't shit up Jow Forums with your ramblings that nobody understands.

This

>why are there different sized hammers and screw drivers I only want to use one type

Attached: brainletnpc.png (324x362, 45K)

Holy shit

whats the best backend language for rapid prototyping? js or ts with node?

If you're just prototyping, the best one is whatever you already have experience with.

>it would be pure masochism writing photoshop and a modern 3d videogame is RISC asembly
I've done it and it was fun. Most people don't realise that CS:GO is written purely in assembly, that's why it runs so well.

what if I don't have experience with none?
my idea is to learn a language to rapid prototype a product, then once this product hit its limit I can switch to a better/scalable language like java; what I meant is that twitter was made in ruby then switched to scala, facebook was made with php then switched to hack/hhvm etc, you get me?
I'm a complete beginner so Idk if what I said makes much sense... maybe I should focus in git gud in one and only one language like c# or java and stick with it forever
thanks for replying, user

I'm a code monkey so take my opinion with a grain of salt, but I would suggest just starting with a scalable language from the start. Facebook and Twitter are giant corporations, so they can afford taking their growing project that's hitting the limit and convert it into a scalable architecture. No sense in doing the same work twice.

The universal language is known as "pesudocode".

I wish i could program. I graduated in cs but never made it past the algos and structures part. I need a job. I dont understand why i have such a hard time with it.

>Common Lisp is full of gimmicks
I've never heard a more succinct description

I agree with you but I want to work in startups and from what I've read time to release a minimum viable product to the market is key, which is achieved with stacks like MEAN or MERN, python with flask or django, php/laravel, ruby/rails. I'm pretty sure there exists successful startups that started with a scalable language but, unfortunately, I've never heard of
thanks user

The most important thing in video games is performance because you are dealing with a real time system. Erlang has awful raw performance because it was designed from the ground up to be distributed and abstracted from the hardware.

square head screws are the only one that should exist though.

depends on what do you want to use the language for
Pro tip: Avoid PHP at any cost. It's a shitty language

This is word for word what my boss told me the other day when I asked him for a project to work on in Python

because no one can ever agree on anything

>it gets a lot of hate because it has 5 different ways to do everything
Does Jow Forums hate Perl too because timtowtdi?

C, Python and JavaScript is all you'll ever need

why is that user, would you mind elaborating? even with php7?

Not that user but the creator of PhP claims he is not a professional and it was never intended as a programming language

>Does Jow Forums hate Perl too because timtowtdi?

What is timtowtdi?

Not him but, PHP has lots of flaws, like IIRC still going through the code despite having found errors.
Lots of breakages.
Frameworks like Laravel make it bearable, but there's also just too much people into PHP due to how entry-level it is that you're basically competing with 3rd world countries for scrap pay.
Not to mention maintaining legacy PHP code is a nightmare.

t. 3rd world who maintained legacy PHP code

Attached: Why-01.png (659x380, 15K)

Serious question, which country and university did you manage to graduate from in CS and not be able to write a program?

what to use in place of php? anything, even python?