Deutsch   English   Français   Italiano  
<vagf8c$24uu6$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.vms
Subject: Re: New VSI post on Youtube
Date: Sun, 25 Aug 2024 23:37:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <vagf8c$24uu6$2@dont-email.me>
References: <v9ehs5$3mqbj$1@dont-email.me> <v9idff$f9k4$1@dont-email.me>
	<v9iqln$hrs3$1@dont-email.me> <v9iro6$fql6$1@dont-email.me>
	<66bcf876$0$717$14726298@news.sunsite.dk>
	<66bcfbe3$0$717$14726298@news.sunsite.dk> <v9kske$uqhh$2@dont-email.me>
	<va04hl$2viks$2@dont-email.me> <66c397f6$0$716$14726298@news.sunsite.dk>
	<va226u$3ce14$1@dont-email.me> <va22l3$3cdrf$4@dont-email.me>
	<va26po$3d9f0$1@dont-email.me> <vadkjs$1hs5f$1@dont-email.me>
	<vadndu$1igfq$1@dont-email.me> <vadtdn$1j524$1@dont-email.me>
	<vaduck$1jaqt$7@dont-email.me> <vadvkg$1j524$2@dont-email.me>
	<vae5bd$1o1ep$1@dont-email.me> <vafen2$1t7sa$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Aug 2024 01:37:49 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="eec8a5f8880ec9ebcfea2c2354da2438";
	logging-data="2259910"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18b8bK4uCxcf7w3rm8X/pIZ"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:eWVbJdd5QdSgbLFtN0rEovGWNi4=
Bytes: 2031

On Sun, 25 Aug 2024 10:22:27 -0400, Arne Vajhøj wrote:

> Python modules are not exactly like packages/namespaces, but OK close.

Python does have package namespaces. You can do longwinded Java-style 
hierarchies, if you want. It’s just not common.

> I guess there are two approaches to naming:
> 
> shorter is better -> less typing and smaller files

There is another useful approach, and that is

    import «long-winded-name» as «short-name»

Python supports this, too.

Java, which needs it more, doesn’t.