Is Python slowly losing its charm?
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
You're either a fan of strongly typed or weakly typed; or maybe both. I used both until I found a decent strongly typed one: C#. Without LINQ I might still be looking: it was the DML that made xBase so popular. And weak typing.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
I didn't know it ever had any charm. Significant indentation? And tabs / spaces are not equivalent? So you can have two identical looking lines of code but they compile differently? There is no charm here, just confusion and stupidity. X|
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
The Monty variant will never lose its charm!
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing. -
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
-
In my opinion
Python
is not a toy language (and evenBASIC
wasn't). That said,Python
is far better thanBASIC
(andLua
is even better thanPyhton
). Scripting languages have their usage."In testa che avete, Signor di Ceprano?" -- Rigoletto
CPallini wrote:
Scripting languages have their usage.
Let us limit them to that. The thing is that lots of people live with the misconception that Python is suitable for general problem solving, of arbitrarily complex problems. Scripting languages are meant for scripts, for managing a process (such as the building of a software system). It startet with Job Control Languages, developed into Unix sh and all its derivatives, or .bat files developed into PowerShell. You may see scripting languages such as Python as a further developments of shell concepts. You would never try to solve a complex problem as neither a bash nor PowerShell script. Even with further development of those concepts into Python (and its functional relatives), scripting languages are not suitable for complex problem solving.
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
What does charm have to do with anything? We used to argue if using a scripting language was really programming. Python has its uses, it is like any other tool. If it does the job for you, use it. Example: While troubleshooting a network issue, I wrote a quick syslog server script that sorted through all the crap going through our firewall. When done, deleted. Was that charming? I think not. Was it useful? For me it was. It is also good for doing POC on IoT stuff. Then rewrite in Object Oriented Assembler. :)
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
-
In my opinion
Python
is not a toy language (and evenBASIC
wasn't). That said,Python
is far better thanBASIC
(andLua
is even better thanPyhton
). Scripting languages have their usage."In testa che avete, Signor di Ceprano?" -- Rigoletto
CPallini wrote:
Python
is not a toy languageAgreed, its not, and it is very powerful and versatile language, etc. I personally have no need for it in my personal software projects or work projects. I hear it is a great language for data analysis, etc.
-
CPallini wrote:
Scripting languages have their usage.
Let us limit them to that. The thing is that lots of people live with the misconception that Python is suitable for general problem solving, of arbitrarily complex problems. Scripting languages are meant for scripts, for managing a process (such as the building of a software system). It startet with Job Control Languages, developed into Unix sh and all its derivatives, or .bat files developed into PowerShell. You may see scripting languages such as Python as a further developments of shell concepts. You would never try to solve a complex problem as neither a bash nor PowerShell script. Even with further development of those concepts into Python (and its functional relatives), scripting languages are not suitable for complex problem solving.
-
I don't think Python is losing its charm as much as people are realizing that programming is not for them. This goes back to a post I made a few days ago, where I said that the world is throwing technology at everyone, hoping many become programmers, engineers, etc. Python was supposed to be the language for the masses. Only problem is, the masses don't like programming.
Slacker007 wrote:
This goes back to a post I made a few days ago, where I said that the world is throwing technology at everyone, hoping many become programmers, engineers, etc. Python was supposed to be the language for the masses. Only problem is, the masses don't like programming.
So were Basic, SQL, and COBOL at times in the past. Same as it ever was. Same as it ever was.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
Why I Start Python then always Stop I like a lot of programming languages. C# is my favorite, but I like C++, Pascal, C, Java, Kotlin (more & more all the time), even Swift (very Kotlin-like), TypeScript and I also like JavaScript -- even though it has a lot of annoying things like === etc. I try to like Python, I really do. But there are a number of reasons that every time I start using it again I stop. 3) whitespace dependent. I've hurt myself with this where code fails due to having a tab where I should have 3 spaces or vice-versa. It's annoying. Just use some friggin' brackets. 2) global variables in file. If you define a variable in a file it is global to every function in that file. What!?! Yep. It's painful and confusing and a bad idea. 1) But the number one, knock-down, all-time biggest reason I just can't get past it is the use of double-underscores. X| Yes, I'm a syntax snob. :-\ It's just the ugliest syntax ever and I don't want to type underscores all the time! It's so ugly to look at Python code. Here's a sample from official documentation:
class Mapping:
def __init__(self, iterable):
self.items_list = []
self.__update(iterable)def update(self, iterable): for item in iterable: self.items\_list.append(item) \_\_update = update # private copy of original update() method
It's so ugly, so I just stop Python as soon as possible and go back to one of the good languages. I was also wondering why Van Rossum (creator of Python) used underscores so much and there are some good explanations in this post. But there is no excuse, because other modern languages have not had to use characters like that. Why does python use two underscores for certain things? - Stack Overflow[^]
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
I think it issss sssstill a charming language.
-
Quote:
scripting languages are not suitable for complex problem solving.
It depends... I wrote a fairly complex application (at least from my point of view) using
Lua
."In testa che avete, Signor di Ceprano?" -- Rigoletto
Yeah, there are project groups in our organization that make similar claims. Still, I beg to disagree. Although it may be "possible" to use a given tool, doesn't mean it is suitable. Disclaimer: I know nothing about Lua. From skimming trhough the Wikipedia description, I am sort of curious to hear the reasons for choosing Lua for complex problem solutions over other alternatives.
-
Quote:
scripting languages are not suitable for complex problem solving.
It depends... I wrote a fairly complex application (at least from my point of view) using
Lua
."In testa che avete, Signor di Ceprano?" -- Rigoletto
Reminds me a fairly significant program I wrote in DCL (Digital Command Language) once -- it was an accomplishment, not to be repeated.
-
Reminds me a fairly significant program I wrote in DCL (Digital Command Language) once -- it was an accomplishment, not to be repeated.
-
Yeah, there are project groups in our organization that make similar claims. Still, I beg to disagree. Although it may be "possible" to use a given tool, doesn't mean it is suitable. Disclaimer: I know nothing about Lua. From skimming trhough the Wikipedia description, I am sort of curious to hear the reasons for choosing Lua for complex problem solutions over other alternatives.
Lua
is easily embedded in aC/C++
application, and that works also in the opposite direction, it is easily extensible usingC/C++
libraries. So, my first plan was to embedLua
in aC++
application (and write numerousC
libraries for low level tasks). Eventually, I found no real need for theC++
code."In testa che avete, Signor di Ceprano?" -- Rigoletto
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
-
CPallini wrote:
Python
is not a toy languageAgreed, its not, and it is very powerful and versatile language, etc. I personally have no need for it in my personal software projects or work projects. I hear it is a great language for data analysis, etc.
Slacker007 wrote:
I hear it is a great language for data analysis, etc.
I know a couple of people using it for big data and similars and they just say it is the best, I have never used it though so I can only say what I was told.
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
https://towardsdatascience.com/python-is-slowly-losing-its-charm-9ca652726492[^] my opinion: To me, it's always seemed like a toy language like BASIC.
I see many people out there having little idea about python and saying that they know it's good for data science. Here's my 5 cent as a data scientist. Python has some well-developed libraries for data science. Those libraries, like pytorch, are written in C++, and are indeed easy to use via pyton. That being said, I started developing in pyton for a single reason that my younger colleagues didn't know other languages, and I needed to both have common ground with them and also to show that I am at least just as capable as they are on this ground. Those colleagues were at odds with understanding strongly typed language syntax, btw. This, in my opinion, creates a vicious cycle. With more and more - and, hence, less and less qualified - human resources being pumped in the hot field of AI, those need to be trained fast on the most entry-level language possible, allowing for neural networks and stuff. For now it's python here. As more and more people in AI are now python exclusive, qualified developers focus more at delivering AI libraries for python. Remember, those people often have trouble understanding the difference between a class and an object, so strong typization is a burden for them. Whereas I, used to work with demanding projects and trained in pure math, ended up strongly typing in python (which it allows for), otherwise loosing track. On top of that, Microsoft screwed up with its C#-compatible CNTK library, dispersed its effort to include python support again, lost miserably to other libraries, and that's the last I've heard of it. In Java, there is a pretty neat and viable alternative library Deeplearning4j that does all - well, most - things python libraries do, has neat syntax, uses Java 8, and is overall pretty satisfying. I prefer workig in it even though in general I despise Java for multiple reasons. I actually believe Deeplearning4j is one of the few reasons to like Java for.