Ruby on Rails marketability [closed] - ruby

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I've been researching about Ruby on Rails and its marketability today. How does it compare to the other programming languages (like JAVA)? Would it be a really great time to learn it now? Will it be beneficial for me to learn this as my primary programming language?
I just wanted to know the highs and lows for this technology before I dive in and start learning.
Your opinions would be appreciated.

The name of the programming language is Ruby. Ruby on Rails is an awesome framework for fast, efficient building of web applications.
Ruby is an interpreted language in opposition to Java or C#, which are compiled.
With Ruby there's no need for type definition or type casting, no semicolons at the end of the line, no parentheses for method invocations, operators overload, getters/setters automatically available for all instance variables and many, many more. (copied from here)
I think that the learning curve with ruby is very steep.
But, after all, all the above is just an opinion ... my opinion. And you're question "Would it be a really great time to learn it now?" is answered by the pragmatic programmers: Learn a new programming language every year. So, why not starting learn Ruby now?

Related

Prolog as first programming language [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I'm a computer engineering student but i've never programmed in my life (i've only studied physics, chemistry, control systems etc). Since I know a lot more about math than programming languages, and I'm studying logic right now on my own (i read it can be useful for artificial intelligence), i was thinking about learning Prolog as a first programming language. I tried to find some information about it on the internet but i couldn't really find much, all i discovered is that it's not really useful for landing a job but it can give you a different "mindset". Do you think it would be worth to learn it, or it would just be better learning something like C, Python etc?
Thank you!
Prolog is indeed a wonderful language, and it makes you think is a very differnt mode from other languages. As for making it a first, I think that's a bold move, and I suspect it'll make learning more languages a bit of a challenge. If your intent is to learn sofware engineering, I'm very sure you'll eventually learn another one.
I'd start with Python but, since you're curious already, learn it on the side.

Functional GUI programming [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
The question "Is Functional GUI programming possible?" was asked three years ago, a lot has changed since then. Things like the RX framework must have changed the way functional GUI programming can be done (in .NET at least). Clearly it is possible to do functional GUI programming; what would be the current best practice for it?
Edit to address the On Hold status:
What are the ways that you can do GUI programming in F#? Particularly are there any new approaches that did not exist when the question "Is Functional GUI programming possible?" was asked. What have been peoples experiences with these approaches? Positive and negative. Examples of what works and what doesn't would be great.
maybe check into FsXaml and FsViewModule and watch the related video presentation from Reed Copsey

Functional programming style vs performance in Ruby [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I love functional programming and I love Ruby as well. If I can code an algorithm in a functional style rather than in a imperative style, I do it. I tend to do not update or reuse variables as much as possible, avoid using "bang!" methods and use "map", "reduce", and similar functions instead of "each" or danger loops, etc. Basically I try to follow the rules of this article.
The problem is that usually the functional solution is much slower that the imperative one. In this article there are clear and scary examples about that, being until 15-20 times slower in some cases. After reading it and doing some benchmarks I am afraid of keep using the functional style, at least in Ruby.
By the other hand I feel more comfortable writing code in functional style because it is smart and clean, it tends to less bugs, and I think is more "correct", specially nowadays that we can use concurrency and parallelism for better performance.
So I am very confused about which style to use in Ruby. Any wise recommendation will be appreciated.

What are the advantages and disadvantages of metaprogramming? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
As the title stated, what are the pros and cons of Ruby meta-programming?
So far I know the advantages of Ruby meta-programming give us quite flexible ways to write our code using code that writes code. But what are the disadvantages? Maintainability issues?
I feel that meta-programming helps to scale an app also.
Can anyone can give more details about this?
Almost everything I know about metaprogramming in Ruby comes from "Metaprogramming Ruby: Program Like the Ruby Pros". It's a great read, and I suggest it to everyone who want to understand metaprogramming.
I'd say the main advantage is to have incredibly flexible code, which can adapt swiftly to any changes one could imagine. Things like send, respond_to? or define_method really give you the possibility of writing beautiful code.
On the other hand, I'd say that the main disadvantage is to make code harder to read and harder to debug, since most of the times the code isn't there yet! It will be generated at runtime, so you can't actually read it when you debug it.

What language features does Ruby borrow from CLU? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have read in Ola Bini's blog that Ruby has influenced by CLU language, but besides the multiple assignment I'm not sure what other influences exist. Any guidance and simple examples would be most appreciative.
The only time matz ever mentioned CLU was when talking about iterators. Everything else is more or less directly from Smalltalk, Lisp, Flavors and Perl. Singleton classes seem to be unique to Ruby, though they are related to Smalltalk's metaclasses.
Depends on how abstract you want to get: CLU had iterators, exceptions, memory management, and was sort-of OO.
It was actually kind of interesting.

Resources