Тёмный

"I Love Deleting Code, and No One Can Stop Me" by Steven Hazel - Nerd Nite Austin 160, July 2024 

Nerd Nite Austin
Подписаться 160
Просмотров 11 тыс.
50% 1

I've spent most of my career working on code, but my favorite part of the job isn't writing code-it's deleting it. In fact, looking at the stats over the course of many years, it turns out that I've mostly been deleting code for a living. This talk will explore why deleting more code than you write is actually good, and how to get away with it.
Steven Hazel is a technologist with almost 30 years of experience building software and software companies. He's currently exploring ideas in music equipment and audio effects.

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@oskar1504
@oskar1504 Месяц назад
480p in 2024. I mean its enough but rare to see nowadays.
@oskar1504
@oskar1504 Месяц назад
Btw great presentation. I would argue with the String(id) part. I think theres no problem having it inside. To make the function future secure
@myne00
@myne00 Месяц назад
Deleted the 720p code
@bullpup1337
@bullpup1337 Месяц назад
not enough if you’re supposed to read code off a screen that was captured by a camera and already hard to read as it is
@codaaaaaaaaa
@codaaaaaaaaa Месяц назад
i actually didn't read the upload date, just assumed that the talk was from 2014
@ProfessorThock
@ProfessorThock 20 дней назад
Lmao didn’t even notice until you pointed it out because I’m on my phone and yeah was thinking the same thing about String(id) if we don’t have a strong type system to use
@LHCB6
@LHCB6 Месяц назад
1. Letting Go of Commented Code "And I took that personally."
@sortof3337
@sortof3337 27 дней назад
omg. i didn't know i was gonna get called out like that.
@retrotheft
@retrotheft 8 часов назад
This guy is my hero
@dovos8572
@dovos8572 Месяц назад
i really like this. when i'm writing a new function i like to write it out pretty openly with many variables for each step. once i get it to work i might have declared 10 new variables in that function alone, so that i can debug them. once that i know that the function works as expected and no obvious edge case bugs, i go through it and remove all variables that are just used once or twice and the allocating cost is likely more expensive than to do the part twice. shortening the code down really helps with readability and it helps in the naming cludder. it is easier to name 5 variables with a clear use than 10 that are half steps of an use.
@wdvhi
@wdvhi Месяц назад
this is a greate advice , thanks !
@TWPO
@TWPO 17 дней назад
Agree with 99%. Dependency inversion is the a rare exception to having more code than necessary. Don't delete your interfaces.
@user-qk4tx9jc4m
@user-qk4tx9jc4m Месяц назад
This is so true. We often go into a rabbit hole of complexity. We think that understanding complexity is smart, but often the complexity itself is unnecessary.
@stuckurface
@stuckurface Месяц назад
Software is an asset. Code is a liability.
@awillmoto7876
@awillmoto7876 Месяц назад
Software is good code = bad
@ClashClash89
@ClashClash89 Месяц назад
I didn’t know that there are professional code janitors ^^D Awesome for code that’s goin to be looked at by more then 3 people.
@gonzalomunoz2767
@gonzalomunoz2767 Месяц назад
I feel oddly vindicated; I've been doing exactly this in my job without anyone telling me I should do it, and while having so much less experience than Mr. Hazel here
@21stchill18
@21stchill18 15 дней назад
I love deleting complementary stuff and regular backups can stop me from doing that.
@l3p3
@l3p3 Месяц назад
Refactoring helps projects. You just need to do it properly, following rules. I often learned that shorter code is better, including minimizing interfaces. I just recently unified two interfaces in my ui lib lui and the resulting interface is nicer AND the result file is smaller than before. 😊 In many cases, it feels like the minimal solution already exists and we just need to discover it out of a mess.
@MrBrutalmetalhead
@MrBrutalmetalhead Месяц назад
this is an awesome talk with some of the worst questions I've ever heard. they clearly have never programmed in their life.
@omatzi7251
@omatzi7251 Месяц назад
Very interesting talk
@gamereactz
@gamereactz Месяц назад
I love it.. if yoi really want to see it just look at version control
@hunahpuyamamoto3964
@hunahpuyamamoto3964 Месяц назад
Don’t let this man loose in your house. He’ll demo your bonus room and nook. I kid I kid. LOVE this topic. I’ll be preaching this with new found fervor.
@juliopolo7216
@juliopolo7216 Месяц назад
Good presentation!
@boris---
@boris--- Месяц назад
4:3 in 2024... I mean.. respect.. Has old school vibe
@nerdniteaustin
@nerdniteaustin Месяц назад
We had to reduce it in 4:3 because we had to cut off the left side of the original video for reasons.
@raphaeld9270
@raphaeld9270 Месяц назад
@@nerdniteaustin As the screen is not super clear, would you be able to link the slides in the description? Thanks in advance ^^
@raybp7512
@raybp7512 Месяц назад
This was great
@mariusstubs7199
@mariusstubs7199 Месяц назад
Thanks for the great video. In minute 8:22 you say that shortening the name is not a good move, but before in 8:07 you say long names are also not ok - so what do you suggest then?
@principleshipcoleoid8095
@principleshipcoleoid8095 Месяц назад
What about doc comments and examples?
@sub-harmonik
@sub-harmonik 16 дней назад
I pity whoever uses dynamically typed languages
@dhadveyash2268
@dhadveyash2268 Месяц назад
Haven't watched the video, liked for the title 👍
Далее
🚫 Not Invented Here Syndrome 🚫
31:32
Просмотров 137 тыс.
Real Programmers Write Machine Code
26:25
Просмотров 109 тыс.
A small kitten was dumped #cat #kitten #cutecat
00:41
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1,1 млн
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Writing a game the hard way - from scratch using C. #1
34:20
Programming in C3 to Annoy Zig fans
1:51:55
Просмотров 44 тыс.
The US has planned their move to Rust (it's wild)
16:31
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
How principled coders outperform the competition
11:11