6 ms·
building something similar to Ruby on Rails << in Haskell >> is not that hard Actually, yes it is. You may be able to build something similarly producti
by bad_user 15y ago
building something similar to Ruby on Rails
<< in Haskell >> is not that hard
Actually, yes it is.
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.
To me, the author's problem is that instead of working on cool projects that bring him joy and/or money, he instead went on to chase wild geese. And building yet another web framework by copying what's already done, reinventing the wheel for the N-th time in history, that's not fun. Building iPhone projects, on the other hand can be quite fun, not to mention something you can sell.
Stop chasing for the ultimate, mythical, most awesome programming experience and start doing practical things that you can finish. Compromises are a big part of that.
- Locke1689 15y agoThe problem the author probably had (and one I've experienced at times) is that those "cool projects that bring him joy and/or money" are not very cool. Unfortunately, web programming is boring. And easy. And lucrative. This means that you may not enjoy your RoR apps, but you have to do them because your more challenging projects aren't immediately monetizeable. Building iPhone projects, on the other hand can be quite fun This is where I think we may disagree. Fundamentally, most iPhone projects are too easy to be interesting. It's like chopping wood all day.
- ido 15y agoIt may be easy in the purely technical sense, but that can be exactly the thing to afford you a view into the other aspects of making and selling software beside the programming (design, marketing, etc). You might even learn that the coding is indeed not the hardest part of making a living off of your own software projects :)
- Locke1689 15y agoThat doesn't mean I'll get any more enjoyment out of it. My parents are both physicians -- I know their job is very difficult. Medicine, however, doesn't appeal to me. What does is hard technical problems.
- grimen 15y ago"web programming is boring" I got no more to say than: "prove it scientifically" (you can't). How can you say web programming is boring as a fact? It's your view.
- Locke1689 15y agoIt doesn't need to be any more than my opinion: my point was that some people (myself and probably the poster included) will never be satisfied by just web programming or just iPhone development. bad_user attempted to say that he should work on "real" projects that are "fun" like web dev and mobile dev, but we don't and won't find those fun.
- 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)
- strlen 15y ago> projects that bring him joy and/or money I believe author pursued projects that build him joy (creating a web framework in Haskell) vs. what would bring him money (iOS apps). The two are not the same. Money can easily cloud the picture. For some people re-inventing the wheel in Haskell may be what brings them joy. There's also nothing wrong with re-inventing the wheel: I am very glad my sports car has forged 19" alloy wheels rather than slices of a log. Reflection is great (it's what made even static language frameworks like those in Java and C# successful), but it's also a poor substitute for genuine meta-programming as afforded by languages in the Haskell and ML family.
- chriseidhof 15y agoHaskell allows for introspection, using a technique called Generic Programming. There are a lot of ways to do it, but one way is http://www.defmacro.org/ramblings/haskell-web.html http://www.defmacro.org/ramblings/haskell-web.html. As for the second part: so true. Thanks for the insight. In part two I'll write about that.