Make Your Python Code More Professional

preview_player
Показать описание
Today we will cover three ways in which you can make your Python code more professional.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

🌐 Social Media & Contact 🌐

Timestamps:
(0:00) Intro
(0:16) 1 - Type Hinting
(6:20) 2 - Docstrings
(13:15) 3 - Declarative Programming
(18:08) Outro
Рекомендации по теме
Комментарии
Автор

In a day that everybody starts their channel with some beginner content, this is awesome to this some people put together and share some professional content. Thanks for recording and sharing this video. It was very informative.

salarghaffarian
Автор

Thanks so much for the information. I am a new developer and its great to learn the right way from the start, especially if you're going to work in a team

krispyren
Автор

Thank you man, after solving many code wars katas with boilerplate for loops I now know what I can improve on to write better code.

mihajlofrancic
Автор

cool! i learned you can print anything that you have defined from watching this video! my skills are increasing little by little!

Radical
Автор

You shouldn't mix the docstrings formats like numpy format and restructuredText format.
:param: is the restructuredText whereas,
Parameters

is the numpy format

NishithSavla
Автор

I code in terminal haha but that's still some cool tips to know if I code something that is going to be shared, thanks

AlghostUnit
Автор

FFS.... I write code in python in many, many different ways and applications, but i never knew, that you can do something like a 'type-comment'. It's what I need and what I love. With respect to the C++ origin and harmony. Thank You, my Sir <3

PS Amazing showcase of being "inside" the topic. Nothing but getting better sticks to me right now. List comprehensions still seem a little complicated to me (in some cases of course), but now I see that they make code A LOT clearier, which is the feature I was hoping to find here. I would love to such JediMindTricks done to dictionaries.

skyr
Автор

Can you give us an example where a loop and appending to a list would be acceptable? I do A LOT of this, should I be trying to convert most or all of it to a list comprehension? Maybe some multi-line list comprehension examples would help. Thanks! love your channel!

SAlexandert
Автор

Make a separate playlist of these tips. This is very useful for beginners like me.

awsomeslayer
Автор

Thanks a lot for the great tips. For list compensation and filters, is it always better as it can be very long in line and full of conditions. I read that you should not go beyond 80 characters per line... or can we split thr list comprenhesion on two lines?

bassenji
Автор

filter returns a filter object, that you can iterate on later. However, when converting it to a list, it is a bit slower than list comprehension.
So to my best understanding, if you want to just iterate on the filter object, don't convert it to list, since the filter operation alone takes much less memory and time.

jonathan
Автор

huh, ":param" was something new for me

nurdauletturar
Автор

thank you for video
btw. why Union has this wierd syntax eg: Union[Int, Float] it's so non pythonic, I would expect something Union(Int, Float)

suche_cz
Автор

I never saw that suggestion "Convert loop into list comprehension".. Uhmm maybe it's not available in community version ..

princex
Автор

program run hi nhi kr rhe dusra logic bataiye

anushkachaurasiya
Автор

i dont like to import unnecessary libraries 5:07

cookieIg-nb
Автор

guys, whenever creatring a new project with python please run this command " import this ". could be helpful too

ll
Автор

Your content is amazing but if you made your videos less robotic and with more energy and humor. What i mean is maybe smile here and there.

ananthramvijayaraj