As an avid user of type hints I think it would be fantastic. I believe with the 
upcoming release we only target Python versions that support type hinting, 
which was one of the issues holding us back before.

I would recommend choosing a specific part of Django and investigating adding 
type hints. Django is quite big, and I think most of the value for type hints 
comes from user-facing components rather than some internals.

I would start looking at:
1. The ORM
2. Class based views
3. The Request/Response objects

And see if you think it’s viable to add a decent amount of type hints to any of 
these. There is some “magic” in each of these which might be hard to express 
with type hints, but it would be valuable to know how far we could get.

Tom

> On 27 Mar 2020, at 23:07, Kacper Szmigiel <szmigielkac...@gmail.com> wrote:
> 
> 
> Hello everyone!
> 
> My name is Kacper, I'm 22 y.o. CS student from Lodz, Poland. I've started 
> researching some nice feature for my GSoC proposal, and I have a few 
> questions to you, dear Community :)
> Unfortunately, due to this whole mess caused by covid-19 I had like no time 
> to sink into Django codebase and figure some things out by myself (none of 
> polish Universities were ready to switch to e-learning). I have a few years 
> of experience in using Django for my commercial projects, but I had no 
> occasion to contribute to the framework yet.
> 
> What I would like to implement is type hinting, as suggested here: 
> https://code.djangoproject.com/ticket/29299
> 
> So, my first question is: what do you think about this one? Does it make 
> sense at all? I suppose such feature could be really useful for many of 
> developers 
> (https://www.willmcgugan.com/blog/tech/post/adding-type-hints-to-the-django-orm/).
> 
> As I mentioned, I had no time to read the code and understand how Django 
> works. Do you have any tips on where should I start my technical research in 
> reference to this feature? I know I have not much time to prepare my 
> proposal, but I will do my best during this weekend and send it to get some 
> feedback.
> 
> Thanks in advance, any tips and tricks welcome!
> 
> Kindest regards,
> Kacper Szmigiel
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/61592cd2-87b5-4d6b-a2f8-52a3dbf3fa21%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/FAFB6CCC-0A8E-4272-AE8D-F808B285981E%40tomforb.es.

Reply via email to