Re: Web development newbie
Not exactly true. Both java and Python are strongly typed. However, Java has static typing, and python has dynamic duck-typing system. That means, type of your object is detected in run-time, but it cannot be changed, contrary to weakly typed languages like PHP, where you can treat string as number and number as boolean.
E.g., you cannot do the following allowed in weakly-typed languages:
$a = "" + 6;
In python, you just cannot add string to number.
And as to the topic, I'm sure that at least basic python knowledge is required to use django for something more then just a small home page with 2 static HTMLs.
PS I am a Java developer, and more then year ago started looking into python, wrote few small components for work and now trying to leverage django for my web-project. I doubt I could do something so fast if I haven't known python at all.
On Sunday, July 24, 2011 1:21:20 AM UTC+1, Doug Snyder wrote:
-- On Sunday, July 24, 2011 1:21:20 AM UTC+1, Doug Snyder wrote:
I went from JAVA to python and am now learning django.
Going from JAVA to python is not a big deal.
Most of the concepts are the same, the biggest difference
being that JAVA is strongly typed and python is weakly typed.
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/G7vXfLAb5GQJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home