John Carmack: Best programming setup and IDE | Lex Fridman Podcast Clips

John Carmack: Best programming setup and IDE | Lex Fridman Podcast Clips

Lex Clips

1 год назад

814,964 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@visikord
@visikord - 05.01.2024 15:48

Sounds like Carmack disagrees that "real programmers use COPY CON FILENAME.EXE"

Ответить
@ignaciosanmartin2143
@ignaciosanmartin2143 - 03.01.2024 21:15

Programmers created the debugger to simplify your coding process. Use it...

Ответить
@mostexcellentlordship
@mostexcellentlordship - 02.01.2024 01:07

He spent a single week trying out raw Vi - which IIRC has not seen active development this millennium - and decides only "his Visual Studio" will work for him.

OK, fair enough, it's Carmack and he's not wrong, but he's not right either. Idolizing him doesn't help. He is just a programmer with another opinion. I too work with "modern" IDEs like Jetbrains'. These are excellent products to be sure, but let's not beat around the bush. These are commercial products that will inevitably fall or, more likely, fade away. They offer little in the way of customization and are certainly not going to be around your entire life.

Emacs is another beast entirely. Comparing those products with something like Emacs .. I mean, it's not even wrong. I know "modern programmers" don't have time to do shit, least of all learning, so we have to hit the ground running and we can use all the hand-holding we can get. I get that and it's true.

It's just not something to be proud of, but that's just my opinion.

Ответить
@midnqp
@midnqp - 30.12.2023 21:20

Hi, I am an ex-vim ex-linux Tech Lead🐸

Ответить
@joshgrabenstein7097
@joshgrabenstein7097 - 30.12.2023 07:36

Well, so much for his monitor set up

Ответить
@eyesopen6110
@eyesopen6110 - 30.12.2023 03:12

vi rocks!

Ответить
@iloveesr
@iloveesr - 27.12.2023 12:00

I love John's voice. There is a small hint of young a Forrest Gump in his accent.

Ответить
@skak3000
@skak3000 - 20.12.2023 12:56

True. I always run in Debug to check everything works correctly.
Many of my friends are just using Write to console or write to log. Their work flow is so inefficient...

Ответить
@dlc435
@dlc435 - 20.12.2023 06:28

Take a shot every time Carmack the GOAT says “side of things”

Ответить
@notarobot22
@notarobot22 - 19.12.2023 09:42

Heroes

Ответить
@StephenMinkin
@StephenMinkin - 19.12.2023 07:50

These guys are fascinating. All-night programming to make a Mario killer. I wished I was raised with people that where as constructive as these guys.

I was raised in allot of useless scum who drink loads of alcohol and use drugs...and that's all they do and know.

Ответить
@StephenMinkin
@StephenMinkin - 19.12.2023 07:13

And yes visual studio is as good as it gets for IDE handling the c++. Only thing I recommend as must have plugin for VS is the 'whole tomato'.

Ответить
@w12p67
@w12p67 - 19.12.2023 01:54

People who are obsessed with VIM and the like are goofballs.

Ответить
@fmitterb
@fmitterb - 17.12.2023 12:17

A proper gdb interface made me use and stay with VS Code on Linux.

Ответить
@neshkeev
@neshkeev - 16.12.2023 20:24

Please don't confuse yourself with John. John knows everything about computers and software engineering that's why IDEs make him much more productive. You, on the other hand, know next to nothing and IDE hides tons of complexity from you. When a catastrophy occurs John know immediately why it happened and how to fix it. For you it will takes weeks to figure it the root cause. My advice is to use simple tools and do all the busy work yourself: create files manually, debug from terminal, list all the compile time flag explicitly and so on. Eventually you will gain deep understanding of this stuff and switch to a good IDE which will be your partner in crime and not a black box it appears now.

Ответить
@pyhead9916
@pyhead9916 - 16.12.2023 09:13

If found that using copy-and-paste is the number one problem in programming!

You should never use it, retype what you want and you'll think about every character.

Ответить
@pyhead9916
@pyhead9916 - 16.12.2023 09:11

If you rely on an IDE for programming, you're lazy.

Ответить
@pyhead9916
@pyhead9916 - 16.12.2023 09:08

What he said about debuggers is so true! I've used them and solved complex problems in short period of times. 99% of the time, the programmers could not "visualize" what was actually happening in memory.

Ответить
@xyzxyzxyzxyz
@xyzxyzxyzxyz - 15.12.2023 15:23

Not using an IDE is just dumb, not using a debugger is handicapping yourself. However, do what works for you but don't complain if somebody works faster and more efficient than you.

Ответить
@rolendude
@rolendude - 15.12.2023 13:34

Dude I promise I’m a programmer. Everything glasses dude says is exactly what I do. Have a problem with code I insert a breakpoint at every line and see what object is returning null or whatever. Hard to believe lex is a programmer the way he talks.

Ответить
@lgx2410
@lgx2410 - 13.12.2023 16:36

Wow., amazing that JC uses the debugger to verify his code. That's what unit tests are for.

Ответить
@john2knj
@john2knj - 10.12.2023 07:52

I find vim great for small stuff or small changes in big files. A quick edit here or there. Making a config file change, etc. Anything much more than that and I use an IDE.

Ответить
@Fasut91
@Fasut91 - 04.12.2023 01:13

My setup: Lex: 1.25x. John: 0.75x

Ответить
@gaxkiller
@gaxkiller - 02.12.2023 04:41

`I am more in favor in the stuff that you cannot run your program until you fix this [error] rather than you can run it and hopefully unit-test will catch it.`:
Could not agree more ...

Ответить
@jewymcjewjew9939
@jewymcjewjew9939 - 02.12.2023 01:32

Luke Smith said it best: the worst part about Vim is how much of a colossal idiot you feel like for not learning it sooner.

Ответить
@Murdrad
@Murdrad - 29.11.2023 20:33

I can't imagine programming without breakpoints. I'm not sure how many companies are hostile to them.

Ответить
@Jeffsdata_0
@Jeffsdata_0 - 24.11.2023 19:27

Good IDEs and debuggers is what changed my mind about programming - took an entry-level compsci class in college using Linux/C/no IDE... absolutely hated it. 5 years later, took a class using Eclipse/Java (okay, that was fine, got me more interested - like, I can do this, it can be a little fun)... and then took another class using Visual Studio/C# making a desktop app... and I WAS HOOKED. It felt like magic (intellisense, debugging, etc). Felt productive and happy. Never looked back.

Ответить
@PatchRowcester
@PatchRowcester - 22.11.2023 20:43

Its helpful that Lex actually knows programming to the extent that he can respond in an intelligent manner. Its definitely intimidating to interview someone like John Carmack, arguably one of the greatest programmers in the world.

Ответить
@claytonhaymes3310
@claytonhaymes3310 - 22.11.2023 09:13

Where can I go to find the best programmer ready to co found a start up with myself?

Ответить
@watnoudan
@watnoudan - 19.11.2023 14:27

This is exactly why Carmack got where he got. The amount of arrogance in the coding world is staggering. And the testing team is always the underdog telling dev they are not as great as they think they are and better start using DEBUGGERS! lol

Ответить
@jwilham
@jwilham - 18.11.2023 07:26

Geez dude... I'm studying programming but every time I watch an interview with the programmer it makes me not want to program if I'm going to be like them

Ответить
@seanmcghee2373
@seanmcghee2373 - 17.11.2023 16:53

gdb, the debugger "of choice?" on Linux, basically sucks. seriously sucks. I prefer visual studio, whose debugger is basically the best on the planet.

Ответить
@michaelhenricks4856
@michaelhenricks4856 - 17.11.2023 16:49

Truth. If you think you can keep it all in your head, particularly when the data is complex and unconstrained, you are deceiving yourself or writing hello world.

Ответить
@jaimeferreiravids1920
@jaimeferreiravids1920 - 16.11.2023 23:11

I wonder what percentage of people doesn't use debuggers today, I felt like everyone did but after this interview I wonder?

Ответить
@shivagrid
@shivagrid - 15.11.2023 02:07

I use vim-mode in everything, including Chrome. :)

Ответить
@alivenumber5
@alivenumber5 - 14.11.2023 18:14

Vim is brilliant. But most of my IDE usage is not spent typing code. I'm moving around, ctrl-clicking into functions, going forward and back, regex searching the entire codebase, and selecting and copying blocks of code. All things perfectly suited to a keyboard and mouse and setting debug breakpoints and running it in quick cycles. Yes I can do all those things with Vim+GDB, but Vim is more suited to quick text actions in single files and its tagging is just not as good as the IDEs. I can get close, but the mental overhead of using Vim is instantly dissolved with an IDE and then I can focus on code rather than navigation.

Carmack isn't alone on his opinions on IDEs. I know some extremely good programmers that have left vim and emacs behind for more modern IDEs.

Ответить
@rienzi007
@rienzi007 - 14.11.2023 14:57

I'm a web developer who works primarily in Elixir & Typescript. I haven't used a debugger in years.

Ответить
@manit77
@manit77 - 14.11.2023 06:44

Funny the devs using new vim with only a keyboard but when the they open their website to test they use a mouse.

Ответить
@arisrayden
@arisrayden - 13.11.2023 22:09

yaeh i've been working for a fortune 500 corp (not tech tho) for 5 years now and at the start i was coding perl in vim and notepad++ without a debugger, barely able to run things in a purely test environmnet.... now finally we're getting to the point where we're actually using an IDE connected to our repo, being able to run things locally and have a frigging visual merge tool.... life is getting better

Ответить
@86ajmn
@86ajmn - 08.11.2023 19:52

This man’s a legend, can’t wait to watch.

Ответить
@IanMcGowan
@IanMcGowan - 07.11.2023 02:25

Love the comment about AI-powered debugging - I see that as a huge time saver, "how did this property end up as null?", "what functions update this variable?" etc.

Ответить
@judewestburner
@judewestburner - 05.11.2023 12:01

There's two camps. Those that use a debugger, and those that don't admit they use a debugger

Ответить
@jackflash6377
@jackflash6377 - 04.11.2023 16:35

Grok

Ответить
@Neonb88
@Neonb88 - 03.11.2023 08:38

Wait also a decent mechanical keyboard is another great to-do

Ответить
@Neonb88
@Neonb88 - 03.11.2023 08:35

How the fuck can he not use keybinding and primarily prefer the mouse? What a lazy hacker and a Luddite


You can use the emacs / Vim keybindings in VS Code, too! I guess he just didn't learn it early enough in his life

Ответить
@Neonb88
@Neonb88 - 03.11.2023 08:33

I've really gotta get a debugger, profiler, and GitHub Copilot going at at work

Ответить
@peep39
@peep39 - 02.11.2023 19:01

I step through all of my functions as I make them, and I rely heavily on the debugger to do that. Over the years that has just coalesced to be my way of doing it. Interesting to hear Carmack say he does it similarly. I always thought my technique was a lazy crutch and that I should try harder to see more in my mind. Maybe the best code really is the laziest code

Ответить
@kjdtm
@kjdtm - 01.11.2023 11:11

3 monitors are a requirement for me
documentation/debugger/ide - laptop screen for emails and corp chat

Ответить