DRY makes your code 500% better · intermediate Java code review

  Рет қаралды 30,629

strager

strager

Күн бұрын

Learn to Don't Repeat Yourself (DRY) your code. Write more readable and maintainable programs.
This lesson is in Java, but the techniques can be applied to any programming language.
Chat with me live for free code reviews, lessons, and career advice: / strager
stethoscope clipart PNG Designed By 颖 from Pngtree.com

Пікірлер: 27
@MaxCoplan
@MaxCoplan 2 жыл бұрын
🤩 wow. Fantastic video! The end result is DRYer than my girlfriend when I try explaining OOP
@31redorange08
@31redorange08 Жыл бұрын
Can a null pointer be dry?
@oceanmoist8553
@oceanmoist8553 Жыл бұрын
try explaing FP she definetly wont be dry then
@sdvcs-o2v
@sdvcs-o2v 6 ай бұрын
bro is it that DRY?
@kunns123
@kunns123 Жыл бұрын
Hey Strager, how many years of experience do you have? You can quickly absorb large codebases and understand the design as well as even guess the thought process that might've been behind it. Also what advice would you give to a junior dev on how to improve their design skills?
@strager_
@strager_ Жыл бұрын
I started programming about 20 years ago. > Also what advice would you give to a junior dev on how to improve their design skills? Write or contribute to bigger programs.
@pikzel
@pikzel Жыл бұрын
KISS > DRY ”It depends” > *
@MaxCoplan
@MaxCoplan 2 жыл бұрын
It would be nice if you hid the chat when doing the side-by-side diffs
@strager_
@strager_ 2 жыл бұрын
Good idea! I should invest in some keyboard shortcuts. =]
@sdvcs-o2v
@sdvcs-o2v 6 ай бұрын
man you're fast at vim, i can't lie but I'm jealous
@renanaoki714
@renanaoki714 Жыл бұрын
I'll definitely learn VIM. Look at the moves! Awesome content!!!
@TheRealisticNihilist
@TheRealisticNihilist Жыл бұрын
How did you get the text over your video but not the background over your video? That's nuts.
@strager_
@strager_ Жыл бұрын
I wrote a shader in HLSL to do this. It detects the background and makes it transparent, leaving high-contrast content (like text) visible.
@TheRealisticNihilist
@TheRealisticNihilist Жыл бұрын
@@strager_ That's really cool and impressive, bro. Did you open source it?
@Originalimoc
@Originalimoc Жыл бұрын
I'm more drawn to the vim(?) skill XD
@viabyte7082
@viabyte7082 2 жыл бұрын
Hello, this may seem out of the blue and it is unrelated to the video. I am looking for help on a particular subject. I've been learning to develop for the WonderSwan, and I found you through looking at the list of people that worked on a demo for it called Titan Demo, which supposedly used the PCM/Hyper Voice of the system. Were you a part of the development of it and know anything about it and if so, can you tell me about setting up and using PCM audio for WonderSwan? Any reply is appreciated, thank you for your time
@firstnamelastname-yu2td
@firstnamelastname-yu2td Жыл бұрын
Thanks for the vid, the loop insight will improve my code (:
@AceixSmart
@AceixSmart 2 жыл бұрын
i prefer vs code but u make vim look way genius.. lol
@strager_
@strager_ 2 жыл бұрын
I cheated. I cut out parts in editing. =]
@antonsimkin
@antonsimkin Жыл бұрын
Wait I did implement chess am i intermediate now?
@aleksandr2245
@aleksandr2245 Жыл бұрын
wow, how did you search code like that 0:22 ?
@strager_
@strager_ Жыл бұрын
Press 't'. The UI changed since this video was made; now it's a menu on the left.
@aleksandr2245
@aleksandr2245 Жыл бұрын
@@strager_ 👍thank you! great channel :)
@orgs804
@orgs804 Жыл бұрын
hey what browser is that?
@strager_
@strager_ Жыл бұрын
Mozilla Firefox.
@colin351
@colin351 Жыл бұрын
Wow, how do I become a computer EXPERT as good as you, that's some Matrix level shit, "I don't even see the code", etc
@strager_
@strager_ Жыл бұрын
Code for another 15 years, I guess. 🤷‍♀️
How to Do Code Reviews Like a Human
22:49
PyGotham 2018
Рет қаралды 41 М.
10 Most Common Java Developer Mistakes
16:13
Amigoscode
Рет қаралды 107 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 82 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 17 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 13 МЛН
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 807 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,5 МЛН
Let's Review Your Backend Code | SHALL WE???
36:24
Amigoscode
Рет қаралды 303 М.
Writing cleancode withmodern Java.  Miro Cupak, Dnastack
49:14
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,7 МЛН
Big O myths busted! (Time complexity is complicated)
21:33
strager
Рет қаралды 134 М.
Junior Developer Sent Me A PR For Review
17:26
Amigoscode
Рет қаралды 168 М.
Java 21 Is Good?! | Prime Reacts
27:08
ThePrimeTime
Рет қаралды 238 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 82 МЛН