[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is this a meme language? Why learn this language over say, C++?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 13
Thread images: 1

File: 100px-Ruby_logo.svg.png (10KB, 100x100px) Image search: [Google]
100px-Ruby_logo.svg.png
10KB, 100x100px
Is this a meme language?

Why learn this language over say, C++?
>>
or Perl?
>>
>>59042554
if you had to ask, it probably is.
>>
Depends on what you want to do anon...like every fucking language. Is Ruby a good replacement for perl? Yes, and so is Python.
>>
What is it used for predominantly?
>>
>>59042749
Ruby on Rails is a long time popular web framework. Modem RoR is fantastic.

It's very popular for creating simple programming languages called a DSL, google it. This is why it's used for Chef and Puppet (server configuration management).

It's also good for scripting.

I use it for all three of these at work.
>>
>>59042749
Aside from the du jur use-case of Rails Web and Scripting proper it's also fairly popular with small dev shops to produce not-to-scale proof of concept projects due to it being easy to work with and fairly robust albeit not efficient enough for literally doing it all in practice.

When I worked for startups we'd often spend six weeks throwing together a project in Ruby for a pitch to some VC investor(s) and if we got a green light would then proceed to dissect the work and figure out what we'd need to translate it into for scale use.

The downside is that a lot of startups got drunk on the kool-aid and stuck with Ruby well beyond what is good to spec.
>>
>>59042554
Because ruby is better for web apps than c++.

I would prefer C#.net compared to ruby though.
>>
>>59042562
>>59042554
>Perl and Ruby vs C++
You've got different languages for different cases.
>>
>>59042554
It's "good enough."

If you want to do dev ops then it's the way to go (go look at things like Chef and Ansible).

If you want to do scripting, it's the way to go (Python is just not as expressive as Ruby imo).

If you want to do web dev it's the way to go. Especially for startups. All of these faggots saying "it won't scale" have no idea what the fuck they're even talking about. Considering that the framework is rarely the bottleneck for a very long time (unless you are the 1% of the 1% of the 1% who hit the jackpot and go BIGLY viral). Take a look at large companies who still use Rails as the back end (shopify, basecamp, etc).
>>
>>59042749
Homebrew is written in Ruby. I don't know of anything else. But I've heard the Japanese like it.
>>
>>59042554

>Is this a meme language?

I wouldn't say so.

Ruby influenced a lot of langauges in the aftermat: PHP (i.e. the sapceship-operator "<=>"), Scala, Rust, Swift..
Even Python3 has introduced some elements that look suspiciously like Ruby.

Ruby is just a great combination of Smalltalk, Perl, Python, LISP and JS. And IMHO it's the best scripting language out there, but beauty is in the eye of the beholder..

Also Ruby on Rails was the Gold standard for web frameworks when it occured. There's a lot of frameworks that were "inspired" by Rails, i.e. Java Spring, or PHP Code Igniter. But you can see a lot of traces in other big frameworks.


>Why learn this language over say, C++?

You compare languages for different purposes.

Basically you want to learn:
-one low level language like C, C++ or Rust for "muh performance"
-one scripting langauge for rapid prototyping, duct taping things together, everyday scripting (copy file 100 times) and so on
-JavaScript + HTML + CSS if you are interested how the web works
-Haskell, LISP or Scheme so people will assume you are smart and a good programmer
>>
>>59044679

>I would prefer C#.net compared to ruby though.

C# is not bad, but .NET ..?
Even Java has better web frameworks than that.
Thread posts: 13
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.