Live data from Hacker News

Justin.tv porting their site from Rails to Django?

djangohire.com

61–65 of 65 posts

Re: Justin.tv porting their site from Rails to Django?

#61
post #13
post #11

Earlier quoted context omitted.

They could gain in productivity and ease of support

You're implying that python is more productive than ruby? I've never heard that claim before.

I am not implying that one language is more productive than another, just that it might be more productive for that team with their codebase.

Re: Justin.tv porting their site from Rails to Django?

#62
post #45

Earlier quoted context omitted.

Because it's a phrasal verb with multiple meanings: http://www.macmillandictionary.com/dictionary/american/turn-...

Right. The OP's comment made it seem like there are only two definitions of that phrase(neither of which applied to my example): "turn on" is either "sexually attracted to" or "suddenly attack"

Yeah, I couldn't think of any other's. Phrasal verbs are tricky like that.

Re: Justin.tv porting their site from Rails to Django?

#63

Earlier quoted context omitted.

Wow, completely agree. They just need to rename the environment variable into something like RAILS_VERSION instead, as suggested by several commenters in that issue. Such a simple fix, I don't understand why they won't do that.

There are two problems with your statement 1) VERSION is a horrible name for a non-transient environment variable. It's fine if you're just using it on a per command basis (as rails does with 'rake db:migrate VERSION=123') but some app has stuck a ridiculously generic word into a global namespace. 2) (trivial) RAILS_VERSION would make no sense because it's the migration number you want to set your database too. Any n…

Meh, using an environment variable named VERSION isn't too bright, and if it's for a single command then it should be a command line argument. RAILS_VERSION may not be appropriate but it's more intelligent than using an extremely generic and common name like VERSION.

Re: Justin.tv porting their site from Rails to Django?

#64
post #53

I've tried three times to switch from Rails to Django, but each time I ended up coming back. Python isn't bad, but it's a more asymmetric development experience than Ruby (IMHO) and simply doesn't sit as well with me. However, Django is just so radically different in its approach than Rails. It may have the admin console baked in, but other than that I felt that Rails was far more "batteries included". It's nice that…

what do you mean by "asymmetric"?

Re: Justin.tv porting their site from Rails to Django?

#65
post #34

I switch from Rails to Django a while ago. On a feature base the two frameworks are equals. I explained it in depth in this video http://vimeo.com/31083901 ( It's in Italian,mf.Du you speak it?! :-) ). Basicaly I turn on django beacuse I prefer Python to Ruby: again the two languages starts from the same assumptions ( Guido also told that ) it's just my personal taste. Also django do things THE WAY I like more. For e…

Minor grammar Nazi point (since you mention you are Italian, and might be interested) - "turn on" is either "sexually attracted to" or "suddenly attack", depending on the context. i.e. "She turned me on, the smell of cigarettes is not a turn-on for me, the dog suddenly turned on me and started biting". I've no idea why ... You mean "turned to".

[deleted]
Post reply on HN