On 02/10/2013 11:15, Oscar Benjamin wrote:
On 2 October 2013 00:45, Rotwang wrote:
So the upside of duck-typing is clear. But as you've already discovered, so
is the downside: Python's dynamic nature means that there's no way for the
interpreter to know what kind of arguments a function will a
On 2 October 2013 00:45, Rotwang wrote:
>
> So the upside of duck-typing is clear. But as you've already discovered, so
> is the downside: Python's dynamic nature means that there's no way for the
> interpreter to know what kind of arguments a function will accept, and so a
> user of any function
Chris Friesen writes:
> I've got a fair bit of programming experience (mostly kernel/POSIX
> stuff in C). I'm fairly new to python though, and was hoping for some
> advice.
Welcome! Thanks for taking the practice of programming seriously enough
to seek improvement.
> Is the recommendation to ha
On 10/1/2013 6:54 PM, Chris Friesen wrote:
Given the fact that function parameters do not specify types, when you're
looking at someone else's code how the heck do you know what is expected for a
given argument? (Especially in a nontrivial system where the parameter is just
passed on to some
On 01/10/2013 23:54, Chris Friesen wrote:
I've got a fair bit of programming experience (mostly kernel/POSIX stuff in C).
I'm fairly new to python though, and was hoping for some advice.
Given the fact that function parameters do not specify types, when you're
looking at someone else's code
On Tue, Oct 1, 2013 at 6:54 PM, Chris Friesen wrote:
>
> I've got a fair bit of programming experience (mostly kernel/POSIX stuff
> in C). I'm fairly new to python though, and was hoping for some advice.
>
> Given the fact that function parameters do not specify types, when you're
> looking at s
I've got a fair bit of programming experience (mostly kernel/POSIX stuff in C).
I'm fairly new to python though, and was hoping for some advice.
Given the fact that function parameters do not specify types, when you're
looking at someone else's code how the heck do you know what is expected fo