The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Optional Static Typing, Redux

1 reply on 1 page. Most recent reply: Apr 4, 2009 11:38 AM by Obie Fernandez

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Daniel Berger

Posts: 1383
Nickname: djberg96
Registered: Sep, 2004

Daniel Berger is a Ruby Programmer who also dabbles in C and Perl
Optional Static Typing, Redux Posted: Apr 3, 2009 5:30 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Daniel Berger.
Original Post: Optional Static Typing, Redux
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Daniel Berger
Latest Posts From Testing 1,2,3...

Advertisement
Or type annotations. Or whatever you want to call them. From Artima, discussing the use practical advantages of Scala over Ruby:


Alex Payne: I’d definitely want to hammer home what Steve said about typing. As our system has grown, a lot of the logic in our Ruby system sort of replicates a type system, either in our unit tests or as validations on models. I think it may just be a property of large systems in dynamic languages, that eventually you end up rewriting your own type system, and you sort of do it badly. You’re checking for null values all over the place. There’s lots of calls to Ruby’s kind_of? method, which asks, “Is this a kind of User object? Because that’s what we’re expecting. If we don’t get that, this is going to explode.” It is a shame to have to write all that when there is a solution that has existed in the world of programming languages for decades now.


Dear Ruby community: Wake. The. Fuck. Up.

Read: Optional Static Typing, Redux


Obie Fernandez

Posts: 608
Nickname: obie
Registered: Aug, 2005

Re: Optional Static Typing, Redux Posted: Apr 4, 2009 11:38 AM
Reply to this message Reply
Subtle (and not so subtle) Ruby bashing on a site run by and featuring interviewees with vested interests in the popularity of Scala are not particularly credible. I refer to Alex Payne and Bill Venners, both authors of Scala books.

Flat View: This topic has 1 reply on 1 page
Topic: Refactoring ActionScript #1 Previous Topic   Next Topic Topic: More git prompt goodies with zsh

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use