News for hackers. Stuff that matters.
Re:Navigating the Postmodern Python World by boothead on Friday July 12, 2013 @04:28AM (#6031571)
Not to come across as too much of a Haskell fanboy, but this is almost the exact sweet spot for Haskell: Typesafe operations over recursive structures. I'd say C# and F# would also be good choices. I completely understand and agree with your concerns about microsoft, but there always mono :-)

On a separate note: sqlalchemy is one of the best pieces of software I've ever used in any language!

Re:Navigating the Postmodern Python World by tome on Friday July 12, 2013 @06:46AM (#6031918)
Could you explain briefly what you like so much about SQLAlchemy? I've never been able to understand why it's so good.
Re:Navigating the Postmodern Python World by boothead on Friday July 12, 2013 @08:20AM (#6032177)
Wow, where to start :-)

Biggest benefit is probably the flexibility. SA allows every pattern from raw table access right up to complex object hierarchies mapping to joins or views. If you've already got an existing database structure it's invaluable to be able to hide the "implementation" in this way (I know that's not really the right term) and just present the API that better reflects the domain.

On the other hand it's also a really good tool for creating the tables yourself from the python table declarations.

I've used SA in both enterprise environments mapping really hairy old database schemas to greenfield web apps and I've never found anything that it can't do well. I'd go so far as to say If you're doing relational database stuff in python and you're not using SA - you're doing it wrong :-)

Re:Navigating the Postmodern Python World by tome on Friday July 12, 2013 @08:36AM (#6032226)
Great, thanks for the summary :) I'm not using Python but I'm writing an alternative HaskellDB API, so it's good to know the strengths of other systems.
Re:Navigating the Postmodern Python World by boothead on Friday July 12, 2013 @08:47AM (#6032275)
Would definitely like to hear more about that! I'd like to build the backend of whatever I build next in Haskell. Is it on github or accessable anywhere?
Re:Navigating the Postmodern Python World by tome on Friday July 12, 2013 @08:57AM (#6032308)
It's currently internal only, but hopefully I'll be able to release it to the public soon. I'm happy to correspond by email about it. How should I get in touch with you?