News for hackers. Stuff that matters.
Re:How two Pythonistas accidentally fell in love with Rails by icey on Monday September 13, 2010 @01:06PM (#1687242)
This kind of attitude makes me keep looking for ways to move away from Python-land. The new "we're better than everyone else" attitude is seriously grating. I like writing Python, but it sucks seeing this kind of crap every time I go into a mailing list or just about every other public programming forum around.
Re:How two Pythonistas accidentally fell in love with Rails by pcc on Monday September 13, 2010 @01:42PM (#1687428)
Whoa, this seems a bit unfair.

What feels like aeons ago, python-land created the huge monolithic monster, the Zope framework, which was absolutely great at the time. Then people were bitten by writing classes that would unexpectedly manifest some behaviour "as if by magic." The problems became (1) determining whether you would one day out of the blue have code "act weird", (2) figuring out where this behaviour was coming from.

Save to say, many people got bit/burned/scarred. Lessons were learned. There is a fair bit of cross-polination going on; I can't think of any python framework that has not tried to learn from this, and also from the successes/challenges of others (and that includes those of Rails btw).

So when a "battle scarred veteran" makes a terse statement such as this, I don't think by any means it expresses a "better-than-thou" attitude. But you can understand why there might be (rightly or wrongly) an anticipation of pain to come.

When pythonistas look as Rails (for example) and say "hmmn, this pattern looks sort of familiar, wonder how they're going to avoid that type of pain we had", surely this is neither unfair nor over critical, it's just part of the technical dialogue that ultimately advances everyone's "state of the art."

And I don't think anybody in the python world really claims to have the "one true answer." Rather it's more the case of "there is no one true answer, only many flawed attempts; so if you think you've found nirvana, be prepared for some disappointment down the road."

Generally people acknowledge that it's a difficult problem and that we're all dealing with variations of the same issues, irrespective of language or framework. A bit like a balloon; you can squeeze it in one place to make it "thinner" there, but likely it will pop out some place else.

Re:How two Pythonistas accidentally fell in love with Rails by icey on Monday September 13, 2010 @01:55PM (#1687482)
I probably wouldn't have had such a strong reaction if the comment hadn't started with "And based on the author's previous Django and ORM posts" as though the author is incapable of making technical decisions because he didn't like some aspect of Django previously.

Between that, and the regular stream of ridicule about Rails , Node or just about anything else not Python it just seriously rubs me the wrong way. I don't see anyone changing my opinion of that; nor am I asking them to.

Re:How two Pythonistas accidentally fell in love with Rails by pcc on Monday September 13, 2010 @02:05PM (#1687536)
I have seen (for virtually every type of interesting technology ever) two classes of people (at least):

1. People who've somewhat recently discovered it, and realized how powerful it is. Not really surprising to see that people in this category would argue their tech of choice over next to anything out there; both because they're enamoured with what they've discovered, and also because it helps validate their choice.

2. People who've gotten past stage 1 and realized that everything has limitations. These people are far more pragmatic and will tend to seek the best tool for the job. Sometimes what they say may appear to be acerbic, often this is because it attempts to express the "there is no magic bullet"-conclusion that they've reached.

Can guarantee you that Jesse does not fall into group 1.

Also, I think in the above if you substitute "tech" for "community" the same will hold true.

Ultimately these are all just tools in the toolbox and people in group 2 acknowledge this irrespective language/framework/community.

Re:How two Pythonistas accidentally fell in love with Rails by jnoller on Monday September 13, 2010 @02:13PM (#1687564)
Thanks - I did fall into the acerbic trap though, something I'm not terribly happy with. We all, sooner or later, fall into the trap of #1 though.
Re:How two Pythonistas accidentally fell in love with Rails by gfodor on Monday September 13, 2010 @11:46PM (#1689342)
I wouldn't call it a trap. #1 is largely the reason our field is so great. It's love. It's passion.
Re:How two Pythonistas accidentally fell in love with Rails by jnoller on Monday September 13, 2010 @01:58PM (#1687497)
I was being sarcastic; and if you cannot name at least 5 things you dislike about the tools and languages you use you're either in the honeymoon period, or irrational.

This includes fellow python-oriented people. Myself included.

Re:How two Pythonistas accidentally fell in love with Rails by _pius on Monday September 13, 2010 @04:40PM (#1688159)
"... if you cannot name at least 5 things you dislike about the tools and languages you use you're either in the honeymoon period, or irrational."

This is one of those things that sounds true, but falls apart on further inspection. Aren't you allowed to genuinely like your language or tools?

Obviously there are tradeoffs with using any implementation of anything, but people can be completely satisfied and happy with their tools without being starry-eyed morons ...

Re:How two Pythonistas accidentally fell in love with Rails by btilly on Monday September 13, 2010 @05:40PM (#1688435)
This is one of those things that sounds true, but falls apart on further inspection. Aren't you allowed to genuinely like your language or tools?

Yes, plenty of people genuinely like their languages and tools. However every language and tool has warts. You simply cannot build something that complex without either making mistakes that you can't reverse, or else making trade-offs that aren't going to fit someone else's use case. Plus no language or tool can fit every good idea, so it is in the nature of the beast that there are good ideas that simply didn't make it in.

If you have not found those things yet, then you don't know your language and tools that well. Or else you don't know what is possible with other languages and tools. (That is the essence of the blub paradox - see http://www.paulgraham.com/avg.html for a detailed explanation.) Either way your opinion on how your language and tools compare with others is useless to more experienced people.

Re:How two Pythonistas accidentally fell in love with Rails by _pius on Monday September 13, 2010 @05:45PM (#1688457)
Heh, I understand the Blub paradox quite well. And, as I acknowledged, everything has design tradeoffs or even mistakes. Just because there are design tradeoffs or warts, doesn't mean they rise to the level of active dislike.

For instance, most implementations of Ruby are relatively slow. Do I care? Generally, no ... certainly not enough to say it's something I "dislike." It's entirely possible to build tons of web apps (for example) and never bump against any language "mistakes" or "tradeoffs" that are relevant.

Re:How two Pythonistas accidentally fell in love with Rails by btilly on Monday September 13, 2010 @06:30PM (#1688587)
"Dislikes" may be stronger than you want, but would you agree if it were changed to "recognized shortcomings"?

Let's use Ruby for an example. You discounted performance because it never matters in web development. Fine. Here are 5 more issues that do come up in web development. Not using native threads makes it easy for a poorly coded C extension (for instance a database driver) to block all threads. Common classes of errors (eg typos in variable names) can only be caught at run-time. Some widely used libraries use monkey patching, and with dependencies it is very easy to pull one in without realizing it, only to get burned later in what should be an unrelated library. By default gem does not run unit tests at installation, which makes it less likely that developers will get prompt feedback about issues like platform-specific code or unspecified dependencies. While mix-ins are convenient, they provide opportunities for conflicts and make it harder to track down the source of a method when you're trying to debug something.

I don't even use Ruby very much. If I did, I could easily come up with a much larger list. (My primary language is Perl. You should see the list of complaints I have about it! Yet I still like it. And for the record I like Ruby as well.)

Edit: I only included 4 issues initially, so I just added another.

Re:How two Pythonistas accidentally fell in love with Rails by _pius on Monday September 13, 2010 @06:44PM (#1688628)
"Dislikes" may be stronger than you want, but would you agree if it were changed to "recognized shortcomings"?

Yup.

Re:How two Pythonistas accidentally fell in love with Rails by jnoller on Monday September 13, 2010 @06:32PM (#1688597)
Maybe dislike is too strong in your vocabulary - but in mine it's "things I don't like; and would not cry if they got better/changed tomorrow". I'm not talking about hate here - sure, people are able to uncompromisingly happy (as I am, when I'm working on python) but the poster above pointed it out - If you have not found those things yet, then you don't know your language and tools that well. Or else you don't know what is possible with other languages and tools.

So, attribute any emotional level you want - in my book, dislike is far from hate, and means you would actively work to change the item if question, if given the power.

I love working with Python, with Django, with Linux/OSX, VIM, Textmate, etc, etc. I love working with them, but each has it's failings, and it's important I know them. Sometimes knowing your own limitations, and those of your tools, and thinking critically about both is the most important skill a person can have.

It makes them think how things can be better.

Re:How two Pythonistas accidentally fell in love with Rails by _pius on Monday September 13, 2010 @06:45PM (#1688633)
Ah, I see ... I think we're in agreement.
Re:How two Pythonistas accidentally fell in love with Rails by jnoller on Monday September 13, 2010 @07:13PM (#1688706)
Probably, it's really as simple as challenging your assumptions, and striving to be better, or make better things. Hell - it's what drives most entrepreneurs.
Re:How two Pythonistas accidentally fell in love with Rails by nocman on Monday September 13, 2010 @06:43PM (#1688625)
By "something" do you mean Ruby itself, or the fact that most Ruby implemenations are slow? If it was the former, then I think you're responding to the wrong statement. The statement was about "5 things you dislike about the tools and languages you use". So it wasn't about disliking Ruby itself, but rather things about Ruby.

If you were indeed saying that you don't care enough about the fact that "most implementations of Ruby are relatively slow." to raise that fact to the level of "dislike", well, I guess I find that hard to believe. I mean, sure, it generally won't matter. But even if it only matters a small portion of the time, what is there to "like" about implementations of a language being slow? Wouldn't you always dislike that fact, even when it didn't particularly matter in most cases?

Re:How two Pythonistas accidentally fell in love with Rails by Confusion on Tuesday September 14, 2010 @08:20AM (#1690264)

  Aren't you allowed to genuinely like your language or tools?
Not of that means being blind to its shortcomings. I love my girlfriend, but that doesn't mean I can't name 5 things that sometimes annoy me about her.

  but people can be completely satisfied and happy with their tools
You can be satisfied and happy while still sometimes cursing at shortcomings. I love coding in Ruby, but the state of affairs concerning documentation and where to find gems is appalling.

(BTW: upvoted for having a valid opinion. People, please don't downvote below +1 just to disagree.)

Re:How two Pythonistas accidentally fell in love with Rails by trustfundbaby on Tuesday September 14, 2010 @12:45PM (#1691218)
> if you cannot name at least 5 things you dislike about the tools and languages you use you're either in the honeymoon period, or irrational

And I'm sure you arrived at that number in a completely rational process.

Re:How two Pythonistas accidentally fell in love with Rails by rimantas on Tuesday September 14, 2010 @04:26AM (#1689913)
why not 4 or six?
Re:How two Pythonistas accidentally fell in love with Rails by kaptainlange on Monday September 13, 2010 @01:20PM (#1687301)
> The new "we're better than everyone else"

He didn't say that at all.

Re:How two Pythonistas accidentally fell in love with Rails by icey on Monday September 13, 2010 @01:22PM (#1687319)
I didn't say he did. Reread what I said.
Re:How two Pythonistas accidentally fell in love with Rails by kaptainlange on Monday September 13, 2010 @01:31PM (#1687371)
> This kind of attitude makes me keep looking for ways to move away from Python-land. The new "we're better than everyone else" attitude

Is this not accusing him of having the "we're better than everyone else" attitude? If not, apologies, but that's what the comment seems to say.

Re:How two Pythonistas accidentally fell in love with Rails by icey on Monday September 13, 2010 @01:37PM (#1687397)
Yes, he has that attitude. No, he didn't explicitly say that. Those are two different things.

There's no point in arguing about it. This is only my opinion, and really I'm nobody; just someone who uses this stuff.

Re:How two Pythonistas accidentally fell in love with Rails by jnoller on Monday September 13, 2010 @01:59PM (#1687506)
No, I don't have that opinion. Look at my history on my blog, or comment history here. Python, Django, etc have plenty to fix and get right.

Your facts are wrong.

Re:How two Pythonistas accidentally fell in love with Rails by icey on Wednesday September 15, 2010 @01:16AM (#1693387)
Jesse, I'm sorry for being an asshole. I've sent you an email with a proper apology; but I wanted to apologize here as well.
Re:How two Pythonistas accidentally fell in love with Rails by veemjeem on Monday September 13, 2010 @02:07PM (#1687540)
There are plenty of smug C++ developers out there but nobody really gives a crap about it. There will always be smug people, but who really cares?
Re:How two Pythonistas accidentally fell in love with Rails by icey on Monday September 13, 2010 @03:04PM (#1687798)
Yeah, I think you're right. Point taken.
Re:How two Pythonistas accidentally fell in love with Rails by kingkilr on Monday September 13, 2010 @01:32PM (#1687375)
If you're not saying he said that, why leave the comment in reply to him? Either you think he said that (or conveys that attitude), or your comment is blatantly off-topic.
Re:How two Pythonistas accidentally fell in love with Rails by mkramlich on Monday September 13, 2010 @11:42PM (#1689333)
> This kind of attitude makes me keep looking for ways to move away from Python-land. The new "we're better than everyone else" attitude is seriously grating.

Wow. That sounds exactly like you're talking about Ruby/Rails.