Learn JS or Python? According to Lex Fridman

preview_player
Показать описание

Check out @lexfridman's amazing podcast:

Рекомендации по теме
Комментарии
Автор

always learn C first, then you will appreciate other languages & will forever respect C.

IamSHVA
Автор

IMHO: build the base by learning Python first (for instant gratification), then learn another language like JavaScript.
Python will show you how programming works without the need of using something else like HTML and CSS.
Python will introduce you to variables, functions, loops, objects etc.

ricnyc
Автор

You should learn whatever language brings you joy... that said: I think that Python is a better learning language. JS is just to mushy and unstructured and debugging is hard it leads to sloppy habits.

cantis
Автор

Learning Javascript as my first programming language was the right choice for me.

thembisilemathibela
Автор

I learned c++ first because I need it for my Arduino projects where I build robots and other little things. I think it’s very fun and gratifying and teaches me all the aspects of programming

DerFrittenpapst
Автор

I picked C# as my first language, next will be javascript. I'm not sorry that I picked C# as my first, as it is very general-purpose and you can basically build anything.

mitko
Автор

I dont recommend a single person learn java script first. It can be very overwhelming at first. Learn Python, Java, or C# first and get all the fundamentals down

phancy
Автор

As soon as I got the corner of a stretched image to show in python (using pygame), I was the happiest person in the world.

lilahclark
Автор

Couldn’t agree more… JS puts that smile on your face!

nickvledder
Автор

My first language was C and second was C++, I'm still 16 and now I'm thinking about learning Javascript because it has kinda similar syntax maybe?? idk I'm going with the flow i think. And I think I'm going pretty smoothly.

aroobaasghar
Автор

Learning js at first is in my opinion a wrong choice to start with, because its not covering all fundamentals + it may print out inexpected and crazy results wich can be verry confusing

tahaanass
Автор

People overrate how hard C++ is. Think the issue it just the way they teach the basic. It's just all text though a "console application". Throw a window and make an image appear and it's a little more palatable for people with self-diagnosed ADD.

Better yet, learn the basics with C++, then all of the fancy GUI stuff with C#.

mRahman
Автор

Python pr Typescript. JavaScript is a convoluted mess

dukeofnorfolk
Автор

Learn c# and fix your life forever in 2 years

CodingMindsMadrid
Автор

what this guy's job ?, .. i didn't know he's programmer 😮

younessnajeh
Автор

❤❤❤❤Lex Fridman: Jesus said, You should become the Governor of Massachusetts.❤❤❤❤❤❤

susanhyland
Автор

I don’t recommend learning either as your first language. C should always be everyone’s first language.

But if you are debating between using JavaScript or python, you likely should just use JavaScript. Runtimes like NodeJS make JavaScript applications way faster than python. You should just default to using JavaScript unless there is a package you need that is only supported on python.

JavaScript and python are fundamentally the same. They fill the same role. You should learn one. The one you learn in 2024 is JavaScript because at this current time it is more useful, faster, and more popular.

asherrfacee
Автор

I never saw this guy talking about programming before. Is this a deep fake?

JamesJosephFinn
Автор

/**
* Function to make the whole screen spin and invert the webpage.
*/
function spinAndInvertScreen() {
// Apply CSS styles to make the screen spin and invert
document.body.style.transform = "rotate(180deg)";
= "transform 3s";
}

/**
* Function to handle the keydown event and rotate the page when the W key is held down.
*
* @param {Event} event - The keydown event object.
*/
function handleKeyDown(event) {
if (event.key === "w") {
// Rotate the page 1 degree every 50ms
const intervalId = setInterval(() => {
document.body.style.transform += "rotate(1deg)";
}, 50);

// Stop rotating when the W key is released
window.addEventListener("keyup", () => {
clearInterval(intervalId);
});
}
}

// Call the spinAndInvertScreen function to make the screen spin and invert
spinAndInvertScreen();

// Show an alert after 3 seconds
setTimeout(() => {
alert("Hold W to rotate the screen");
}, 3000);

// Add event listener for the keydown event
window.addEventListener("keydown", handleKeyDown);

ImTheRealCam