Sujet : Re: New VSI post on Youtube
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 28. Aug 2024, 00:50:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <valonj$3614m$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 8/27/2024 5:47 PM, Lawrence D'Oliveiro wrote:
On Tue, 27 Aug 2024 13:40 +0100 (BST), John Dallman wrote:
Python has a huge vocabulary, but the keywords do pretty specific
things, and until you learn the keywords for an idiom or pattern, you
can't use that pattern.
Python is actually a fairly small language. Its core language spec is less
than 20% the size of the core Java language spec.
Small nitpick: Python 3.12.5 LRM is 216 pages and Java 21 JLS
is 872 pages. It is a little above 20% according to my calculator.
But more important then I don't think pages in spec is a good
indicator for language complexity. Some languages like to
specify things very precise in great detail. Other languages
like to produce something that is readable.
But yes despite Java originally being intended to be a simple language
then it has turned rather complex over the years.
Original: checked exceptions, nested & inner classes, JNI
5: generics (incl. covariant and contravariant generic types), auto boxing/unboxing, memory model
8: lambda
9: the module system (that nobody uses)
It all adds up.
Arne