Bret Hart - You're dereferencing a null pointer!

preview_player
Показать описание
Bret Hart doing some code review. He finds the source of the bug and calls them out on it. They are dereferencing a null pointer!
Рекомендации по теме
Комментарии
Автор

I cannot believe they are dereferencing a null pointer

prodEdward
Автор

I remember this. Brett was telling the guys at Midway how to code the wrestlemania arcade game.

NesDogg
Автор

I like how he's pointing at a 13inch CRT for the code review.

cantbecool
Автор

This is definitely me when I dereference a null pointer.

Jomester
Автор

Bret "The Hitman" Hart
The Excellence in Engineering
-Brian Zane

martin
Автор

Those are actual programmers for the company. They gave Bret Hart that line.

afarber
Автор

jeez it's right in front of them the whole time

JeremiahFernandez
Автор

The best there is, the best there was and the best there ever will be. Bret the Hitman Hart

okashkhawaja
Автор

In case anyone's wondering what the error is:
A pointer is a piece of data that that tells you where another piece of data is.
You can have pointers to numbers, letter, words, or whatever data you want.
When you "dereference" a pointer, you're using that pointer to get whatever data it's pointing to.
A null pointer is a pointer that doesn't point to anything.
You can't dereference a null pointer, because there's no data to get, so you just get an error.

professorrubickmagusgrandi
Автор

Okay my life is complete now. This is amazing.

craigdaurizio
Автор

Fireship brought me here after the mess crowdstrike did

mohamedalismacktalk
Автор

How about checking if the pointer is null before accessing its data?

k-c
Автор

If only wrestlers were coding, we'd never be in the mess we are today.

thehungriergrue
Автор

one does not simply de-reference a null pointer.

Xaito
Автор

I am surprised this video doesn't have a lot of views.

Agreedtodisagree
Автор

Coding interviews should just play this clip and ask you to explain why derefrencing null pointers causes and error.

DagothDaddy
Автор

what? no one's said "The excellence of .EXE-cution"?

nick_QA