Deutsch   English   Français   Italiano  
<v42jjg$2nd7m$1@dont-email.me>

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

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor <vallor@cultnix.org>
Newsgroups: comp.os.linux.advocacy
Subject: Languages (was: Re: More Funny Stuff From The Joke Python)
Date: Sat, 8 Jun 2024 21:48:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <v42jjg$2nd7m$1@dont-email.me>
References: <17d716103c089ab3$7951$675878$802601b3@news.usenetexpress.com>
	<ej496jd0tb59u2l0nqtghq3u9ahhmann3s@4ax.com>
	<lcjnnuF896hU5@mid.individual.net>
	<kma96j1no1tp926ctejldkdk2c19aeruft@4ax.com>
	<lcjvk1F9n7aU1@mid.individual.net>
	<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 08 Jun 2024 23:48:32 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="dd16ccb5749f85d78ead4ca9ace38585";
	logging-data="2864374"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18akrQzT1CQWghtZ2i0sG/F"
User-Agent: Pan/0.159 (Vovchansk; ccc58f8; Linux-6.9.3)
Cancel-Lock: sha1:oUbMgJL3k+l81LjdE83Hcjvu4qY=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
 XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
Bytes: 3733

On Sat, 08 Jun 2024 17:32:14 -0400, Joel <joelcrump@gmail.com> wrote in
<2ej96j1mbvgiok4q5c57vdlo94itpfu5dt@4ax.com>:

> rbowman <bowman@montana.com> wrote:
> 
>>>>> Free hint:  don't use something you're not into using.  What little
>>>>> I've seen of Python seemed like a child's toy, but guess what, I
>>>>> didn't explore further.  Relax, smoke a doobie, dude.
>>>>
>>>>You should dig a little deeper.
>>> 
>>> To do what?
>>
>>I have no idea what you want to do with a computer. Do you do data 
>>analysis? Python with pandas, numpy, and related modules is overtaking R 
>>in that field. The python implementations are usually faster than R which 
>>says something about R's lack of performance.
>>
>>Machine learning? PyTorch and TensorFlow offer two approaches. Create a 
>>desktop GUI applcation? I prefer Pyside6, which is a Qt binding, but there 
>>are other alternatives including Tkinter.  Web application? Django, Flask, 
>>and FastAPI offer different approaches and degrees of opinionation. Work 
>>with microcontrollers using the RP2040 chip. MicroPython and CircuitPython 
>>make rapid development possible.  Like comics? I have a script that gets 
>>the ones I'm interested in from gocomics.  Music? I've got one that 
>>queries the itunes data base for artist or song information. Databases? 
>>Pick your poison.
>>
>>So, what do you want to do? Of course you can do all of the above with C, 
>>C++, or another language but you may be writing more code and doing more 
>>debugging. If the Python prototype is too slow you can rewrite it. For 
>>example I did the itunes thing in both Python and C#.NET to test the .NET 
>>SDK on Linux.
> 
> 
> I can't imagine I'd need anything beyond C.

My go-to language has always been perl, but I use
C when I need performance...or very strict security,
like with a setuid wrapper.

Python is filling the niche that perl had before it
kind of stagnated[*].  If I want to slurp in a huge json
file and analyze it, I'd probably write that in perl (and
I have, in one case).

[*] Or rather, took off into the weeds...

I asked chatGPT to write a "quine" in python recently,
and found it extremely easy to improve on the answer it
gave me:

$ cat quine.py 
#!/usr/bin/python3

with open(__file__, 'r') as file:
    print(file.read())
- -%<- - 

-- 
-v