Python Forum
Python Has Major Problems as Language
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Has Major Problems as Language
#11
(May-16-2022, 05:27 PM)Larz60+ Wrote: It is technically possible by using ctypes library. (code is actually embedded C)

Indeed.

Now do the same in Jython or IronPython Smile
Reply
#12
(May-16-2022, 06:19 AM)Gribouillis Wrote: If you think about it, the only thing that exist from the language's perspective are names.

I would say that names are one thing that Python doesn't have, at least not as a value.

Python has many different kinds of objects: ints and floats and lists and dicts and many, many more, but one thing it doesn't have is names. Names are not first-class citizens in Python -- you cannot pass a name into a function, or return it, or assign it to a variable. When we try, like func(name), the argument that func receives is not a name, but the value bound to that name.

Of course you can do all these things with strings but strings are not names, even if you can use them as names.

If Python had names as a first-class data type, not just strings, then we could simulate pass by name calling conventions without needing eval.
Reply
#13
stevendaprano,

Python has not only survived, but flourished since It's first release on October 16, 2000.
Some major implementations are:
YouTube
Instagram
Reddit
Netflix
DropBox
...

Somebody's got to like it.
If you don't like something, just try something new.

I worked in instrumentation (spectra-chemical), and worked almost exclusively with assembler and forth.
Then C for many years. (about 14 years)
Still use C, but for 95% of what I write, I use python.
For embedded work, there's Micropython which will run on many MCU's including ESP32, ESP8266, Pi ...
Reply
#14
(May-17-2022, 11:33 AM)Larz60+ Wrote: Python has not only survived, but flourished since It's first release on October 16, 2000.

Python's first public release was 0.9 in February 1991. I started using Python 1.5 in 1998 or so.

I have no idea what happened on October 16 2000, but it certainly wasn't the first release of Python. E.g. Python 1.5.2 was released in April 1999.

You don't have to defend Python to me, or tell me:

Larz60+ Wrote:If you don't like something, just try something new.

I'm not planning on going anywhere. Python has spoiled me for other languages.

Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can Python be used as a macro language for excel, Word, etc.? CynthiaMoore 8 3,107 Sep-17-2022, 08:12 AM
Last Post: stevendaprano
  TIOBE Index for October 2021 - Python programming language number 1! Yoriz 1 1,546 Oct-07-2021, 11:35 PM
Last Post: Larz60+
  a new language based on python Skaperen 0 1,656 Nov-04-2020, 01:54 AM
Last Post: Skaperen
  Is python an interpreted language or a compiled language? GouravDas 1 2,031 Jun-23-2020, 10:38 AM
Last Post: Gribouillis
  what programming language to learn other than python in real mass-production product? Kai 1 2,124 Apr-12-2020, 04:40 AM
Last Post: Larz60+
  Chinese coding language ‘Mulan’ found to be Python fork buran 0 1,728 Jan-22-2020, 04:30 AM
Last Post: buran
  What is the best book for in-depth Python for advanced other-language programmers? user118967 1 2,674 Jun-04-2019, 07:56 PM
Last Post: snippsat
  Coconut - A Functional Language Which Compiles to Python nilamo 2 2,727 Jan-04-2019, 12:01 AM
Last Post: micseydel
  Some Guy Today Told Me Python Isn't A Real Programming Language digitalmatic7 11 10,206 Dec-01-2017, 12:58 PM
Last Post: I_love_py
  the fastest-growing major programming language dvs1 0 2,200 Sep-07-2017, 02:50 AM
Last Post: dvs1

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020