What programming language to learn | Chris Lattner and Lex Fridman

  Рет қаралды 136,360

Lex Clips

Lex Clips

3 жыл бұрын

Lex Fridman Podcast full episode: • Chris Lattner: The Fut...
Please support this podcast by checking out our sponsors:
- Blinkist: blinkist.com/lex and use code LEX to get a free week of premium
- Neuro: www.getneuro.com and use code LEX to get 15% off
- MasterClass: masterclass.com/lex to get 15% off annual sub
- Cash App: cash.app/ and use code LexPodcast to get $10
PODCAST INFO:
Podcast website: lexfridman.com/podcast
Apple Podcasts: apple.co/2lwqZIr
Spotify: spoti.fi/2nEwCF8
RSS: lexfridman.com/feed/podcast/
Full episodes playlist: • Lex Fridman Podcast
Clips playlist: • Lex Fridman Podcast Clips
CONNECT:
- Subscribe to this KZbin channel
- Twitter: / lexfridman
- LinkedIn: / lexfridman
- Facebook: / lexfridmanpage
- Instagram: / lexfridman
- Medium: / lexfridman
- Support on Patreon: / lexfridman

Пікірлер: 210
@duck__dodgers__5294
@duck__dodgers__5294 3 жыл бұрын
At least this guy didn’t say you should learn Assembly first
@tomasma4896
@tomasma4896 3 жыл бұрын
I think for every programmer it is worth of few hours to take a look at assembly to know how computers actually works.
@jamesbutson6347
@jamesbutson6347 3 жыл бұрын
@@tomasma4896 Enough time to understand a basic level of jumps, compare, basic maths and memory should be enough in my opinion.
@ChadZeluff
@ChadZeluff 3 жыл бұрын
Since hearing George talk about Assembly and hardware, I began building an 8-bit CPU across 16 breadboards (look up Ben Eater!) and I’ve made excellent progress on an NES game in 6502 Assembly. I am pretty stoked on George’s words and recommendations.
@mplovecraft
@mplovecraft 3 жыл бұрын
It was the second language I tried, but at 12 it was too tough for me and I ended up putting programming aside for another 3 years or so. I really think that you should start out with the fun stuff and dive in deeper later on.
@instinct94
@instinct94 3 жыл бұрын
@@mplovecraft Absolutely. Digging deeper becomes more and more valuable, the better you are at higher level programming languages. Starting off with it is a mistake for the reason you mentioned imo.
@donharris8846
@donharris8846 Жыл бұрын
One of the most important things stated in this clip was on the tail end. Regardless of which language is learned, the act of learning makes new connections in the brain which allows us to approach old problems in a new light, the essence of innovation. Millions of tiny innovations across the globe over time amounts to large scale change in our society
@farzankh
@farzankh 3 жыл бұрын
I've been eating only meat lately and Python is also a great language
@VinayKumar-vu3en
@VinayKumar-vu3en 3 жыл бұрын
*vsauce music intensifies*
@CE-vd2px
@CE-vd2px 2 жыл бұрын
Lol
@benvella1728
@benvella1728 3 жыл бұрын
In short, learn whatever you are interested in and helps you get something done and feel good about it. And then make an effort to push yourself past your comfort zone
@CollectioneAnime
@CollectioneAnime Жыл бұрын
And python is the future
@farsea1542
@farsea1542 3 жыл бұрын
This is the most upbeat I've seen Lex
@ximono
@ximono 3 жыл бұрын
That's not Aquafina
@royaltoadclub8322
@royaltoadclub8322 3 жыл бұрын
That’s how you know when someone’s in his element. I always was lowkey put off by his monotone, almost disinterested approach to his subjects and interviewees. I wanted a fun, lively animated personality. But I was only thinking about myself. I wanted a leopard to change its spots, instead of paying attention to what he said, vs how he said it.
@thuggfrogg
@thuggfrogg 3 жыл бұрын
@@andrewallin7856 maybe "comfort" is a better word :) . His respect for Chris is palpable (as it is for many of his interviewees), but he does seem less concerned about offending Chris or annoying him. (For the record, I love Lex's style all the time. I think he has a unique and likable "personal brand").
@pierbover
@pierbover 3 жыл бұрын
Chris seems like a great guy to chat with!
@georgeianta2088
@georgeianta2088 3 жыл бұрын
I learned to code and than Twitter banned me
@KazzArie
@KazzArie 3 жыл бұрын
Heyooooo haha
@codyfan1097
@codyfan1097 3 жыл бұрын
This guys the best interview I’ve seen so far
@MusicalBasics
@MusicalBasics Жыл бұрын
One of the greatest geniuses of our time!!
@fairphoneuser9009
@fairphoneuser9009 11 ай бұрын
I love the last sentence. Learning new things is the essence of programming!
@socrates_the_great6209
@socrates_the_great6209 3 жыл бұрын
Wise words when he said "The one that is best for what you want to do"
@danielplainview6527
@danielplainview6527 Жыл бұрын
Which misses the core of the question - which language is best for which problem? How would a newbie (the person likely asking the question) know the difference?
@georgeskormikiaris7950
@georgeskormikiaris7950 Жыл бұрын
@@danielplainview6527 A newbie should know how to answer the question: what I want to do programmatically that will make my life easier with the tasks I do now with a computer and benefit me in the long run? I, for instance, badly need a Word add-in for my job, so I started learning JavaScript because that's what Office add-ins are written in. A decade ago, I would probably have to learn VisualBasic.
@LoLsaladz
@LoLsaladz 3 жыл бұрын
Learn the language you need to do what you want. The core concepts of languages are mostly the same.
@bighands69
@bighands69 3 жыл бұрын
There are certain techniques that work better in certain language. There are certain languages that do a good job of hitting multiple programming methods.
@jonaskoelker
@jonaskoelker 3 жыл бұрын
> The core concepts of languages are mostly the same. The "mostly" is what drives my suggested list of languages to learn: - (unix) shell scripting - C - Scheme (though I suspect Emacs lisp and/or clojure/CL will do just as fine) - Haskell - SmallTalk ... in which everything is a: - string (and/or some other program) - machine primitive - (syntax) tree - pure function (including all monads but one) - object
@spencerantoniomarlen-starr3069
@spencerantoniomarlen-starr3069 Жыл бұрын
Exactly, I am learning statistical learning, econometrics and analytics right now, so I like R.
@Basta11
@Basta11 3 жыл бұрын
Web - JavaScript. Data Science/ ML - Python. Android - Java. Windows - C#. For starters.
@dhruvgarg722
@dhruvgarg722 3 жыл бұрын
Android - kotlin
@philodev874
@philodev874 3 жыл бұрын
Networking and Micro services - Go
@piotrek3580
@piotrek3580 3 жыл бұрын
Devops/ Infrastructure - Go and Python
@meamzcs
@meamzcs 3 жыл бұрын
@@thomasreed2427 Real programmers use butterflies...
@mazymetric8267
@mazymetric8267 3 жыл бұрын
@@dhruvgarg722 I don't really get the craze about kotlin. I mean, yeah, there are nice things like conciseness, null safety, coroutines, data classes , extension functions etc but you can easily get by without any of that. If you're seasoned java developer, you can get around those problems without needing learn a whole ass new language.
@FoxInTheBasement
@FoxInTheBasement 2 жыл бұрын
Lex nailing that product placement on this one.
@rdubb77
@rdubb77 3 жыл бұрын
Fantastic. Programming is a mindset, and working in a couple or more languages codifies that. Different ways to do essentially the same thing. My hash table is your dictionary is your JS object.
@bighands69
@bighands69 3 жыл бұрын
I love lisp and can do anything with it but that is not to say I would recommend it to the average person. I would want to know why they are interested.
@TheRealBlackspawn
@TheRealBlackspawn 3 жыл бұрын
I'm currently working on a project written in Rust and I absolutely love it. Haven't had as much fun coding in a long time. You have to be open and willing to think about and approach things in a different way with Rust, but it's very well worth the effort.
@meamzcs
@meamzcs 3 жыл бұрын
I have started learning it and i'm not very good yet but share your experiences. I sure won't stop learning it anytime soon. Currently programming a simple toy SQL Database in Rust as a side side side project to learn about Database internals and Rust at the same time.
@AshleyM120
@AshleyM120 3 жыл бұрын
@@meamzcs Go for microservices, Dart for front-end (transpiled via flutter to web, android, iOS, mac, Linux), Rust anything hardware or computing heavy (even webasm) is what we currently do at 3Rein.
@himujjalupadhyaya4296
@himujjalupadhyaya4296 3 жыл бұрын
@@AshleyM120 Most people though force Rust through though. Most people dont need Rust to begin with. Go or Nim does your job faster productivity wise almost most of the times.
@ekremdincel1505
@ekremdincel1505 3 жыл бұрын
@@himujjalupadhyaya4296 Rust has awesome concepts and paradigms.
@denisblack9897
@denisblack9897 2 жыл бұрын
@@AshleyM120 multi-platform is a waste of time
@paulkiat
@paulkiat 2 жыл бұрын
One of the best engineers to ever do it.
@freddyhaug9379
@freddyhaug9379 3 жыл бұрын
Can I use Swift for Web? It seems like it could be a good Backend language
@ringishpil
@ringishpil 3 жыл бұрын
Golang, especially for newbies and seniors. Never I imagined I would have so much fun with some language
@davidholle6569
@davidholle6569 3 жыл бұрын
the answer is c -> prolog basics -> haskell basics -> sth like java, c# , mby even only c++
@SuperEndospore
@SuperEndospore 3 жыл бұрын
Im about to delve into Python and programming in general. Just received loads of data to sift through. Gonna wear my jeans high and tight. Try it out.
@danielcastro1303
@danielcastro1303 2 жыл бұрын
"On a parallel, but small tangent..." Lex, it can't be parallel if it's a tangent!
@michael222219
@michael222219 3 жыл бұрын
That canned Nitro Cold Brew gets me goin🤣
@treedoor
@treedoor 3 жыл бұрын
F's in the chat for everyone who has never escaped from programming in a console window.
@marcosanaya9540
@marcosanaya9540 3 жыл бұрын
Been contemplating picking up coding, this is insightful so I can choose a language... the right language and not waste time learning something I don't like. Thank you for the video! Keep up the good work!
@mattizzle81
@mattizzle81 3 жыл бұрын
Truly experienced people will tell you there is no best. There are pros and cons for sure between the languages, but in the end programming is programming. There is no being "stuck" with one language. The main ones are not that different. Yes C++, C are more low level and advanced, thus more difficult and teach you some important concepts. The other higher level ones are not that different. I regularly switch between Java for Android, C# and VBA on windows, and Python Linux. Once you're experienced its not a big deal. It's all just programming. I do have preferences though. If I could use just one it would be C#, but that's not always practical because of the platform support, third party libraries available, etc. C# works best on Windows. Not the best choice for Android or Linux.
@rusitoexplorador
@rusitoexplorador 3 жыл бұрын
@@ssssssstssssssss Thanks man :)
@bighands69
@bighands69 3 жыл бұрын
@Marcos Anaya If I could make a suggestion rather than trying to pick a language try and find out what methods of programming you would like to learn and why you want to learn them. This could save you a lot of problems. If you want to learn a wide range of skills I would suggest something like DrRacket and its various teaching courses available. You can learn every major foundational method of programming with DrRacket but it is not a commercial language but everything you learn can easily be transferred.
@socrates_the_great6209
@socrates_the_great6209 3 жыл бұрын
Python is the no brainer first language. It is the easiest to learn and most powerful for data science/machine learning/Neural networks/AI.
@iorekby
@iorekby 2 жыл бұрын
@@socrates_the_great6209 That's faulty reasoning though. Python won't teach you DS/ML/AI. You need a strong math/stats background to learn that. Python is just well supported, but implying learning Python will teach people DS/ML/AI is like saying just because you can read English you will be able to understand and learn everything in every Physics text book published in English.
@glenrisk5234
@glenrisk5234 3 жыл бұрын
Played around a little with some really basic scripting over the years but always found it tedious and would give it up. Discovered VR last year and for the first time I was actually excited by what a computer could do. So I'm learning Unity, C# so I can see what I might be able to do in VR, been going for a solid six months now and there have certainly been hurdles but now actually being interested I found ways to continue.
@Antoinethecool
@Antoinethecool 2 жыл бұрын
Nice ! anything interest made yet?
@glenrisk5234
@glenrisk5234 2 жыл бұрын
@@Antoinethecool Made a few basic things. The best is likely a circuit you fly a drone around. I stalled on learning C#. I know the basics well enough but getting from there to more advanced stuff I couldn't find anything in between. Spent the last year mostly concentrating on modelling and learning the basics of modding. Have a whole bunch of customized models that I dance with in VR using DXR (formerly DVVR). Started learning UE4 now. I have an outfit mod I'm working on for Focus on You that's coming together nicely. Hoping I'll have better luck with UE4 and C++. They seem more professional and will hopefully be better structured?
@vonbayernDE
@vonbayernDE 3 жыл бұрын
If you have short attention span, start with Javascript DOM manipulation. Very interactive and engaging.
@HaKazzaz
@HaKazzaz 3 жыл бұрын
so what was the answer? sorry maybe I've misses it but it seems like Swift exists only to excel in Iphone apps and Lex was trying to find a reason to learn the language..
@cybervigilante
@cybervigilante 3 жыл бұрын
Depends on whether you're looking for a job or not. I'm not. But Python is ubiquitous. Right now I'm using Sagemath and you need Python to use it well. It's also all over AI. I don't need to be super-programmer. I just need to Do Stuff.
@gerritgovaerts8443
@gerritgovaerts8443 3 жыл бұрын
Julia ! As abstract (even better) as Python and as fast as compiled C . Best of both worlds
@bighands69
@bighands69 3 жыл бұрын
I prefer lisp to that of Julia. If speed is your issue that more than likely means you are developing software of some sort or playing with data.
@gerritgovaerts8443
@gerritgovaerts8443 3 жыл бұрын
@@bighands69 Yep , math models with over a million decision variables and a few million parameters
@mayatrash
@mayatrash 3 жыл бұрын
As a phyiscist, everyone in theory started using Julia
@bounty1402
@bounty1402 3 жыл бұрын
Casual coders talk about Python, Ruby, etc. but according to my experience, if you want to earn money working as a computer programmer you should learn Java/C# for CRM, ERP, WMS, etc, and JavaScript (Angular, jQuery, Typescript, etc) combined with PHP or Asp.Net MVC for web applications. And if you have the chance, learn SAP/Abap. Another universe is C++ but I don't know much about that. I'm just saying that if you work on a big project for enterprises you have more chances to succeed than creating Android apps. Of course that's just my opinion after many years in IT, I don't want to start a war 😆
@keithprice7119
@keithprice7119 3 жыл бұрын
MeatScript, then you'll most likely move on to Gas#
@madmotorcyclist
@madmotorcyclist 3 жыл бұрын
Too bad Lisp never got the praise it deserves. The language was able to do so much in so little code and was one of the easiest code to maintain. As an example a graphical planning and scheduling system I co-wrote took about 30k lines of lisp code. They converted it to C++ and Java and to get nearly the same capability took over 300k lines of code.
@intrametaarchi1015
@intrametaarchi1015 2 жыл бұрын
and how many characters? or words?
@madmotorcyclist
@madmotorcyclist 2 жыл бұрын
@@intrametaarchi1015 A lot fewer, thanks to macros and having multiple mixin order dependent inheritance which C++ and Java lacks.
@DrunkPacifist
@DrunkPacifist 3 жыл бұрын
I wonder how Lex looks like with a beard
@insertoyouroemail
@insertoyouroemail 3 жыл бұрын
Mercury is a cool language
@aiyerk
@aiyerk 3 жыл бұрын
Project idea (for your swift project): iOS camera app to see how well done your steak is.
@pguti778
@pguti778 3 жыл бұрын
He is the Swift guy: what could he say? "Learn Swift"
@netizentrotter514
@netizentrotter514 3 жыл бұрын
Different strokes for different folks. Scalars, Arrays and Hashes, references, regex make my life easier. I found Perl easier than Python. But these are just semantics. What's fun is solving an issue.
@clivefernandes5435
@clivefernandes5435 3 жыл бұрын
If python was as fast as C would anyone look at another language again ? What r u thoughts guys ?
@DjoumyDjoums
@DjoumyDjoums 3 жыл бұрын
If python could run as fast as C, then every language could. In which case I'd choose javascript for small stuff and typescript for bigger stuff.
@SHUBHAMsharma-wy6cs
@SHUBHAMsharma-wy6cs Жыл бұрын
can i write algo trade code in swift please answer
@RM-xr8lq
@RM-xr8lq Жыл бұрын
you should look into something like OCaml if you are interested in trading algorithms
@SportsIncorporated
@SportsIncorporated 3 жыл бұрын
Life as a programmer. Another year another language.
@Backflipmarine
@Backflipmarine 3 жыл бұрын
soooo python and javascript i think he meant to say/
@MrChaosi
@MrChaosi 2 жыл бұрын
if you want a job c# or java
@iorekby
@iorekby Жыл бұрын
Or JavaScript. I agree with this 100%. They have been the big 3 in the job market in Europe for over 15 years and still are. There's a perception the likes of Python is taking over, but in reality that is perpetuated by snakeoil KZbin channels and crappy bootcamps (because Python is relatively easy to teach) instead of a strong demand for lots of Python devs. Don't get me wrong, there are Python jobs for sure, but it's nowhere near to knocking Java/JS/C# off the tree top. Those languages are tried and tested by enterprises, and are so pervasive in corporate software they have created a strong inertia that the likes of Python and Golang aren't going to quickly change.
@stefanbanev
@stefanbanev 3 жыл бұрын
C++ is the best if the efficiency of CPU usage has highest priorities.
@AshleyM120
@AshleyM120 3 жыл бұрын
I would argue for memory safety and performance and compile time checks, it would be better to use rust than C++ for large scale projects. (If you start from scratch and can afford to recruit for rust instead of C++).
@stefanbanev
@stefanbanev 3 жыл бұрын
@@AshleyM120 sure, C++ is the best only if CPU usage efficiency has the highest priority, otherwise there are plenty alternatives... apparently I was not talking about CPU usage during development ;o)
@jokinglimitreached1503
@jokinglimitreached1503 3 жыл бұрын
@@stefanbanev Well, Rust is faster than C++, if CPU usage efficiency is your top priority. C is used in the Linux kernel for a reason - it's faster than C++. But C++ has it's upsides - it's evolving, and Bjarne is an absolutely amazing person. There are so many guidelines and books on C++, as well as existing codebases, that it makes it a great language. However, its not for new programmers.
@stefanbanev
@stefanbanev 3 жыл бұрын
@@jokinglimitreached1503 C++ compiler generates ~identical chain of CPU instructions (at least ICC, gcc & VS) for compatible c/c++ code. I run multiple algorithms benchmarks, speed is the same. Linux uses C for legacy and compatibility reason but not because the code speed. Sure if programmer does not know what he is doing he may make even assembler code run slower then its Basic version... I guess you may support your statement "Rust is faster than C++" by specific example, let say by running identical algorithms like ppmd-compression or build decision tree or even something simpler like FFT or arithmetic encoder or even Floyd algorithm. Pls provide the reference to support your statement.
@jokinglimitreached1503
@jokinglimitreached1503 3 жыл бұрын
@@stefanbanev boii read: "So the C++-compiled binaries are measurably slower, though not noticably: it’s about 865 seconds vs 868 seconds, or about .3%. ... Now the difference is 0.1%, pretty much in the noise. Summary: so whether you like C++ or not, the performance argument is moot." Source: rusty.ozlabs.org/?p=330 My thoughts: When the difference is ~1%, performance doesn't matter. If it matters, use C. But claiming C++ is faster is just not true. Zero cost abstractions are great, but not always possible. C is used in performance critical situations like video encoders and decoders - example: dav1d, libaom. Also, for better interoperability
@genesiscre
@genesiscre 3 жыл бұрын
Haskell
@Forever-Humble
@Forever-Humble 3 жыл бұрын
My school teacher keeps telling our class to just learn mostly Python as that will get us far in the industry. Can anyone agree with that statement?
@matthewlind3102
@matthewlind3102 3 жыл бұрын
Python is typically my go-to. I use it because it is easy to bang out a script. Typically, when I write code, it is to mess around with some kind of technology for fun, or it is to make a tool for automating some computer task. Examples: try out OpenCV, learn about web sockets, scale all rectangles in an SVG file, randomize files in a directory, etc. To address your question, you can get very far learning Python. You can't go wrong here. In fact, you can't go too wrong with any mainstream language. Once you get comfortable with the basics of programming you will be able to switch to some other programming language if it better suits your needs. It's sort of like telling people to learn 3D printing because it will get you far. Sure it will. But there is also CNC routers, and table saws, and just hand tools. If your end goal is to make things, then it doesn't really matter where you start, just keep making things, and over time you will learn what the best tool is for the job.
@bighands69
@bighands69 3 жыл бұрын
@MD I disagree as you could do it with any language.
@SpaceTimeBeing_
@SpaceTimeBeing_ 3 жыл бұрын
@@ff20e03bbc Python is a terrible first language to learn if you want to go beyond hobby. Java or C++ will teach you the best concepts in coding right away. Python is best learnt second.
@jakehands
@jakehands 3 жыл бұрын
I have trouble enough communicating in English and I'm from England.
@SevenDeMagnus
@SevenDeMagnus Жыл бұрын
Quite a hard question. I guess learn the standards first and then check out the other standards like C, Assembler, Swift. It's best to have different tools to master in the toolbox and not just master the hammer. God bless.
@coolbrotherf127
@coolbrotherf127 Жыл бұрын
I always learn the languages that are specifically applicable to my needs as they become relevant. Being efficient and complement with programming language learning I think is better than learning too much in a broad spectrum especially if the goal is to get hired. Many companies want specialized programmers who can do the jobs they were hired for except for maybe start ups where people have to pull more weight individually. Companies don't really care if their front end guy knows ARM Assembly.
@DoubleAAmazin3
@DoubleAAmazin3 Жыл бұрын
Python good for the OCD
@ajalanbrown2200
@ajalanbrown2200 3 жыл бұрын
Just started my programming journey.
@milanthapa322
@milanthapa322 3 жыл бұрын
How's the progress?
@ajalanbrown2200
@ajalanbrown2200 3 жыл бұрын
@@milanthapa322 Amazing been trying to figure out how to build apps on vscode, only languages I know are python and kotlin
@homsaleuz4628
@homsaleuz4628 3 жыл бұрын
@@ajalanbrown2200 how’s it going? man
@ajalanbrown2200
@ajalanbrown2200 3 жыл бұрын
@@Rama-wr9yx so far a half working calculator lol
@ajalanbrown2200
@ajalanbrown2200 3 жыл бұрын
@@Rama-wr9yx do you program?
@summermadness-kf5ug
@summermadness-kf5ug 3 жыл бұрын
F# is great language if you're interested in .NET and functional programming.
@insertoyouroemail
@insertoyouroemail 3 жыл бұрын
F# is a nice balance between elegance and pragmatism. Also a great intro to FP and bridge to Haskell.
@summermadness-kf5ug
@summermadness-kf5ug 3 жыл бұрын
@@insertoyouroemail Yes! It's a great that way. Since it's multi-paradigm you can ease your way into functional programming. It takes a little getting used to the right balance of Object and Function programming. Haskell is great too, but I find I'm not as productive especially when you factor in you don't have access to the .NET ecosystem.
@sheevys
@sheevys 3 жыл бұрын
@@insertoyouroemail And Haskell is a really great bridge to Idris:)
@insertoyouroemail
@insertoyouroemail 3 жыл бұрын
@@sheevys Yes! I can get behind that! :)
@user-xm9if5tu2v
@user-xm9if5tu2v 3 ай бұрын
5:00
@hackerculture7391
@hackerculture7391 3 жыл бұрын
This guy computer sciences.
@bren42069
@bren42069 3 жыл бұрын
Python
@tellstarrsixtwo7120
@tellstarrsixtwo7120 3 жыл бұрын
So Python ain't...vegan :D.
@DSAK55
@DSAK55 3 жыл бұрын
C was good enough for my grandfather, it's good enough for me
@christianoconnell8996
@christianoconnell8996 3 жыл бұрын
Right balance of high and low level
@ekremdincel1505
@ekremdincel1505 3 жыл бұрын
I hate weak type systems. It does not even have generics.
@zeektm1762
@zeektm1762 3 жыл бұрын
@@ekremdincel1505 build generics then
@ekremdincel1505
@ekremdincel1505 3 жыл бұрын
@@zeektm1762 what do you mean?
@KK-fh1ds
@KK-fh1ds 3 жыл бұрын
This is a very interesting guy
@TheVincent0268
@TheVincent0268 3 жыл бұрын
At least learn basic concepts like how memory is allocated and released, threading, data- versus function pointers, strong and weak typing. Things like that.
@VandalVortex
@VandalVortex 3 жыл бұрын
Where would someone learn these fundamental concepts?
@TheVincent0268
@TheVincent0268 3 жыл бұрын
@@VandalVortex good question. They are often best explained with an existing programming language so eventually you still have to choose a language. I learned it along the way during my professional life as a programmer but perhaps there are YT courses which cover these topics. I never searched for it but perhaps I will, now that you mention it.
@TheVincent0268
@TheVincent0268 3 жыл бұрын
@@VandalVortex python is a save choice to start learning programming. While working with it you already get a feeling for the underlying concepts. Time spent to Python is never wasted and the knowledge can always be applied to other languages, even if they look different. I wouldn't recommend to start with JavaScript because it has a very 'dense' syntax and (in my opinion) has a typical use case (browser oriented). But note that personal preferences also play a role in choosing the language(s) you want to work with on a daily basis.
@yossarianz257
@yossarianz257 Жыл бұрын
This guy is really nice and genuine, only thing that bugs me is his view about elon musk, its clear that guy is not what he says stop promoting him that way.
@needlessoptions
@needlessoptions 3 жыл бұрын
C because then you're scalable across almost all levels of abstraction as a programmer and also you will learn how to actually use the hardware to it's full capability instead of expending resources so you can be lazy about memory management which imo is not even hard, you just have to write a lot of code in that style.
@philodev874
@philodev874 3 жыл бұрын
What about Go?
@needlessoptions
@needlessoptions 3 жыл бұрын
@@philodev874 I like Go but it has garbage collection.
@anjalibhatt376
@anjalibhatt376 3 жыл бұрын
Do you think it's still as prevalent to learn C as Go or C++?
@needlessoptions
@needlessoptions 3 жыл бұрын
@@anjalibhatt376 C++ is for sure more prevelant if you're talking about jobs. But C is much, much better as a first introduction to programming, and then once you're comfortable with C as well as general programming idioms you can basically write C++. You can just learn the bells and whistles along the way and use the OOP stuff if it's helpful. As for Go, idk off the top of my head where it ranks rn in terms of jobs but you may as well learn as many programming languages as you can so can't hurt to familiarize yourself with Go.
@anjalibhatt376
@anjalibhatt376 3 жыл бұрын
I am more inclined to dive deeper in C in terms of data structures and algorithms. But most of the lectures, applications especially related to ML has either Py or C++ as the base language.
@small955
@small955 Жыл бұрын
To understand programming, do not separate the hardware and software. Assembly is probably the best way to understand the machine,
@bryanurizar
@bryanurizar 3 жыл бұрын
Best first programming language? Python.
@KK-fh1ds
@KK-fh1ds 3 жыл бұрын
Lex "i only eat meat" Friedmen
@MrJigarparmar
@MrJigarparmar 3 жыл бұрын
Joe " I only eat meat" Rogan
@orkhanahmadov9963
@orkhanahmadov9963 3 жыл бұрын
I love MEAT
@CLIFFBMX
@CLIFFBMX 3 жыл бұрын
That bottle gives me anxiety.
@KETANRAMTEKE
@KETANRAMTEKE 3 жыл бұрын
Any object oriented programming, after that picking up any new language becomes very easy. Brainf*ck for mutants🧠
@karljay7473
@karljay7473 3 жыл бұрын
So what was the answer, Swift? Swift is iOS/macOS only. What about Swift+Kotlin? That doesn't do backend/server/web work... Ok, how about Swift, Kotlin and JavaScript? Ok...
@karljay7473
@karljay7473 3 жыл бұрын
@@ShreeNation Swift is pretty limited even if it can work on other platforms, it's really not going to gain ground in servers, windows or other platforms. JS seams fine as a front end and backend tool, so I'd say JS. If you're doing mobile, Swift and Kotlin. I do Swift and JS myself and that allows me to do full stack mobile and web. Kotlin is next on my list. What sucks is that I've been programming for decades and we still don't have universal languages. I've learned probably 12 or more languages over the years. Swift isn't bad, it's improved over the years, but they still do stupid things like getting rid of --/++ and for/next and some other strange things.
@karljay7473
@karljay7473 3 жыл бұрын
@@ShreeNation I really don't think it'll happen. Back when I started we had Fortran, Cobol, Pascal and others. None of them because universal, but Pascal could have. Programming languages are not the same as spoken languages where there would be a clear advantage to having a universal spoken language (which they actually do in flying, people that fly, use English). With programming languages, they all have different uses. Go was designed for server, Java was supposed to be "thee one" but it wasn't as cross platform as they though. Python is great as a scripting language, but you don't want to use a scripting language for building objects and libraries.
@allenroisen2386
@allenroisen2386 3 жыл бұрын
once you learn one, the rest come easy.
@glibaudio
@glibaudio 3 жыл бұрын
Cool. Thanks Allen.
@syzerp3824
@syzerp3824 3 жыл бұрын
I think it's more like once you master one, the rest is just learning the syntax
@allenroisen2386
@allenroisen2386 3 жыл бұрын
@@syzerp3824 Yeah absolutely, but learning syntax is 1000x easier than learning computer science principles that you must learn when first understanding a language. I guess if I were to pick a first language, it'd be C/C++ so you can learn complex comp sci topics without being hand held, and from there every other language comes easy. C++ would probably be best because you can learn OOP as well.
@syzerp3824
@syzerp3824 3 жыл бұрын
@@allenroisen2386 Yeah I agree. You first have to learn certain computer science principles, then from there master a language. Once that's done, master a second language and you should be able to pickup any language very quickly, in my opinion.
@4m470
@4m470 3 жыл бұрын
Agreed. Im in the process of learning pseudo code and C++. A lot of the principles apply to java, c#, python. Its not really the syntax that matters. The most important part of coding seems to be the logic, comp sci principles, and problem solving.
@bighands69
@bighands69 3 жыл бұрын
The first question you need to ask is are you a programmer or software engineer? You can be both or just one of them.
@freezoulou
@freezoulou 3 жыл бұрын
English
@Ty-cl2jk
@Ty-cl2jk 3 жыл бұрын
The answer is JavaScript if you want to make websites, Python if you want to process data, Java if you want to make apps and have an Android, Swift if you want to make apps and have an iPhone.
@felipec
@felipec 3 жыл бұрын
Incorrect. Ruby if you want to process data.
@vibovitold
@vibovitold Жыл бұрын
It's Kotlin for Android. Java is obsolete (and was already obsolete at the time ever you posted your comment), not unlike Objective-C on iOS (for which you correctly recommended Swift).
@pmarreck
@pmarreck 10 ай бұрын
I think the best languages are functional languages but the easiest languages are imperative languages. Functional languages will allow you to do more work with less code (and also have less debugging work after the fact), but you have to understand the concepts first. Unfortunately, there's a bit of a leap there, and you have to un-learn some things. Javascript (I hate to say it) is probably not a bad language to start with at this point. I'd move onto Elm or some other functional language that "compiles to Javascript" ASAP though. Python, no. Python is overrated. lol. It has fundamental design flaws.
@Tassadar606
@Tassadar606 2 жыл бұрын
pythonnnn
@Flux799
@Flux799 4 ай бұрын
For an absolute beginner I would personally recommend HTML just to dip your toes in the pool so to speak.
@zurichsee706
@zurichsee706 3 жыл бұрын
too much skin cream
@schmetterling4477
@schmetterling4477 Жыл бұрын
They aren't hiring you to learn a new language. They are hiring you to solve problems. Problems can be solved in all languages.
@Stopinvadingmyhardware
@Stopinvadingmyhardware 2 жыл бұрын
You should start with English
@bmoore813
@bmoore813 Жыл бұрын
Lmao 😂swift makes no sense
@ericpmoss
@ericpmoss Жыл бұрын
This is not too interesting, IMO. It's mostly "what should I learn to be marketable?" Every few years it's a new fad language that bends over backward to not be Lisp.
@TheMasterashton
@TheMasterashton 3 жыл бұрын
Everyone knows wordpress is the best coding language.
@Heopful
@Heopful 2 жыл бұрын
if you really want to learn a web dev programming language learn elementor
@tomlawton5116
@tomlawton5116 3 жыл бұрын
We don't have to give stupid things a chance... if we did the vegans would easily take over our world. Nassim Taleb: mix up the frequency of meat intake, a la vegan Monday, Tuesday and Wednesday, and voracious carnivore Thursday (and randomise further over a longer time-frame). We evolved to be omnivores (and to experience periodic food shortages), we're neither cows nor lions.
@coreykuehl8519
@coreykuehl8519 Жыл бұрын
Eating meat only aside from the health issues is terrible economically, agriculturally, and morally. Disappointing to see a seemingly intelligent individual do something so ignorant.
@iorekby
@iorekby Жыл бұрын
Environmentally too. It's a fad diet popular among "too busy to learn how to cook" bros. Lex will move off of it over time I'm sure once he's seen it for what it is.
@shazam314
@shazam314 Жыл бұрын
If eating meat is morally wrong, then owning a cat is also morally wrong.
@5ithofnov159
@5ithofnov159 3 жыл бұрын
This guy sound drunk all the time
@EmilianaCamila
@EmilianaCamila 3 жыл бұрын
Lex has got great credentials and a great podcast, but damn with many topics he is truly ignorant and/or biased. Hopping on the meat-only JP diet train, are we?
@cybervigilante
@cybervigilante 3 жыл бұрын
I'd be okay with it if pizza is meat. 😀
@lorblauh
@lorblauh 3 жыл бұрын
So you're a nutrition expert I presume?
@w1d3r75
@w1d3r75 3 жыл бұрын
We're all ignorant
@EmilianaCamila
@EmilianaCamila 3 жыл бұрын
@@lorblauh Ah yes, anyone is either ignorant or an expert. Go read a bit about malnutrition, you may learn something
Lex Fridman: What programming language should I learn?
15:33
Lex Clips
Рет қаралды 102 М.
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 91 МЛН
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 4,6 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 10 МЛН
Best Programming Language | John Carmack and Lex Fridman
8:52
Lex Clips
Рет қаралды 633 М.
Async Rust Is A Bad Language | Prime Reacts
28:46
ThePrimeTime
Рет қаралды 89 М.
Bjarne Stroustrup: Learn More than One Programming Language
6:57
Lex Fridman
Рет қаралды 139 М.
How I Would Learn To Code (If I Could Start Over)
13:43
Namanh Kapur
Рет қаралды 7 МЛН
Python vs Swift | Chris Lattner and Lex Fridman
11:16
Lex Clips
Рет қаралды 149 М.
I'm Coming Around To Go...
21:33
Theo - t3․gg
Рет қаралды 103 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,5 МЛН
Худший продукт Apple
0:53
Rozetked
Рет қаралды 183 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 3 МЛН