lysdexic

joined 2 years ago
MODERATOR OF
[–] lysdexic@programming.dev 19 points 2 years ago* (last edited 2 years ago)

Java 17 LTS

[–] lysdexic@programming.dev 2 points 2 years ago (1 children)

Did not expect that 2 decades of developer experience in Java EE would amount to nothing, for the people who implemented Jakarta.

I'd love to hear more about specifics.

[–] lysdexic@programming.dev 2 points 2 years ago (6 children)

Out of curiosity, why is this request being downvoted?

[–] lysdexic@programming.dev 8 points 2 years ago

This was the first time I saw someone refer to Python's type hints as a performance tool. Up until now, I only saw references to type hints as a way to help static code analyzer tools verify that objects and invocations comply with contracts.

I guess that having additional info at hand to determine how some calls are expected to be made is helpful to gather info to drive optimization steps, but PEP 484 is clear in stating that it's goal is to help type checkers, and that code generation using type hints might be limited to some contexts.

This sounds like yet another example supporting the old law of interfaces, where all it takes for an interface to be abused is for it to exist.

view more: ‹ prev next ›