From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: Ada: A beginners experience Date: Sat, 14 Jul 2018 17:31:50 -0700 Organization: A noiseless patient Spider Message-ID: <87fu0lqqyx.fsf@nightsong.com> References: <1d3743b1-1a36-429d-92c7-9ae0e7c16e63@googlegroups.com> <87fu0m7ak0.fsf@nightsong.com> <6febe5d6-0339-4da5-afe5-9af4e2255597@googlegroups.com> <87muutddsc.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="435807a12a862d7d170cd1340b945495"; logging-data="22147"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HGlQUxP0j1lv0RskfpkAT" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:xBNNNnsVDj7i+OsatxpxIVJZfUo= sha1:EUuq9LBQhzmcZXZVJMvZlLImWTw= Xref: reader02.eternal-september.org comp.lang.ada:53823 Date: 2018-07-14T17:31:50-07:00 List-Id: "Dmitry A. Kazakov" writes: > As if you didn't have to import modules in Python. If this example > shows anything then bad design of Python where standard modules get > special treatment. In Ada all packages are same. The package Standard > is minimal. Only one standard Python module ("builtins") is imported automatically. You have to import the rest. I think there is a way to suppress the automatic import of the builtins module. Haskell similarly has the standard Prelude, OCaml has something similar, etc, fwiw. > While Python code is incredibly ugly and impossible to understand > being counterintuitive, cryptic and lacking any regularity. I haven't found this most of the time. Python has some weird and confusing features like metaclasses, that might or might not be badly designed, but that are usually irrelevant for beginners.