3 ms·
> You may be able to build something similarly productive, but Rails cannot be replicated in part or in full in any statically-typed programming language, espec
by ssmoot 15y ago
> You may be able to build something similarly productive, but Rails cannot be replicated in part or in full in any statically-typed programming language, especially one that doesn't allow runtime introspection.
Can you be more specific? There's not much to Rails that couldn't be easily done in c#. Monorail for example was pretty close to Rails' experience except for the horrible templating engine (replacing it wasn't hard). The parts that deviated weren't really about difficulty, more just idiomatic differences. (It's not difficult for example to code-gen in c#, even back on 1.0, so the manual registration of Controllers classes wasn't because of a technical limitation.)
Considering how many alternative frameworks have grown up out of "The Big Two" VMs, I feel like I must have completely missed the intent in your comment.
- strlen 15y agoJava and C# allow for introspection, however. Most web frameworks for Java and C# make extensive use of reflection and (more recently) and annotations. (That's not to say I agree with the bad_user's point: there are other approaches to meta-programming)