News for hackers. Stuff that matters.
Re:Brython – A Python 3 implementation for client-side web p... by Drew_ on Monday July 06, 2020 @11:57AM (#23749221)
Most programming languages have a nice delineation between a dictionary and an object but they are one and the same in JS and that'll throw plenty of traditional programmers for a loop.
Re:Brython – A Python 3 implementation for client-side web p... by andybak on Monday July 06, 2020 @02:12PM (#23750883)
To be fair Python has the concept of "everything is a dictionary" running pretty deep in its DNA. To a certain extent everything in Python is syntactic sugar over dictionaries.
Re:Brython – A Python 3 implementation for client-side web p... by jccooper on Monday July 06, 2020 @03:12PM (#23751577)
Yeah, but that's implementation. Top level syntax, an object and dictionary are distinct.