Liste des Groupes | Revenir à co vms |
On Sat, 24 Aug 2024 20:58:56 -0400, Arne Vajhøj wrote:Python modules are not exactly like packages/namespaces, butOn 8/24/2024 8:37 PM, Lawrence D'Oliveiro wrote:Python does hierarchies, too.On Sat, 24 Aug 2024 20:21:12 -0400, Arne Vajhøj wrote:>But later MS Basic flavors did have them:>
* VB/VBS/VBA has RegExp class and Scripting.Dictionary
COM class
* VB.NET has System.Text.RegularExpressions.Regex and
System.Collections.Hashtable (later replaced by
System.Collections.Generic.Dictionary)
Did you really have to type those longwinded names that just to access
them?
>
In Python, it’s just “import re”.
VB.NET like most modern languages use hierarchical
packages/namespaces. That tend to make the names longer.
But it had the sense to use a short name forI guess there are two approaches to naming:
such a commonly-used package as “re”.
Les messages affichés proviennent d'usenet.