News for hackers. Stuff that matters.
Re:Navigating the Postmodern Python World by wes-exp on Thursday July 11, 2013 @04:12PM (#6028856)
Lisp has had metaprogramming, optional type declarations, speed, and DSLs since at least the '80s. This isn't some magic new technology just introduced by the shiny new languages cited by the author.

http://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule

Re:Navigating the Postmodern Python World by pjmlp on Friday July 12, 2013 @03:36AM (#6031376)
Many blogs nowadays are rediscovering computing history.
Re:Navigating the Postmodern Python World by foldr on Friday July 12, 2013 @03:03PM (#6034455)
Lisp's optional type declarations don't provide any compile-time guarantees though, they're just hints. (Although some implementations do use them to make compile-time checks.)
Re:Navigating the Postmodern Python World by ohyes on Sunday July 14, 2013 @03:34PM (#6041920)
Technically, your are correct.

HOWEVER, In most of the compiled versions you set speed/space/safety/debug levels 1-3 and get different uses of the type hints.

In SBCL, if i set safety/debug at high priority, I will get warnings or errors if I make a type mistake.

Furthermore, there is an option you can turn on to make the type infrencer tell you what it is doing.

Here's some example doc:

http://common-lisp.net/project/cmucl/doc/cmu-user/compiler-h...

You'll notice that CMUCL's compiler is called 'Python' so technically, Python supports type inference. :)

Re:Navigating the Postmodern Python World by wes-exp on Saturday July 13, 2013 @12:10PM (#6037843)
Depends what you are going for. If the point of type declarations is speed, I think most high-quality CL implementations will take advantage of a type declaration. If the point is compile-time type safety, yeah, that's a more obscure feature. Of course you can always use check-type for run-time type safety though.
Re:Navigating the Postmodern Python World by foldr on Saturday July 13, 2013 @06:07PM (#6038984)
Well, in the context of refactoring, it's presumably compile-time safety that's relevant.