THIS Is My CLEAN Setup For Coding In Python (2023)

THIS Is My CLEAN Setup For Coding In Python (2023)

Indently

1 год назад

23,002 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Benicio Moldenado
Benicio Moldenado - 22.10.2023 21:16

Thanks for a very helpful video. I am an old retired IT guy who started out on computers and languages you may not have heard of. Now I am trying to fill my time by studying Python and I am just getting started, and your video helped a lot. Thanks again.

Ответить
E-bike squared
E-bike squared - 22.07.2023 19:33

Nice - I cut my teeth on pycharm, I prefer VSCode though.

Ответить
KoljaMineralka
KoljaMineralka - 19.06.2023 06:42

It doesn't have WSL support..only the paid version

Ответить
Tuaj Tuam Qhia Sawv Daws (Let Toua Teach You All)
Tuaj Tuam Qhia Sawv Daws (Let Toua Teach You All) - 15.06.2023 06:54

No go ligature

Ответить
satysin
satysin - 14.06.2023 19:33

What, if anything, do you use for managing your python installs? I need to learn Python so I had a search to see what is the best thing to do and it is crazy how many options there are with pyenv, conda, virtualenv, etc. I don't even know where to start so I just ignored it all and installed it with the official Python pkg install for Mac on the Python website. What do you do?

Ответить
vorpal22
vorpal22 - 08.06.2023 13:42

Note: Java does not have the === operator. You're probably thinking of JavaScript, or Scala if you're using the Cats library.

Ответить
vorpal22
vorpal22 - 08.06.2023 13:26

PyCharm definitely for the win. I pay a yearly license for the entire suite because CLion is the only C++ IDE I not only find tolerable but actually pleasant to use, and I want to support the makers of Kotlin since it has replaced Python and C++ as my favourite language.

The new UI is fantastic... very streamlined. I've chosen it across all the JetBrains IDEs that I use. (And YES to another Mac user. I could never program in a Windows environment. I need my creamy, delicious Mac OS X Unix.)

We have a member on the team that insists on using MVC and I hate it: after I approve his PRs and they're merged and I pull them, they are FULL of warnings that Python flags in accordance with PEP 8. It drives me bananas and I swear that about 15% of my time is spend just cleaning up his PRs after they're merged.

headsmacks the other day, he had a function that was supposed to return one of three types. It was something like:

def return_it(a: Optional[str], b: Optional[BytesIO], c: Optional[Boolean]):
....

If a was not None, he returned one type. If b was not none, he returned another, Finally, if c was not none and was True, he would return the third. If none of those were the case, he would raise an exception. I told him that we needed a data type with four values, one for each data type, and a failure, and not three parameters with 2 x 2 x 3 = 12 values.

def return_it(t: str | BytesIO | bool):
....

You should really do a video on the match function that was introduced. It is incredibly handy and has cleaned up our code on type matching dramatically.

Also, have you done a video on return typehints and mypy? We didn't realize we were using NoReturn wrong for the longest time when we should have been using None.

Ответить
Irfan Ibrahimbegovic
Irfan Ibrahimbegovic - 01.06.2023 02:22

Can you become developer at 38 ? I love it

Ответить
Shagadin
Shagadin - 29.05.2023 17:47

Been using VSCode for a while but at this moment I am giving Pycharm a chance. It is harder to setup than VSCode but has many quality-of-life improvements that Code lacks or have to be installed separately. I believe Pycharm is a great tool meant for big professional projects.

Ответить
Sorvex
Sorvex - 28.05.2023 21:46

Just use vim bro.

Ответить
Archi & bald
Archi & bald - 28.05.2023 07:39

Are you a freelancer?What app do you use for it?

Ответить
John Henderson
John Henderson - 28.05.2023 06:21

You forgot to cover replacement text (or whatever it’s called) like typing ‘main’ gets replace with the whole ‘if’ statement. I’m going to give this ide a try!

Ответить
Ricardo Kazuo
Ricardo Kazuo - 28.05.2023 03:01

Just Thanks!!!!!

Ответить
Keira Fox
Keira Fox - 28.05.2023 01:46

for a second i thought u were gonna show a general setup for monitoring connections to api's like a discord bot

Ответить
GGORG
GGORG - 27.05.2023 22:38

First, I started my Python journey by using PyCharm. I was already familiar with IntelliJ, because of Rider (the C# IDE). I started noticing a big resource usage impact (mostly the CPU, RAM and just the huge amount of processes that PyCharm started in the background). Then, I switched to VSCode and have been using it ever since for a few years for many languages (mostly Python and JS). Recently, I felt the need to switch to an even lighter editor, that is fast, not written in JavaScript/Electron, and, most importantly, one that wasn't built by Microsoft, has no telemetry and is fully open source. So I installed Emacs along with Spacemacs. It's not really as good as VSCode, but I like it way more... Also, I used Vim keybindings since the start, so the switch to Emacs was even easier!

Ответить
Jeremy Langdon
Jeremy Langdon - 27.05.2023 19:22

I use WSL + VS Code + Dev Containers which works amazingly well on my windows machine (have to use windows for other aspects of my work). But docker dev containers to containerize and standardize the developer experience has been a game changer for our team. No more “we’ll it works on my machine”. You can go from a repo to having a fully configured developer environment (including enforcing formatting on save, etc) in seconds and it just works.

Ответить
Mr. Tech Guy
Mr. Tech Guy - 27.05.2023 18:26

But what about Sublime ?

Ответить
AWriterWandering
AWriterWandering - 27.05.2023 18:13

the double equals sign is more of a problem for C/C++ programmers. Because C won’t throw an error.

Ответить
AWriterWandering
AWriterWandering - 27.05.2023 17:29

PyCharm is definitely the superior python development platform. VSCode is a jack-of-all trades. It’s better for mixed code environments.

Ответить
Pierre LANAU
Pierre LANAU - 27.05.2023 16:15

Do you use mac or Microsoft ? And why Mac is often considered better for coding ?

Ответить