|
Maybe people were Googling python snake?
Bryian Tan
|
|
|
|
|
It's typeless and it forces code formatting down my throat. I decide how to put white spaces, indendation, multiple lines of code on a single line and carriages returns, not the language.
That said, If I'll have to develop software for a wide varieties of platforms I woul probably delve into it due to the large number of developer who use it, big documentation repository and large number of components.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
If the Python community could settle on a version I'd add it to the stable.
The fact that they can't, and that very basic operations like string concatenation are not compatible between versions, indicates to me that this technology is still in it's infancy (that's one old baby!).
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
My early student days was when "Snow White and the seven dwarfs" were still a computer concept. We read about one of the dwarfs, Burroughs, making machines for which Algol (a Pascal predecessor) was The Language; you were sort of required do your programming in Algol.
Now, for its time, Algol was a great language (C was no improvement over Algol!). Yet, after just having completed a compiler course, we asked: But why? Even if the machine instruction set directly supports a call stack, there is no reason not to compile even Fortran - which didn't need a stack mechanism - for it! (There was a Fortran compiler, but noone talked much about it: Burroughs was an Algol machine, and that was final!)
Since then, I have frowned at any system trying to lock me in on any one language. When I started working with dotNet, seeing how radically different languages like XAML and C# (or any other dotNet language) could define the same data objects, I loved it! That you can have pure data definition languages, with no action statements, doing all actions on those data objects in "any" other language - great! (XAML is far from my favorite data definition language - I am talking about the principle!)
And then comes Python... Linking with modules in other languages cumbersome and limited. Also, Python has its own requiements for where to place executables and libraries, how to search for them. Nothing of the run time system, or libraries, is shared with other languages. Python software is distributed through its own, python specific channels, even at run time.
Python followers have a strong tendency to insist that every end user application shall display, in the application name, the programming language used - you have pyThis and pyThat all over the place. (I never saw an application written in Fortran named forThis, or in Pascal named pasThat, or in Cobol named cobSomething. There are a few applications named cApp, but they are so few that they can't be said to be for promoting the language. But Python guys find it perfectly natural that the end user should know which programming language was used.
Does a cult stop being a cult when it grows large - when it still has all the cult properties it had when it was small? I see the Python cult as very much a cult phenomenon. Either you are in, or you are out. If you are in, you are expected to promote the ideals of the cult, in all its aspects.
For the Python language itself: I cannot point out a single technical merit of the language that gives me a reason for preferring it over strongly typed, compiled languages that can link up with modules in other languages. (It certainly doesn't have to be dotNet!)
At work, I was in a position where I could not avoid programming a fair amount of Python. I took on other kinds of work, in the DevOps direction, and got away from Python programming, but I still use at least half of my working hours fighting to get around Python's continuous attempts to squeeze out all other languages and take control over the world. Unfortunately, the number of Python evangelists are on the rise in our organization, and I cannot ignore them, but I have daily struggles with those who indirectly or sometimes direcly say: Can't you just ignore those who use other languages and create setups adapted to our wishes?
No, I can't, and I won't. For example because Python invites to lack of discipline with respect to dependencies and versions. Because the collection of hacks to make different Python versions work side by side. Because there is a mess of different ways of installation, both for packages and interpreters for various versions. I am so happy that I nowadays can stay away from touching the programming language itself. The battle with the tools is bad enough.
|
|
|
|
|
I mean, why any well versed modern (oo, functional, dynamic, async) C# developer should care about that scripting (aka better suited for simpler higher level tasks, but less capable for fullstack development) lang?
|
|
|
|
|
Main argument: Peer pressure.
Surprisingly enough: There are still people around who use an an argument in favor of interpreted languages that you "don't have to wait for a recompilation after editing the source file". They really believe in it, that recompilation of a single edited file slows down the development process.
Also, you may be surprised by how many programmers reject programming languages because "I just don't like xxx". When C displaced Pascal, lots of programmers were talking of how much simpler it is with {} rather than BEGIN-END. And int rather than integer. It really speeds up, being freed of all that typing!
With Python, you don't even need the {}, saving even more typing. More efficient program development, don't you agree?
|
|
|
|
|
Member 7989122 wrote: With Python, you don't even need the {}, saving even more typing. Same with VB - and you don't need ";" either. Need I say more?
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I agree, it's perceived as simpler/easier as long as your problem don't require sophisticated constructs to tackle complexity.
|
|
|
|
|
Although CodeProject is not a Community for any certain programming language - its not the Python centric resource everyone programming in Python depends on. Or I would argue at least that most people using CodeProject regularly, rarely use Python (judging from the articles that can be seen).
So, the result is more a reflection of the community here at CodeProject than the software market as a whole (whatever that might be)...
|
|
|
|
|
Dirk Bahle wrote: he result is more a reflection of the community here at CodeProject This, of course, begs an obvious question:
What then, does the Code Project Community reflect? Your comments are correct in how they are stated with the caveat that it is an indirection that doesn't really state anything specific without answering that "and what are we?" question.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Yeah, you can of course ask every question but I cannot answer every question - at least not in a Forum like this
What Codeproject is and how Python or other technologies are used here may change over time ...
|
|
|
|
|
You over-read what I meant.
Are the typical respondents of CP typical of the professional programming community? Without that information no actual conclusion can be drawn as to what they represent.
As in my own original post, just because a lot of office workers latched onto VB6 doesn't make shunning it here atypical of the programming community - it just typical of the unwashed masses.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Agreed - but that of course true of any set of people you survey - nonetheless, an interesting survey.
|
|
|
|
|
... there was also a time when FORTRAN and COBOL were good ideas for mainstream greenfield projects.
That time predates the modern internet: The destroyer of leading whitespace.
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
|
|
|
|
|
|
Half a century or more ago. C was only just starting to be established at the end of the 70s; and going back farther computers were limited enough that fixed column layouts could save a few precious bytes of ram and CPU cycles which made actually getting the code compiled a lot easier.
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
|
|
|
|
|
Unknown to lots of people, even to Fortran programmers: In a Fortran source file, cols 1-5 were for labels, col 6 for line continuation mark, cols 73-80 for sequence number (not universally supported), but for cols 7-72, whitespace had no significance at all, syntactially or othterwiswe. You could omit or add spaces anywhere; they were peeled off unconditionally. Whether you wrote
TOTALCOST=DISCOUNTEDPRICE(UNITPRICE,AMOUNT)+FREIGHTCOST(UNITWEIGHT,AMOUNT)
or
TOTAL COST = DISCOUNTED PRICE(UNIT PRICE, AMOUNT) + FREIGHT COST(UNIT WEIGHT, AMOUNT)
made no difference.
INTEGERX
CALLFUNCTION(X)
was a perfectly valid variable declaration and subroutinecall (to a subroutine named FUNCTION).
(Even worse, for the parser: There were no reserved words, only predefined ones. So
INTEGER REAL
REAL COMPLEX
REAL = 5
COMPLEX = 3.4
is a perfectly valid set of declarations and assignments. But that's another question, outside this discussion!)
Aside from Fortran keeping cols 1-6 and 72+ for special use, I never used any programming language where whitespace had any other function than as token separator between alphabetic tokens (ws still has that function in more recent languages) or bracing functions (e.g. replacing {} with whitespace indents in Python, or tab indents in classical make files), not even assemblers. There may be such assemblers out there, though!
|
|
|
|
|
Good for IoT on Pi/Beaglebone. Using for Temperature reporting. Hmmm, maybe that is prototyping at this time.
I keep trying OG's devices, without success.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
... Kim Kardashian is more popular here, who knew!!!
|
|
|
|
|
80%+ ??? I thought it was a popular language. I wonder if the results would be the same if the survey to ask "If you know Python language"
Bryian Tan
|
|
|
|
|
"Popular" does not equal "Good".
For proof, look at the music industry: Bieber, Boys One, Wand Erection, ...
Something can be popular with the masses, and scorned by "real world" developers (such as the denizens of this site, obviously).
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Bryian Tan
|
|
|
|
|
OriginalGriff wrote: Wand Erection
Lol, is it a real one or you just made it up?
|
|
|
|
|
Good question: Wand Erection[^]
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Well, I heard about Python but didn't know One Direction, Bad Boys or Biber or whatever. I am such a nerd.
Most of the radio music is auto-generated and possibly even coded in Python, soo.... we have a winner here.
|
|
|
|
|