5 Best Python Habits for Better Code

  Рет қаралды 1,862

Code with Josh

Code with Josh

Күн бұрын

Пікірлер: 21
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
👉 Get my Free Python Courses Here ~ zerotoknowing.gumroad.com 👉 Join my weekly Python Newsletter ~ thenerdnook.substack.com
@TheAdventureOfLife
@TheAdventureOfLife Ай бұрын
The man explained what “if __name__ == __main__” to me in 3 minutes. Legend 👍
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
Glad you got value! Hope you can start using these now 😁
@only4u1000
@only4u1000 Ай бұрын
Wow Josh!! I appreciate your very clear diction! Thank You! :) New subscriber here 👋
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
Hey thanks for being here! Glad to have you 😁
@ultimatesound8515
@ultimatesound8515 Ай бұрын
Adopt these early on, great habits!
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
Thanks! 😁
@PeaceOsazee
@PeaceOsazee Ай бұрын
Thanks for sharing this with us ❤
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
Absolutely, glad you liked it! Thanks for being here 😁
@kapibara2440
@kapibara2440 9 күн бұрын
Nice video! Like button of course has been clicked 😊
@codewithjoshoffical
@codewithjoshoffical 8 күн бұрын
Thank you! 😁
@wombaat211
@wombaat211 Ай бұрын
Thanks, definitely taking note for this
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
Glad to help! 😁
@agentm10
@agentm10 Ай бұрын
Another excellent video by Mr. Code. Question: Is it more "pythonic" to use list and dict comprehension or to use filters, maps and lambda functions? Also, regarding good habits, I would add documentation and testing to good habits. This gets drilled into CS students, but non CS programmers get sloppy with both.
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
Hey there, thanks for your comment! Overall I'd say most senior devs and the more pythonic way to go about things are comprehensions for sure. This is mainly because it's viewed as more readable and more so because this avoids the need for extra function calls that come when using map/filter/lambda. Also with your insights about good habits, I love them! I agree, writing good documentation is so important, I like to think of my script as a notebook. Anyone should be able to look at my code and understand quickly about what's happening. I've written about unit tests on my blog, but haven't done a video on this yet. Definitely something I should put together too!
@subhamchakraborty3465
@subhamchakraborty3465 Ай бұрын
Your python tutorial is such a great ❤❤
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
Thank you 🙏🏼
@jaredthatcher3383
@jaredthatcher3383 Ай бұрын
You are the best bro
@codewithjoshoffical
@codewithjoshoffical Ай бұрын
Thank you 🙏🏼. Glad you enjoyed the video!
@jaredthatcher3383
@jaredthatcher3383 Ай бұрын
@@codewithjoshoffical No problem!! Currently working on your python course!!
@TheScottbee
@TheScottbee 17 күн бұрын
Great video, but stop saying to like and describe. You say it like 4 times in the video and it is overkill.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 548 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 180 М.
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 7 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 23 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 20 МЛН
5 Good Python Habits
17:35
Indently
Рет қаралды 564 М.
5 Most Useful F-String Tips for Python Beginners
16:27
Code with Josh
Рет қаралды 1,2 М.
Top 10 Built-in Python Modules You Should Know
27:13
Code with Josh
Рет қаралды 1,7 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 246 М.
Simple Code, High Performance
2:50:14
Molly Rocket
Рет қаралды 254 М.
Why More People Dont Use Linux
18:51
ThePrimeTime
Рет қаралды 265 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 189 М.
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,4 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 7 МЛН