Type hinting of Python is just a toy ?

Joel Goldstick joel.goldstick at gmail.com
Fri Jan 4 09:04:08 EST 2019


On Fri, Jan 4, 2019 at 7:50 AM Chris Angelico <rosuav at gmail.com> wrote:
>
> On Fri, Jan 4, 2019 at 8:06 PM iamybj--- via Python-list
> <python-list at python.org> wrote:
> >
> > In fact, there is only 3 types in all prigramming languages.
> > Primitive type: int, string, bool, char....
> > Complex type: struct or class
> > Array Type: int[10], string[100], struct[1000]
> >
> > These 3 type can represent all thins in the world.
>
> Why do you need three types? REXX has just one type: the string.
> Structures, classes, arrays, mappings, etc are all implemented with a
> special type of variable, the "stem".
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list

I don't normally comment on this type of thread, but I believe the OP
is showing an example of the dunning-kruger effect
https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect

Not teasing, really.

-- 
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays



More information about the Python-list mailing list