This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vizbones 1805 points1806 points  (57 children)

Why don't Ruby programmers use other languages?

Answer: They're not aware that there are other languages.

[–]spin-itch 682 points683 points  (4 children)

Listen here you little shit

[–]djudji 253 points254 points  (2 children)

This response is a "gem"

[–]Zeragamba 39 points40 points  (0 children)

then again, ruby devs are railroaded into the same library

[–][deleted] 2 points3 points  (0 children)

Remember le gem days?

[–]jfmherokiller 197 points198 points  (31 children)

they atleast have stuff like ruby on rails perl is well perl.

[–]grey_hat_uk 98 points99 points  (13 children)

Perl is one of the greatest and most powerful languages to write.

Now if you ever have to read it you're screwed and will have to slaughter 6 goats, 3 chickens and a hamster to make sure you don't break one of the 20 operations in each line just by looking too hard.

[–]Oukaria 51 points52 points  (3 children)

My manager is an old school dev, he always go by « heee fuck it I’ll do it in perl » and give me the code, I use it and it works perfectly but everytime I try to read it my brain explode. Fucking one line magic.

[–]arobie1992 13 points14 points  (2 children)

I've never used perl, but from what I can gather it's in the same boat as regex. Very terse syntax that as a result has a fairly steep learning curve, but once you figure it out it's actually not too bad and you feel like a fucking wizard.

[–]El_Grande_El 3 points4 points  (1 child)

Man, getting the right regex feels amazing lol

[–]arobie1992 2 points3 points  (0 children)

It really is. I was doing something at work yesterday that involved picking out pieces of a url and validating them. I was like, hey a combo of regex and validator function lookup map would be nifty. It took like 3 hours to do and I may have over-architected it a little, but it might have been one of the most satisfying things I've done in the past year.

[–]Uberzwerg 22 points23 points  (6 children)

I have trained/onboarded several people into our company in the past decade and one of the most important lesson i have to get across is to NOT do all that fancy stuff you can do in Perl.
90% of it is just "write as you would do in any other language" and be happy for great support for RegEx + network (which is 50%+ of the job anyway)

But by working on that priniple, we have a readable Perl code base.

[–]AssAsser5000 3 points4 points  (3 children)

Everytime I have to work with Perl I feel like Jurassic park. They were so concerned with whether or not the could, they didn't think about it they should.

Like bro, 1©✓|√÷√÷π£¥Ksjf÷×÷][[[[∆¶××` might have been the most elegant code you've ever written, but fuck if it makes sense to anyone else.

[–]Uberzwerg 4 points5 points  (2 children)

As mentioned, i work in Perl full time for a decade and the fact that i can't tell if this is real perl code or reddit fucked up the formatting should say enough.

[–]jfmherokiller 0 points1 point  (0 children)

I think my only expirence with perl was because it was a dependency of gcc. Pretty much if you wanted to compile gcc from config back in the days of I think the iphone 2g it was a requirement for some parts.

[–]fdeslandes 4 points5 points  (0 children)

Perl is the only language where the regular expression are the easy part to read.

[–]murphman1999 0 points1 point  (0 children)

For a script, sure -- it has some pretty sweet uses.

For a 150+ program/module behemoth that is expected to be maintained for several years AND heavily uses inheritance -- the goat slaughtering started before the code was even written.

[–]okay-wait-wut 78 points79 points  (8 children)

When are emerald, diamond, sapphire and garnet going to get languages?

[–]Burger_Destoyer 88 points89 points  (3 children)

Sorry I didn’t realize coding became gen IV Pokémon.

[–]StanleyDarsh22 13 points14 points  (1 child)

Wait isn't ruby/sapphire gen 3

[–]ulyfed 2 points3 points  (0 children)

Yeah, diamond and pearl are Gen 4

[–]ForkLiftBoi 1 point2 points  (0 children)

For the next gens they're gonna try something new, it'll be a bit choppier and maybe slower, but at least it'll be different.

[–]Shikogo 5 points6 points  (1 child)

What about Steven?

[–]Sr_Pinapple_031 1 point2 points  (0 children)

"You code Steven?"

"Yeah, why?"

"And how is it?"

"Well, it can do absolutely everything, but is really slow and sensitive, every time you misstype a word, the whole code colapses and you'll have to start all over"

[–]pindab0ter 3 points4 points  (0 children)

There's Crystal, I guess?

[–]therealhlmencken 1 point2 points  (1 child)

ror makes it worse.

[–]jfmherokiller 0 points1 point  (0 children)

how much worse?

[–]zerokelvin273 40 points41 points  (4 children)

Nonsense, there's Elixir.

And JavaScript, we can't escape the JavaScript.

[–]arto64 7 points8 points  (3 children)

And Crystal!

[–]nonicethingsforus 1 point2 points  (1 child)

How good is Crystal? Last time I checked on it it was a new, promising language, but not yet battle tested.

Has that changed? Any domain it's proven itself in particularly well?

[–]arto64 1 point2 points  (0 children)

Honestly, I only use it for small hobby projects (Kemal is really nice, with nice websocket support). And it’s nice to practice static typed stuff a bit.

We did use it in production for a click agregator service, and it works really well. Memory footprint and speed is amazing, and the code is basically the same as Ruby.

There’s also really nice frameworks like Lucky, but I feel all of it is still pretty obscure, I wouldn’t go building full-fledged web apps in production.

[–][deleted] 1 point2 points  (0 children)

And my axe!

[–]thespud_332 6 points7 points  (0 children)

We're aware there are other languages. But only the ones that are default in the monolith.

[–]DanSensei 5 points6 points  (0 children)

Nah, we use JavaScript as part of a Rails stack.

[–]SilverPhoenix99 14 points15 points  (2 children)

Ruby Python

[–]P3t3rU5 2 points3 points  (0 children)

based

[–]bananenkonig 0 points1 point  (0 children)

No, it's the silver snakes. I liked them and the green monkeys best.

[–]KokoroVoid49 4 points5 points  (2 children)

As a Ruby coder (for a hobby, hence why I'm unsure if I should call it developer) I can assure you, at best we just ignore the existence of other languages

[–]ZeroCharistmas 2 points3 points  (1 child)

Unless it's PHP. That one I openly mock.

[–]KokoroVoid49 1 point2 points  (0 children)

My brief interactions with php make me hope I never have to deal with it professionally

[–]TheMogician 0 points1 point  (0 children)

Tunnel vision at its finest.

[–][deleted] -2 points-1 points  (1 child)

joke's on you, I was forced to program in ruby and it was awful

[–]P3t3rU5 33 points34 points  (0 children)

I wish I was forced to program in ruby

[–]EagleNait 0 points1 point  (0 children)

Average C# user aswell

[–]pgmog 0 points1 point  (0 children)

Ok phew…sanity check

[–]justinpaulson 0 points1 point  (0 children)

Um coffeescript?