Totally agree; first make it work then look at the process for potential improvements.
@HitBoxMaster Жыл бұрын
Do you have a video explaining how one should go about optimizing one's code, and even if it's worthwhile doing it?
@Indently Жыл бұрын
To keep it short, in Python you in general don't think about optimising your code until you get your code actually working. Then you can start thinking about some general optimisations, but I wouldn't work so hard for micro optimisations because an upgrade in Python versions, or an upgrade in a package can easily ruin all that time spent on saving 0,000001 seconds. I spend all my time thinking about optimisations because I'm a mad scientist who makes videos about it, but that's a special case.
@XxxX-sl8lo Жыл бұрын
First, Thank you for everything you do, Can give your opinion in the following case: I have got a project proposal for a large-scale system, and i was wondering can i do it in python (from performance-wise) or go with other options (java -spring, c# -.NET, etc). I am afraid that later on after moving forward in implementing project, i recognize it was a herrible mistake to choose python (Also GIL is another impediment to optimizing the code => and does not support real multithreading), what's your opinion? i know that big-tech use python, but they may use it in one, two, or more layer and not for the entire system. FOR ex: it may be used for IO-bound tasks and non-intensive CPU tasks (fetching data, directing request, balancing loads, ....). Lastly: sorry for my english is poor
@shy-watcher Жыл бұрын
I know it's too late and you're not asking me, but I feel like for any large-scale project the most important part picking the language is familiarity with it. If you/the team only knows Python, it will work better than trying to learn a new language while starting a big project. Plus I feel like for big projects the slow execution is usually architectural in nature, so picking language based on speed is not that important. Though it depends, I can imagine projects where something compiled is better suited. And, although I don't have the experience to judge, there's a popular belief that python being easy and fast to code in becomes a problem when the project is too big, and something with more formal boilerplate like C# or Java works better to coordinate development on larger scale.