Re: OT: C or C++?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, 14 Oct 2010, Nick Dokos wrote:

is certainly a lot of room for disagreement, but Python, in particular,
has a fairly strict type system. It is dynamic (execution-time)

So how do I, in Python, declare that variable 'foo' must only ever be an integer. Then, when my program accidentally tries to assign a string, unicode string, tuple, list, or class instance -- I want it to throw a compile-time error. How do I do that?

-gabriel

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux