Загрузка видео...
Не удалось загрузить видео
linus torvalds about coding taste. watching this back in the day unlocked neurons in my brain lol. it really shifted my view on pointers and reimplementing programs made me really confident with them. always a joy to watch. general, lean solutions >> special cases anyday
71,888 просмотров • 1 год назад •via X (Twitter)
Комментарии: 9

This one's for the Crypto Whales ⬇️ NEW exclusive & luxurious experiences have been added to Apply today & #TravelUnlikeAnyOther with your favorite cryptocurrency.

Always ridiculously satisfying to turn an edge case into a normal case

frfr

Problem... if entry isn't in the list, this routine will crash when the while statement's expression tries to evaluate the ->next of a null pointer, which would be the last item in the list. This is efficient, but it's also an obscure bug waiting to happen.

that is pretty easily accounted for in code. here, since the function accepts an entry, its probably assumed to be in the list.

Oh god, he's multiplying!

😱😱😱😱😱

where is the full video?

linus always has a way of making complex concepts feel simple. great reminder that elegance in design often beats over-engineering
