dynamic-languages

Which Dynamic .NET language makes more sense to learn, Iron Ruby or Iron Python?

I'd like to take some time to learn more about dynamic languages built on top of the DLR and I'm not sure which language would be better to learn. Having limited time, I really only have time to look learn one of them. Any opinions on which of the two (Iron Ruby or Iron Python) would be more useful in the long run? Thanks! ...Ed ...

What's with the love of dynamic Languages

It seems that everybody is jumping on the dynamic, non-compiled bandwagon lately. I've mostly only worked in compiled, static typed languages (C, Java, .Net). The experience I have with dynamic languages is stuff like ASP (Vb Script), JavaScript, and PHP. Using these technologies has left a bad taste in my mouth when thinking about dy...

preferred way to implement visitor pattern in dynamic languages?

As an exercise for myself, I was translating a sample program into various languages. Starting in C#, I had a visitor-pattern interface like so: interface Visitor { void Accept(Bedroom x); void Accept(Bathroom x); void Accept(Kitchen x); void Accept(LivingRoom x); } Moving to ruby (or python, ...

Best Practices for Architecting Large Systems in a Dynamic Language

From my experiences building non-trivial applications in Java and C#, I know that using good modular design based on known patterns and "coding to interfaces" are keys to success. What are the architecture best practices when building large systems in a dynamic language like python or ruby? ...

Is there any point for interfaces in dynamic languages?

In static languages like Java you need interfaces because otherwise the type system just won't let you do certain things. But in dynamic languages like PHP and Python you just take advantage of duck-typing. PHP supports interfaces. Ruby and Python don't have them. So you can clearly live happily without them. I've been mostly doing my ...

Has anbody used Boo and can you comment on your experiences?

I'm looking for a groovy equivalent on .NET http://boo.codehaus.org/ So far Boo looks interesting, but it is statically typed, yet does include some of the metaprogramming features I'd be looking for. Can anyone comment on the experience of using Boo and is it worth looking into for more than hobby purposes at a 1.0 Version? Edit: C...

Dynamic type languages versus static type languages

What are the advantages and limitations of dynamic type languages compared to static type languages? See also: whats with the love of dynamic languages (a far more argumentative thread...) ...

Under what circumstances are dynamic languages not appropriate?

What factors indicate that a project's solution should not be coded in a dynamic language? ...

High-level languages for out-of-the-box GUI desktop application programming

After I discontinued programming in C++ while entering into web authoring I was spoilt by PHP's high level constructs like hash tables or its dynamic, weak typing. I remembered the angst of C/C++ pointers and the maze of low-level Win32 API handles and message loops and that prevented me from utilizing environments like Code::Blocks for ...

How do you counter that "X" language isn't ready for "Banking" or X mission critical app?

So today I was explaining how Groovy uses the "Meta Object Protocol" or MOP to someone. More specifically I was explaining how Grails and GORM use the MOP to provide dynamic finders. The queston I got once the use of the MOP was sufficiently explained was, "Would you use that technology in banking?". My answer is why not? I've worke...

Short Description of Python Scoping Rules

What exactly are the Python scoping rules? If I have come code: code1 class Foo: code2 def spam..... code3 for code4..: code5 x() Where is x found? Some possible choices include the list above: In the enclosing source file In the class namespace In the function definition In the for loop index varia...

Does the new 'dynamic' C# 4.0 keyword deprecate the 'var' keyword ?

When C# 4.0 comes out and we have the dynamic keyword as described in this excellent presentation by Anders Hejlsberg, (C# is evolving faster than I can keep up.. I didn't have much time to acquaint myself with the var keyword) Would I still need the var keyword ? Is there anything that var can do.. that dynamic can't? var x = SomeFunc...

Script.Net vs Nemerle

I was looking into scripting to be incorporated into my apps. Then I bumped into Script.Net and Nemerle. I do know that they have different syntax and Nemerle supports macro but not Script.Net. But I would like to know more about their differences in terms of functionality, usage and flexibility. And which one would you recommend, why? ...

How do you program differently in dynamic languages?

How would someone who really knows how to take advantage of dynamic programming languages approach programming differently than someone working in a static language? I'm familiar with the whole debate over static versus dynamic typing, but that's not what I'm getting at. I'd like to discuss problem solving techniques that are practic...

Ruby: More flexibility than Java/C#?

Is is that I'm a newbie learning Ruby, or does it really have more ways to write (the same) things than Java/C#? Also, if it is more flexible than Java, are there any linguistic features of Ruby that are generally not used to avoid confusion? Examples might be parallel assignment and all the different ways to write Strings, perhaps? No...

Has anyone willingly gone back to php?

This is not meant as a slam on php. I use it frequently. Just curious though, has anyone "moved on" from php to use ruby or python as their primary scripting language, then "come back" to using php? ...

Are web MVC frameworks easier to use with Dynamic Languages ?

The reason I am asking this is due to my observation that frameworks like RoR and Django are two of the leading MVC frameworks out there which really have stirred up the community. I know there are MVC frameworks in Java world long before RoR or Django came out, but there wasnt so much excitement. Are languages like Ruby / Python a bett...

Uses for Dynamic Languages

My primary language right now is D, and I'm in the process of learning Python because it's required for a course I'm taking. While I understand why dynamic languages would be a breath of fresh air for people programming in static languages without type inference or templates (IMHO templates are to a large extent compile-time duck typing...

.NET and Dynamic Languages

When Microsoft gets around to releasing the DLR and related languages are you planning on utilising those languages (such as Iron Ruby or Iron Python)? If so, what are your motivations for doing so? ...

Dynamic object properties in C# and Javascript

I have a table in the database for various settings in my application. These settings can be added to or changed at any time. I would like to pull them out of the db into an object and reference them in both my server code (C#) and client code (JS). SettingGroup SettingName type value Core defaultPagingSize numeric ...