Article View: comp.lang.python
Article #58Re: Back To CS Basics. Fuck AI
From: Blaine
Date: Sat, 17 Oct 2026 21:47
Date: Sat, 17 Oct 2026 21:47
75 lines
4785 bytes
4785 bytes
Lawrence D’Oliveiro wrote: > On 17 Oct 2026 09:43:01 GMT, Stéphane CARPENTIER wrote: > >> From what I saw, for a beginner's approach, python is easier than Java >> or C++. Now when one starts to use python in the real life, the >> complexity of python appears. Because that's the python way: things >> works except when they stop to work. > > I haven’t encountered that. I have written some reasonably substantial > Python code -- would this one <https://gitlab.com/ldo/qahirah> count? > That’s over 8500 lines. And this <https://gitlab.com/ldo/dbussy> > consists of 2 modules totalling over 10,000 lines. No wonder. The problem with counting by lines is you may come up with 10,000, but if you took out whitespace it could be short as 102 lines. >> Like, it's not a typed language but start playing with dictionaries >> without declaring your variables first to see how the claims stand >> before the facts. > > It is true you can make typos with misspelling variable names, because > assignment to a name the compiler hasn’t seen before causes the implicit > creation of a new variable. To begin I know you should only import maybe at most 2 packages besides sys and/or random. > One thing that helps limit the damage from this is the scoping rules. > For example, you can reference a global variable from an inner scope > without having to declare it global; but you can’t assign to it from > that scope unless you explicitly declare it “global”. > >> And I'm not speaking about the dependencies. Each version breaks >> everything ... > > Backward compatibility tends to be pretty good. Yes, some ancient > library modules do get deprecated -- still want to use the CGI > toolbox, or access Sun audio files?? I'm usually attempting to advance to a later version of Python in my expeience. Backward compatibility is great, but it's important to look at what new versions bring. >> ... so well that now some distros don't let you install >> libraries with pip if you are not in a virtual environment. > > Do other languages get away with allowing you to override standard > system libraries without breaking things? It's a standard. > Maybe the issue is, Python has achieved a degree of popularity way > beyond anything those earlier languages could have managed, to the > point where critical system components have now become dependent on > it. > >> So, yes to do something simple, python is fast and easy. But if you >> want to power of C++ and Java, you can't use python on a simple way. Which of the powers are you referring to? > Python can do things as complex as anything you might want to do in > C++ or Java, with much less code. For a real-world example, look at > how you would set up a TLS/SSL encrypted connection in Java, versus > doing it in Python. I've found the integer system powerful. -- Can you strip away so we may start again? "There’s a switch and they don't seem authentic or themselves. It feels like I’m an unnecessary body and it’s a waste of time to even be there." -- Grim, playful Blaine.
Technical Details
Message-ID:
<11b0qe7$kgm7$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com> <11atgth$3e59h$1@dont-email.me> <18df0ea174d534e0$1613$2650862$802601b3@news.usenetexpress.com> <11atlpr$3g55c$1@dont-email.me> <11au66n$3m5co$6@dont-email.me> <11aucit$3o8ih$3@dont-email.me> <6ad34325$0$3147$426a74cc@news.free.fr> <11b0m8k$iems$5@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Blaine <cactus_DAC@yahoo.com> Newsgroups: comp.os.linux.misc,comp.lang.python Subject: Re: Back To CS Basics. Fuck AI Date: Sat, 17 Oct 2026 15:47:43 -0600 Organization: A noiseless patient Spider Lines: 75 Message-ID: <11b0qe7$kgm7$1@dont-email.me> References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com> <11atgth$3e59h$1@dont-email.me> <18df0ea174d534e0$1613$2650862$802601b3@news.usenetexpress.com> <11atlpr$3g55c$1@dont-email.me> <11au66n$3m5co$6@dont-email.me> <11aucit$3o8ih$3@dont-email.me> <6ad34325$0$3147$426a74cc@news.free.fr> <11b0m8k$iems$5@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 17 Oct 2026 21:47:52 +0000 (UTC) Injection-Info: dont-email.me; logging-data="672455"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IB0hoBbixdBAgpoz12m9Y+A810Bd6u20="; posting-host="beb230c423f6bd4e79830a225bf1d1b8" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:9E/nkbydUm/AtlX0LAWdgAuL/yU= sha256:iPu1PZk+Qhv2nJdoo2xBL8cf5J3t1/saPfYjiogH8ew= sha1:afA05BnRGcE8RzrdJSuYj0Fgra4= sha256:45ROYMvAY5Sl+i7GR7X8hZnM0P9y2GqvoBMKEgSifjs= In-Reply-To: <11b0m8k$iems$5@dont-email.me>