2. Re: Type and value checking in Python!
- Posted by ghaberek (admin) May 02, 2018
- 1726 views
Three hours?! Ain't nobody got time for that. Can I get the CliffsNotes version?
-Greg
3. Re: Type and value checking in Python!
- Posted by ghaberek (admin) May 02, 2018
- 1737 views
Since we're on about Python, let me share Monday's XKCD comic with you.
Let's always aim to be better than this.
-Greg
4. Re: Type and value checking in Python!
- Posted by SDPringle May 03, 2018
- 1650 views
Three hours?! Ain't nobody got time for that. Can I get the CliffsNotes version?
-Greg
You have more time when you give up TV. 😃 The short version would be several pages long but the type checking like in Euphoria is possible in Python although it is not a feature. You can implement Euphoria like tyoe checking using "meta programming".
Shawn
5. Re: Type and value checking in Python!
- Posted by ghaberek (admin) May 11, 2018
- 1383 views
Is this the same thing?
Pyre: Fast Type Checking for Python
-Greg
6. Re: Type and value checking in Python!
- Posted by Icy_Viking May 11, 2018
- 1334 views
Python has a lot going for it. Though I'd rather code in Euphoria. There's so much cumbersomeness(is that a word?) to Python that I really dread programming in it. I think Euphoria could be on the same level if not higher than Python if some tweaks were made here and there.
7. Re: Type and value checking in Python!
- Posted by SDPringle May 13, 2018
- 1314 views
No, this looks like it is another way of implementing static type checking. The Euphoria notion of type check would be better called "value check". The meta programming approach also allows this but at the cost of speed.
Whereas a static type may be less flexible, it is possible to do before running the program you're writing. Python meta programming cannot do this.
8. Re: Type and value checking in Python!
- Posted by SDPringle May 13, 2018
- 1283 views
Python has a lot going for it. Though I'd rather code in Euphoria. There's so much cumbersomeness(is that a word?) to Python that I really dread programming in it. I think Euphoria could be on the same level if not higher than Python if some tweaks were made here and there.
What tweaks do you mean? Make a new post for that in a new thread if you do.