Best language for beginners?

I have a friend who wants to get into coding. I can't decide whether to suggest he start with python or java. While any statically typed language will teach better habits, all the cool stuff nowadays is being written with python. Any ideas?

Attached: java_tech.jpg (1024x768, 53K)

C

Both - it will serve as an introduction to one compiled lang and one interpreted lang.

Java, he'll learn more faster, but python is also never a bad choice

php
javascript
python
bash

The only languages that will ever be useful to your friend in that order

>php
Did your mom smoke, drink or did drugs while pregnant?

What's wrong with php?

Python if he's a retard, Java if he's not retarded
Imo it's better to learn good practice and then scale down to something easier to use but if he's going to get hung up on how a conditional loop works python will be less confusing

C, then C++

C is great for learning the basics and realizing its faults (the most obvious will be when he uses qsort)
C++ is much more complex and not the best, but solves most of these problems

after these learning any other C-like language should be easy enough.

>C
Based & C++pilled

python it is then.

HolyC.

Attached: terrydavis.gif (200x234, 2.85M)

Lisp

this is the guaranteed way to become an absolute shit programmer that will have his jobs taken over by younger devs

Protip:
Do NOT aim to make your living using interpreted, easy languages like PHP, javascript or python. It will make you easily replacable, since all of these are brainlet languages that anyone can learn in a few months to be productive

anyone that learns Java first is just kicking along the inevitable, slow death of the devil-language that should've died over a decade ago, imo.

I like programming physical things. Arduino is C (C++ to some extent), with a lot of hand-holding helper functions wrapped around everything. Very easy to get started.

fuck lisp

>he wants to get into coding

Already failed from the start, the act of coding is boring, the end result however can be cool.

What the fuck is ada? Is it difficult to learn?

Ada, the disassembler? Feed it an executable program of some kind, like a BIOS, and it can break it apart into the code that runs on the CPU itself... in all its complicated glory... and try to graphically make sense of it.

And while it tries to make sense of it for you, it presents it in the most user-hostile, backwards, senseless manner humanly possible, requiring its own uni course to learn how to use the damn thing.

fuck ada

Good foundation of java syntax + oo concepts + design patterns such as dependency injection, ioc, mvc, creation designs (builder, factory, etc...). Then learn algorithms and data structures. I think that's a good path

Haskell

Java -> C -> C++

Depends what he wants to do though? If he wants to do mobile dev for example, he could go Kotlin instead of Java, might be simpler for a beginner

fpbp

It depends on how seriously they want to get into it and what they expect. Language choice only matters in terms of how quickly they can get off the ground. Javascript seems like the simplest choice as it doesn't require much in terms of tooling to get started.

You are wrong

Worst possible choice you can make.

What about learning JS in 3 months, landing a decent job from it, and then studying another more complex language ready to job-hop in a couple years?

Friend of mine learned java at home and is working as a programmer for an automotive supplier now. He has a m.Sc in physics tho so he's rather smart

Ada, the programming language. Tbh, I don't know shit about programming. I downloaded Scala, a gnu programm for music that lets you experiment with tunings and so on. I'm baffled by it, can't use it as much as I want. It's written in Ada. I want to know, what the fuck should I learn in order to fully exploit Scala's advantages.

for a newcomer, either java or c#, i'd say java is better

Unironically Visual Basic .NET. It offers a smooth transition to C sharp.

>Visual Basic .NET
who's using that shit in 2000+19?

Me at my current internship, developing an ERP. VB.NET remains within the 10 most popular languages. There's literally nothing wrong with it.

There's no good reason to use it over another language though

>What's wrong with php?
it's too based for its own good

You could say that of any language, but you're still gona use any of them if your boss tells you to do so. Man up and embrace the VB.NET, queer.

Interesting. Could you share some resources your are using at your internship to learn it?

I wish I had any to begin with. So far what I do is
>get told in very wide terms what I gotta do
>start winging it
>get stuck
>look it up
>find the extact thing I'm trying to do in some Microsoft knowledgebase
>but it's always in C sharp, almost never in VB
>man up and figure how to make it work
>autocompletion helps a lot
>it works
I watched a 5 hour Pajeet tutorial on YT at first though. The one were he keeps writting Steven as Stepen or something

Shell/Batch >> JS/Python >> C#/Java(depending on choice of OS) >> C++ >> C

Attached: 5e815b5ec929317a816011b611e87cd1388aa56b12ffe2f1ddea90aa3ca435dc.jpg (1561x2048, 319K)

Unironically this. Learning C first teaches how things work internally, and as it is a small language, it is easy to write simple algorithms in C without introducing a lot of concepts. After some time playing with it, one can learn what a pointer is, and how to manage memory by hand, thus being a better programmer in other languages afterwards.

Like seriously, are you going to explain a newcomer what `public static void main(String[] args)` is ? What classes are ? Java is great to learn OOP, and I honestly think it's one of the best object-oriented languages we have, but for a new programmer, I would focus more on loops, basic math, variables, etc. That is easier in C.

Why not Python?

Scheme, Miranda, Scala, Haskell

No. It should be second language, or even third.

EVERYTHING!!!!1

read land of lisp

Kill yourself, shit wipe.

Oh god. The best schools, like MIT, rice.edu, and even Berkeley spend DECADES polishing Scheme-based courses based on SICP and HtDP.

On the other side of Atlantic best minds wrote classic courses in SML, Miranda and Haskell, striving to perfection

And now some fucking degenerates in a chink anime picture board argue that some See or Javascript is a good language. theu even mention Java or PHP, which would not be pronounced in public by any person of reasonable intelligence

fucking retards. disgusting

What world do you live in?Java and python in there pretty much the de-facto learning languages and every undergraduate CS program. Used to be Pascal but Pascal has died

what are you foaming at the mouth about, autist

Python, then Scheme and C

>Java and python in there pretty much the de-facto

Why, yes, and McDonalds and KFC are pretty much de-facto too.

The world belongs to idiots, is this a news to you?

Scheme shall be first. It keeps syntactic clutter away to focus on concepts and techniques.

The SICP is the book about techniques, not Scheme.

Idiots, idiots everywhere

I'm inclined to say Scheme first but people getting into programming, unless they have the intellectual curiosity, will want to make shit and see shit happen, which you can do quickly with python, that's the only reason why I recommended starting with it. If OPs friend is based then start with Scheme

c#

I feel the pain

python syntax is as nice if not better than scheme/lisp/meme

disagree

Lua
Visual BASIC