by jsprogrammer · 10y ago · 0 comments
For example, Python has the concept of a decorator: https://docs.python.org/2/glossary.html#term-decorator. You can achieve the same thing in a variety of ways in JavaScript, but Python makes the concept of "a function that wraps another function" a central abstractions by providing syntax directly for it.
>Unless of course you're trying to argue that the difference between python and javascript, for instance, is what each is capable of computing?
The discussion with aerovistae about computation came from their initial post:
>Unless of course you're trying to argue that the difference between python and javascript, for instance, is what each is capable of computing?
If we are talking about ideal machines, there is no argument to be made that there is a difference between what the two named languages are capable of computing.
This is about how programmers can express themselves and reason about code. Not many people would choose to write their CMS in assembly.