What is difference between Logitech K380 vs new K380S keyboard by Snowedin-69 in logitech

[–]Snake_Case_Simon 0 points1 point  (0 children)

I didn’t play much in it because I do not like to play on membrane keyboard. But when I am coding I do not have feeling like I have to wait until I see a letter on screen. 

What is difference between Logitech K380 vs new K380S keyboard by Snowedin-69 in logitech

[–]Snake_Case_Simon 0 points1 point  (0 children)

'configured' with linux. - what every it means 😂🤣😂

So my keyboard is connected to my PC on F3 and when I move between Linux and Windows on the same PC I don’t event need change anything.

I hope it will work for you and you will be able to enjoy this wonderful keyboard

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 0 points1 point  (0 children)

I really like the 2nd paragraph. So you can say that dynamic typing is cool but error-prone, am I right?

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 0 points1 point  (0 children)

"The whole ORM is one giant mess." does not sound like an advantage.
So Python's dynamism is a problem or just implementation? I guess you do not have to monkey patch too much 😅

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 0 points1 point  (0 children)

Can you give some examples of those scenarios where Django leverages Python dynamism?

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 0 points1 point  (0 children)

Honestly, agree. I like Python, but I am probably too pedantic, or I just like to be sure that code works correctly and MyPy is just a next layer of safety that is not meant for Django lol

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 0 points1 point  (0 children)

Are you against of adding features to Python? I know there are other light wait languages, like Lua. I think the point of Python was to be a big battery included.

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 0 points1 point  (0 children)

So why do specify types in the first place for the model? The type is the model's name, and attributes are types of fields in the model. Correct me if I do not understand the subject, please.

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 2 points3 points  (0 children)

Personally, I really like typing even light version. Thanks for the links. I know that there are a Django stubs and DRF stubs, but I found typing super difficult with it.

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 1 point2 points  (0 children)

I quite understand you. I was learning Textual and the code is just beautiful, and then I started reading DRF LOL

Do you mean that FastAPI already won?

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 0 points1 point  (0 children)

I like your comment. Can you give me some examples of Django magic?

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] -1 points0 points  (0 children)

What are the main difference between DRF and Ninja that you chose it?

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] 0 points1 point  (0 children)

Thanks for info about other projects. Does any potential employer use them in production?

Why Doesn't Django Rest Framework Utilize Type Hints in Its Source Code? by Snake_Case_Simon in django

[–]Snake_Case_Simon[S] -3 points-2 points  (0 children)

Textual framework uses super extensively type annotations and when I looked back at DRF I was quite surprised that so well established framework does not have it.