[-] xChaos@f.cz -2 points 1 year ago* (last edited 1 year ago)

@agressivelyPassive ok, comprehensions are just syntax, but still, they still allow producing new arrays directly from iterable objects, without need to store them in temporary arrays, which counts as added abstraction.

Basically I agree, that there are concepts which are simply not available in certain runtime libraries/interpreters, like multithreading or lazy evaluation. So I more or less agree, that syntax is not so important and we should categorize the underalying abstractions, accessible by syntax (or whatever).

But at least memory management abstractions of Python are very different from Fortran or C (ok, you can use many different libraries for that in C, but you will hardly get reference counting and automatic clenaup of unreferenced objects and so, and this not just syntax issue... it is automation issue...)

1
submitted 1 year ago by xChaos@f.cz to c/memes@lemmy.ml

Skupina @memes nám ve federované timeline vyslovně chyběla :-) #lemmy #fediverse #memes

xChaos

joined 2 years ago