How to Code Like a Pro (with Dylan Israel)

preview_player
Показать описание
Learn how to write more professional code. Learn tools and principles to improve your code from Dylan Israel.

This tutorial covers:
⌨️ (0:00:00) Introduction
⌨️ (0:02:45) Linting
⌨️ (0:09:21) Variables
⌨️ (0:30:04) Functions
⌨️ (0:52:27) Comments
⌨️ (1:08:45) SOLID Principles
⌨️ (1:21:05) Single Responsibility Principle
⌨️ (1:29:52) Open Closed Principle
⌨️ (1:36:44) Liskov Substitution Principle
⌨️ (1:44:32) Interface Segregation Principle
⌨️ (1:54:49) Dependency Inversion Principle

Here is a course from Dylan you can get for $9.99:
100 Algorithm Challenge - How to Ace the JavaScript Coding Interview

--

Рекомендации по теме
Комментарии
Автор

When using vs code you can right click on the variable and select rename symbol. This will rename variables throughout the file. I use this frequently and can be a real time saver when renaming variables that are used in a lot of different places.

MatthewMcGuff
Автор

0:43 analogy
1:07 sort of like comparing a treehouse to a home
2:57 what is a *linter*
4:28 example
6:04 *var* is forbidden, use *let* for variables and *const* for constants

1:08:50 SOLID principle

ruixue
Автор

Almost didn't watch this because of how long it is (2 hours is a bit intimidating!) but now I'm already 20 mins in! Useful video 👍🏻

dmmm
Автор

Nice tutorial. Glad that you used typescript for this. I think these topics are easier for those who have C# and Java background than those (esp beginners) who start with JS.

christianjamesguevarra
Автор

Very useful video, with some good steps for improvement. Thanks for uploading :D.

Stereotypical_Cat
Автор

A decent guy, no bs, just does him and rocks it! he is funny, clued up. I seen this guy go from zero to hero. mad respect. I got your back. All the best my friend, tutor and mentor. Peace out! 'Looks like Elon musk, and just as dedicated as Elon musk'

bbl
Автор

Great video. Some concepts are over my head as I am not experienced enough. May need to revisit later. My takeaways:
- Principles: Searchable, Readability, Understandable.
- Naming of variables should indicate what it does/what it is. A good name would eliminate the need for a comment.
- Books: Clean Code and The Clean Coder by Robert Martin

iVuDang
Автор

25:56 Wait, what... the Earth's radius? Is that not like, THE ultimate global constant??? 😂😂

sonovoxx
Автор

idk, take this video with grain of salt, it have good points, but also lot of personal preference.
I'm sick of pointless meetings about indentantion and then doing long crunch time, because half of project time was wasted in 'architecting' endless abstraction layers because SOLID good, man wrote principle in book.

moofymoo
Автор

You could use cmd+D to select multiple instances of the same word and then just edit them at the same time. I hope you didn't know that may be. Anyways... great video. thanks alot!

iamrajatsinghpatel
Автор

Good video. I'm from vietnamese, i love this video 👍🏼

didaantruong
Автор

"... you are not taking the concrete and making it abstract" That changed my whole outlook for software composition lol.

nicholasmaniccia
Автор

Hi Dylan,
compliments for the first hour -- then a bit confused; a teacher may have an opinion. I agree when you talk about small objects and classes; inheritance and being aware of consequences in your programming/development tree --> whether it's the coffee-table or a formal meeting -- this will always remain a discussion - you summarize the internet debate in a clear and sympathetic way.


But the second hour: hop skip and jump without explanation. Elaborate examples where here just the details count. (I know backticks but I am not so sure you are using them in the right way - that is a step back to assembly programming and who wants to do that these days??).
Waiting for another video and hoping that you take a step back.


Benny


P.S. 1, // You recommend not to but I do use comments in my code: e.g.:
- it makes a difference whether I study through Mozilla or Google - I like to refer and explain my choise. it's all ES?? newest but approaches are different and I like to follow the debates.
- I always refer to web-sites where I get my info; e.g. Processing (p5.js) is an example. That takes \\ here and there but does not influence the code.
- Readers / programmers can skip tricks that I use while programming but are a complete independent unit. E.g. I have growing trees in a natural environment; studied and programmed through courses at processing.com; Not an animated GIF but pure JavaScript. This requires (1) reference / thanks to the teacher I started with (2) explanation to the way I implement a "stolen" function and still try to be honest.
P.S. 2, Hope I am not too harsh - rereading the above - you gave me a good course and a little debate. Keep on with it :)

bennybrouwer
Автор

You don't have to worry about code formatting like replacing single quotes to double quotes or indentations of your code. Let Prettier do that for you, I believe that this is just wasting a dev's time, rather than focusing on the important part that is solving the problem.

rajun
Автор

I want to achieve mastery and am willing to work on coding for a long to complete that goal.

HostDotPromo
Автор

1:16:28 Liskov is not actually a gentleman, but a gentlewoman. Barbara Liskov is a living legend.

SoodAnkita
Автор

JUST PLAY THE VIDEO AT X1. 25 SPEED... AND U WILL NOT SLEEP.. WHILE WATCHING AND WORKING WITH IT.

beawakened
Автор

"is vs has" isn't related to verbal tenses but inheritance vs composition, right?

jpmantunes
Автор

The code at 14:55 doesn't work, it just returns num*(num-1). Should be factorialTotal *= i;

outspan
Автор

I got that "D" joke by the way!

CroshVine