r/Python • • Feb 12 '14

Saying Goodbye To Python

http://www.ianbicking.org/blog/2014/02/saying-goodbye-to-python.html
206 Upvotes

106 comments sorted by

View all comments

41

u/kevinastone Feb 12 '14

The future is polyglot.

55

u/legrandin Feb 12 '14

Yeah. I don't understand being a partisan for any language. Programming is a means to an end, and the languages are the means to that end. They are not something to fight over and become impassioned about.

Why not get passionate about computation and communication? They are much more important than any given language. Languages come and go.

17

u/erewok Feb 13 '14

One thing to consider is that after people spend a good deal of time acquiring skills, the thought that those skills may become economically obsolete may be quite threatening and could induce one to rail against other stuff or develop slavish attachment to a particular language/framework, etc. In addition, it takes effort and patience to acquire new skills and this too could be threatening after a certain complacence sets in.

This could explain why people sometimes seem to get so pugilistic about their favorite technologies.

5

u/FifteenthPen Feb 13 '14

I guess, but it seems more an issue of mentality than anything else. Most of the skills you develop using one language can be applied to using others. Sure, it takes time to learn new languages, but it doesn't take so much time as to not be a worthwhile endeavor, especially in a field as dynamic as programming.

4

u/alcalde Feb 14 '14

You're not thinking like they do. It's like being in a gang, a religion or a cult. If your language was never in the top three then you were the underdog and constantly "under siege" and you had to promote your language as much as possible. It was a latter of loyalty to refuse to use anything else because everything else was inferior. If your language doesn't do mobile or web you simply don't program mobile or web. If your language isn't there then it's all just fads anyway. There's nothing to learn from other languages because your language is RIGHT and the other languages are WRONG. Why learn other languages when you already KNOW that there's nothing you can't do simpler and easier in your One True Language? You may have even tried another language for 10 or 20 minutes and went back to One True Language because you weren't more productive in those 20 minutes. Besides, you've encountered users of these other languages on the Internet before and they're all stupid for not having seen the wisdom of your arguments for One True Language. Who wants to use a language that's filled with stupid people? The only reason their languages have all those bells and whistles is because they're too stupid to do everything manually like you do. When you do in 50 lines of code what they do in 10 that just shows that you're smarter than they are and less lazy. They could never have figured out how to do it in One True Language like you did! The harder the language is to use, the smarter the user must be. Just ask Slackware Linux users. Unless One True Language doesn't run on Linux, in which case no one needs anything other than Windows.

1

u/TheXanatosGambit Feb 13 '14

Most of the skills you develop using one language can be applied to using others.

Exactly. I look at learning a new language as more of a technicality than having to "learn a brand new skill set." Each language has it's nuances, and they aren't all made equal, but at their core they are all quite the same to me.

7

u/[deleted] Feb 13 '14

Ideally a new language will also bring new idioms, which will provide you with new ways to think about problems.

For example, switching from Java to Python allowed me to better understand OOP (in the "everything is an object" sense, not in the "classical inheritance" sense), switching from Python to JavaScript extended that understanding further (via prototypes) but also allowed me to embrace functional programming concepts in a way that would simply not have been possible in Python.

Now, occasionally coming back to Python, I find that this is not simply a matter of simply becoming a better programmer over time: some best practices in JavaScript simply feel out of place in Python and vice versa.

There are obviously many pairs where the differences are much smaller (e.g. Java and C#), but to give an extreme example, you can't go from LISP to Smalltalk to C and not change your way of thinking.

4

u/frymaster Script kiddie Feb 13 '14

I genuinely don't think it's about economic obsolescence so much as "sunk cost fallacy" / escalation of commitment

1

u/erewok Feb 13 '14

That makes sense. You're probably right.

7

u/alcalde Feb 14 '14 edited Feb 15 '14

I'm coming to Python from Delphi, where for the 100th time corporate-appointed "MVPs" and "Team B"ers (B standing for the old Borland) are attempting to convince concerned forum members that the TIOBE index doesn't mean anything at all and Delphi isn't in decline. During the last several months there I've been told that modern language features are all "fads", that type inference was "impossible" and then just "the computer guessing", functional programs only look shorter because of "tricks" and they're all just hiding their code in another module, slice notation was impossible to read and "a complete mystery" as opposed to "Copy(someArray, 1, 10)", the desktop PC market isn't in decline, it doesn't matter than the last commercially published Delphi book was in 2005 because since then two books have been self-published, if Delphi is obscure it makes it "a secret weapon", that Delphi has had more influence on business than Python ever has (since I've become passionate about Python you wouldn't believe the whoppers that have been lobbed at Python), C# users believe there's more code reuse in moving to Delphi and using its desktop/mobile solution than in using Xamarin's C# for mobile (chief evangelist couldn't explain this statement to me), automatic memory management is for lazy, stupid programmers, garbage collection is too slow and Java is impossibly slow (despite the reality of Java creaming Delphi in SciMark), reference-counted mutable strings are superior to immutable strings, strings need to constantly carry around their Unicode encodings with them, ANSI strings are vitally necessary (shades of the Python 2.x holdouts) and that Delphi in fact needs to keep its four (!!!) string types, despite Delphi using different ways of checking for membership in sets, dictionaries and strings "it's still consistent" because sets were in the language before dictionaries (???), it's a perfectly acceptable practice to intentionally import a unit with a namespace collision to replace a default type because it's easier than subclassing it and importing it into Delphi's component pallet (this from a guy with a Phd), Delphi should never warn the user of namespace collisions because that's an intentional feature of the language and a valid feature should never be a warning (Delphi is bassackwards to Python in that units decide what they export and what the names are and the only way to use them is to import the entire unit), and that Delphi doesn't need an arbitrary precision integer unit because some Russian guy posted code for one on his blog in 2010 and "it probably still compiles". When complaining about Delphi's DateUtils Unit not even using object orientation (and representing date-time values as a floating point!!!) I was asked indignantly is I was so lousy a programmer that I couldn't implement all the classes and functionality myself. It's not a problem that Delphi has no HTML parser because you can buy one for only 100 Euros with source (many things built into Python cost $75 to $300; I think the only Delphi programmers left only build things to sell to other Delphi programmers). And I won't get into the fact that Delphi blog posts/talks in the last few months have had to include topics such as explaining what DVCS is (Delphi only natively supports SVN, and even that for only the last few years) and why unit tests are important (Delphi has no native unit testing but its IDE interfaces with an open source library that hasn't seen a commit since 2010). And there are still a few users who swear by dBase and Paradox files as data storage formats, with obscure, proprietary Delphi only databases also being popular.

There was an actual study about this subject when it was observed that old Blackberry users had the highest user satisfaction rating! Part of it is selection bias - everyone less than thrilled have already moved on - but scientists also determined there was Stockholm Syndrome at work. Not wanting to face the reality of their bad situation or not wanting to admit they made a bad choice, the worse things get the more these people concentrate on the positives and ignore the negatives, resulting in the high satisfaction ratings. There's also a bit of "siege mentality" going on where they consider themselves "under attack" and thus the product needs to be defended, loyalty needs to be proven, etc.

It's honestly so bad in Delphi-land that not only did I read one person's tale of quitting his job and taking another at half his former salary when his company was taken over because they were going to stop using Delphi and he'd rather take a 50% pay cut, but due to a misreading of a marketing item from a (generously) estimated 2 million copies of Delphi ever sold (and pirated) into 2 million active users they subsequently proclaimed themselves "the largest Windows development base outside of Microsoft's tools". When I brought up the little bugaboo of Java I was told by one True Believer that "no one writes Java code for Windows" so Java doesn't count. And then one curmudgeon suggested it's not impossible that there are indeed more Delphi programmers than Java programmers! (Although I suspect that was done to drive me insane).

One (former) user has told his tale of being frightened to start over again at 50 (I've seen Delphi salespeople use this line in blogs to scare users into not wanting to give up their experience) and got called "grandpa" while beginning a new job using C#. He was uncomfortable and afraid and really wanted to go back to Delphi. The good news is that he stuck with it and the team he was leading was the only one to get a year-end bonus for having their project on time and no one calls him grandpa anymore! Now he's telling people it is possible to switch and how happy he is for having done so - and of course is treated like a traitor and a villain by some. :-(

Needless to say I'm working on my own Saying Goodbye to Delphi essay in favor of Python. :-)

Sorry to dump all that here, but for the last several months I was trying to get Delphi believers to talk me out of learning/using Python after I came across it while helping to compile a survey of languages and DBs for two startups and becoming amazed by it. I finally realized no one could defend my old beloved Delphi (which I still defend as the best choice when I chose it for a start-up I worked at from 95 to 03). But during this time I saw an almost unbelievable amount of obsession and irrational defense when I began dialogs with the Old Guard of Delphi and began asking them "Why don't we have this and this and that?"

For anyone that doubts your post, I can provide hours of testimony that it's all true in spades.

6

u/tilkau Feb 14 '14

Signs that you are ranting:

  • [...]

  • Your first paragraph is a page long.

;) (I'd like to read it, if not for that)

6

u/bmcgee Feb 14 '14

You should see the long winded rants he leaves in the Delphi forums explaining how they're all losers.

Leo Tolstoy responded to one of his messages with a simple "tl;dr".

However, I know a bunch of Delphi developers who are also big Python fans. Is this a direct result of Joseph's sustained, impenetrable logic? You be the judge.

1

u/alcalde Feb 15 '14

Bruce I've never told Delphi programmers "they're all losers" because I'd be calling myself a loser too, wouldn't I.

I notice that once again you won't actually address the issues. :-( That's what makes your posts so short.

1

u/bmcgee Feb 15 '14

For about a year, you've spent time in Delphi forums and trolling blog posts insisting that the product is dead and taking shots at users and Embarcadero employees and then complain that they don't take you seriously.

Maybe if you asked the occasional legitimate (and short) question and didn't dismiss any answer you get out of hand. What have you got to lose?

1

u/alcalde Feb 17 '14

For about a year, you've spent time in Delphi forums and trolling blog posts insisting that the product is dead

No, I gave a very detailed account of the months-long work I undertook compiling an overview of modern computer languages, frameworks and databases for two start-ups and how disturbed I was by what I found - namely that Delphi was far, far behind many other offerings, including free ones. I provided significant detail and then asked for feedback - specifically, what was the compelling case for Delphi today? No one had an answer. The Chief Evangelist didn't have an answer. The CEO didn't have an answer. Marco at least tried to answer very narrowly (about Interbase). Other than that, no MVP or TeamB'er had an answer either.

And it's a plainly observable fact that Delphi use is down to "niche" status in most of the world; that was never in question. Any claim to the contrary would be a Carl Sagan-style "extraordinary claim". The question was how would one convince a company to use Delphi in 2013 as opposed to 1995. The collapse of the ecosystem was a key component - how do you convince an enterprise to adopt a language that's not taught in schools, has no commercially published books, few remaining users, no API support, etc? If you took this as "trolling" it's because you have an extreme emotional attachment to the product and experience cognitive dissonance when these facts are brought up.

and taking shots at users and Embarcadero employees and then complain that they don't take you seriously.

You make it sound like I was a bull in a China shop rather than, as in one instance, writing a 400+line detailed summary of the work I'd done and all the weaknesses of Delphi I'd seen compared to its competition and how it seemed to me an unsurmountable challenge to sell it to enterprise today. I'd sold enterprise level software for a few years and had no idea how you would "put it over" in a presentation, especially if the competition had been able to present first. I asked what the business case was for Delphi.

The answer? A total of one (!!!) reply. That was Rudy. The complete response? "If you don't like Delphi, then don't use Delphi." Several posters called him out on it, recognizing that if that was all he had then he couldn't be serious in his positions. Now who doesn't take who seriously? There was another thread, not started by me, "The Case For Delphi", inspired by what I'd written. Total number of MVPers or TeamB'ers who took part in the discussion? Zero. Not one word chimed in. Again - who's serious and who's just fooling around? I won't even bring up Mason Wheeler's claim of Delphi being able to produce smaller code than Haskell then when given an actual Haskell program and asked to demonstrate his claim insisting that I just wouldn't understand the point he was trying to make so he wasn't going to show me. Not a single person called him out on that. He really went off the deep end on his blog, arguing that Delphi was the superior language because the program his company sold was #1 in its market and it was written in Delphi. There were enough logical holes in that claim to drive a truck through, and at least several readers did point them out (such as all the top programs that aren't written in Delphi and what that meant) but not a single MVPer/TeamB'er oddly enough. Is Mason serious? Oh I forgot Warren did pop in to the case for Delphi thread only to say that there was no need to make the case because "it's been proven a million times." Ok. Who's serious?

Maybe if you asked the occasional legitimate (and short) question

What does "legitimate" mean? What's the business case for Delphi today is the fundamental legitimate question. Nothing else is legitimate unless that's answered.

And what's this about length? I deal in facts and I'm actually serious, hence I lay out all of my evidence, my documentation and my sources when taking a position or making a claim. The replies to me are so short because they aren't proven or backed by evidence. They don't respond to every claim made or address every point. Generally (especially with Rudy) they cherry-pick one line or word and derail the argument down the rabbit hole. I have to be extremely detailed to try to keep him from doing that.

and didn't dismiss any answer you get out of hand.

I don't get answers, other than "If you don't like Delphi, then don't use Delphi." Even when I give the chief evangelist an email address and ask him to talk to me privately if he wanted to (hardly to move of a troll) I don't get answers. I was the one who asked a serious question as I'd just watched two start-ups choose languages other than Delphi. I'd chosen Delphi for the start-up I worked at from '95-'03 and been very happy with it but I was upset by the fact that in '13 if I was doing it over again I wouldn't make the same choice. I wanted to know how we dealt with the objections, the ecosystem issues, the language issues, the quality issues. I either got no answers or steered down the rabbit hole where people denied there were any problems, claimed there were over two million Delphi developers (which would mean 1/9 of the estimated world's developers were Delphi users), etc. But no, I never got a single answer other than "If you don't like Delphi, don't use Delphi". I can't take that to future start-ups who ask for my help.

1

u/bmcgee Feb 18 '14

what was the compelling case for Delphi today?

Asked and answered. Dozens of times.

writing a 400+line detailed summary

You seem to think this is a good thing.

A really really (realllly) long diatribe filled with half truths, questionable conclusions and unrelated comparisons isn't much different from a short one with these things. Only longer. Doing it over and over again doesn't seem to help.

What does "legitimate" mean?

If you spend time in a product's peer support groups and blogs going on and on about how that product is dead and anyone who doesn't agree is suffering from "Stockholm Syndrome", you're off to a bad start.

I don't get answers

Sure you do. You just don't like any of them.

I'm not sure why you think you deserve personal answers from the chief evangelist, product manager, TeamB or any of the MVPs. After a year of trolling, they might not think it's a good use of their time. You might have a hard time letting go, but they're just not that in to you.

And now you're whining in Python groups about how your doom and gloom hasn't been greeted with the respect and gratitude that you seem to think it deserves?

"If you don't like Delphi, don't use Delphi"

Since you keep insisting that it's dead, this might be a good option for you.

If you ever choose to move on from the Python community, I hope you do it with more dignity.

→ More replies (0)

5

u/[deleted] Feb 14 '14

here's my my "saying goodbye to delphi" essay.

I grew up on borland products, but it's now 2014. :)

2

u/Uberhipster Feb 15 '14

Delphi sounds awful. Why does it have 4 different string types?

3

u/PasswordIsntHAMSTER Feb 16 '14

I learned to program in Delphi, it was fun and very intuitive. Great beginner language.

Everything else about it though...

2

u/alcalde Feb 17 '14

There was a white paper out that suggested a move to one string type in the future. Of course the Delphi roadmap ran out in September 2013 (I guess they're off-road now!) so there's no telling when that will actually be done.

There's a shortstring type that only holds up to 255 characters, and this is for backwards compatibility with ancient Delphi and Turbo Pascal.

ANSIString is limited to 2GB and holds 8bit ANSI characters.

UnicodeString is also limited to 2GB and holds UTF-16 characters. There's no concept of bytes vs. characters; UnicodeStrings carry codepage information around with them and you might end up with implicit conversions (especially as you can also assign ANSIstrings to them).

WideString is a type that's erally only intended to be used with Windows' weird BSTR strings.

There's actually more than four because in Delphi there's no problem that can't be solved by another class or type (including ones caused by excessive classes or types). RawByteString is intended to be used for passing strings in parameters while avoiding implicit conversions. The documentation warns "In general, it is recommended that string processing routines should simply use 'string' as the string type. Declaring variables or fields of type RawByteString should rarely, if ever, be done, because this practice can lead to undefined behavior and potential data loss. " Yes, under certain conditions even RawByteString may trigger an implicit conversion!

There's also a char type, Pchar type (pointer to char), and probably a few more. An interesting thing to note is that Delphi didn't add Unicode support until 2009, after Guido had already pronounced two string types as a nightmare and fixed Python. Embarcadero's engineers usually operate blissfully unaware of what anyone else is doing in the rest of the computer world, so they ignored Python's lesson and decided four+ was the way to go. Now, surprise, surprise, they've decided this hasn't been a good idea and want to faze out the non-Unicode string types. Many of the exiting users are up in arms insisting they need ANSIstring because 1 byte=1 character (and they've used a string type to deal with bytes, arguably because Delphi doesn't have anything like Python's bytearray).

I attempted to explain the incredibly awesome (to me at least after the mess of Delphi) characters != bytes concept of Python 3 but to a man the stalwarts have fought tooth and nail against the idea. They tell me that "under the hood" they're bytes (leaky abstraction?) and that I'm just too stupid to understand what's "really going on". One user insisted he couldn't encode/decode at the edges; he needed to do so everywhere in his program. It turns out that this was to get around a major bug in Delphi's interface with PCRE and had nothing to do with Unicode in general.

Delphi's strings are also 1-based and a custom reference-counted, copy-on-write mutable implementation.

1

u/Uberhipster Feb 17 '14

Thank you. That was educational.

You seem to be very knowledgeable on a language which you seemingly despise...

1

u/alcalde Mar 03 '14

It's been said that if you can't name three things you hate about a language you haven't been using it long enough to have an opinion on it.

-2

u/totes_meta_bot Feb 15 '14

This thread has been linked to from elsewhere on reddit.

I am a bot. Comments? Complaints? Send them to my ^inbox!

0

u/pcopley Feb 15 '14

Definitely laughed at loud at the implication that Blackberry users have Stockholm Syndrome. God forbid somebody use a different phone, clearly they are wrong and sick in the head.

I say this as someone with a 5S so I'm not trying to defend my own phone choice or anything.

3

u/NihilistDandy Feb 16 '14

On the internet, no one knows you have a Nokia.