New Python Coders Be Like...

preview_player
Показать описание
Join the Discord Server:

Check out part 2:
Рекомендации по теме
Комментарии
Автор

the good thing with python is that any performance issue can be blamed on the language

michka
Автор

Ah yes the classic, manually looking for the largest number in 1, 048, 576 long array

animeshsah
Автор

This video got one thing wrong, new coders don't even get a job cuz they have no experience

MajdYT
Автор

True story: years ago I worked at a project where we had a vital ETL task created with Pentaho Kettle by one Java programmer that was extremely slow, taking about 10 hours to process a 100k lines CSV file. When I opened the transformation to check what was going on, I found just a Javascript step and a big function trying to digest a line of data, and such function was being called for. Every. Read. Line. In. The. Goddamn. File. I threw it away, recreated it using Pentaho standard components, and the time dropped to... 1 minute.

chpsilva
Автор

Don’t use For loops in Python, use the Python packages written in C++ that use For loops themselves, but natively.

smallbluemachine
Автор

"I finished the Codecademy course. Now I am ready to work in the real world!" — Famous last words.

DonVigaDeFierro
Автор

As someone who took introductory python, my mind went straight to the for loop too 😅. And then I realized a few seconds later that the max() function does exactly that.

lightscameras
Автор

"alright lets run this bad boy" this is hilarious😂

ohjhzpd
Автор

How to make your Python code faster: use C.

That's literally what using max() instead of a for loop does.

sharpshark
Автор

I actually burst out laughing when he opened notepad for his "favorite code editor".

joselmao
Автор

*As a beginner, the top comments/threads on this video are actually very helpful. Saved! :)*

andiuptown
Автор

this is so good, from the bgm to the sound effects to the zoom ins and copy-paste. pure gold, yt at its finest

koshobai
Автор

As a Data Analyst named Billy who had to go through learning python kind of on the spot (after mainly using R in university) this video is scarily accurate. The guy even talks to his colleagues the same way i do hahaha (avid smiley face user).

surfingbilly
Автор

Can we just appreciate how that 5 bytes at 0:22 file turned into 12.70kb at 0:27?

syncingdata
Автор

This might be one of the funniest videos I’ve ever seen. Great work😂👏🏿👏🏿

kayodeoladele
Автор

I have about 10 hours and experience coding in python and I still found this pretty funny

tirushone
Автор

Just want to elaborate on why you shouldn't use for loops where it isn't necessary. Python is written in C, and so every built in function will be ran as C code which is much much faster. If you write the same function in Python you get a very intense drop in performence. Same goes for anything, if you can find a way to use Python's standard library or a package that's written in C (such as Pandas, Numpy etc.), you should because it'll all be much faster.

EDIT: Pandas itself is written mostly in Python, but it is heavily based on numpy. Which is why Pandas' devs discourage the use of iteration over dataframes and instead encourage the use of methods available in the Pandas library. Thanks for correcting me😁

Nick-lcll
Автор

One of my pet hates right here! For loops no, totally missing a mentorship opportunity and mocking someone trying to solve a problem with a deadline and a knowledge gap.

damnthetorpedoes
Автор

can we take a moment to applaud this man? he cant spell for shit on discord yet never makes a single typo in his code.

amour
Автор

Turns out he got the right number, but they were all in imperial units, but the rocket ship uses metric units.

PythonPlusPlus