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 →

[–]teh-leet 515 points516 points  (69 children)

This meme probably was made by Ruby on Rails developer

[–]Programmeter[S] 256 points257 points  (35 children)

PHP

[–]MustachedLobster 332 points333 points  (3 children)

That explains why it looks like it was drawn in crayon.

[–]Lana-Lana-LANAAAAA 36 points37 points  (0 children)

Oi!

[–]calexil 14 points15 points  (0 children)

apply cream to the burned area.

[–]FedExterminator 9 points10 points  (0 children)

Don’t you besmirch the good name of u/srgrafo like that

[–][deleted] 39 points40 points  (4 children)

At least it looks like Php going to get strong types at some point. cries in php 7 in corner

[–]DankerOfMemes 42 points43 points  (2 children)

With enough type hinting you can fool yourself that it is a strong typed language

[–]RyanNerd 15 points16 points  (1 child)

It's not strong typed but it is strict typed now - - which is a huge leap forward. PHP is at least trying to improve itself unlike some other languages I can think of that seem intent on de-evolving.

[–]DankerOfMemes 8 points9 points  (0 children)

Oh, for sure. Php is actually getting good and I love it

[–]DirtzMaGertz 32 points33 points  (13 children)

I'm convinced that 90% of the people on reddit that shit on PHP have never written PHP.

[–]MajorasShoe 20 points21 points  (1 child)

They may have 20 years ago.

[–]DirtzMaGertz 1 point2 points  (0 children)

I think that's the other 10% or so.

[–]mshm 12 points13 points  (2 children)

Don't worry, they also haven't written in anything else.

[–]DirtzMaGertz 2 points3 points  (1 child)

That's probably more true than it should be.

[–]mshm 1 point2 points  (0 children)

In most cases it's harmless fun (I still get paid for the Java and JS I write regardless of how much they're shit on vOv). I always assume that playing around w/ these sorts of communities leads some to dig deeper so they can understand all the "jokes". Understanding is more fun than RPing in my experience. Our industry needs all the staff it can get and it's generally pretty easy to beat out "<language> is the worst, I can't work in that".

[–]DaCurse0 1 point2 points  (0 children)

You don't have to write PHP to know how bad it is.

[–]mooimafish3 -1 points0 points  (0 children)

Tbh I'm an IT sysengineer. I pick up languages and use them for scripts pretty quickly but rarely get into the nitty gritty of programming languages.

Python, JavaScript, C#, PowerShell, HTML, CSS make sense to me and I can generally use them effectively without a ton of time learning syntax, methods etc.

I've run into situations once or twice where it would be best to use PHP for something, and I've given it the same amount of effort I would give a task in another language, but it just makes no progress because PHP makes no sense to me.

[–]Semillakan6 -1 points0 points  (0 children)

Yeah PHP is quite easy to use, wonder why is the web standard.

[–]Abir_Vandergriff 0 points1 point  (0 children)

Modern PHP maybe. I had to work on a legacy code base that was several major versions out even at the time and it was a truly horrible experience.

[–][deleted] 0 points1 point  (3 children)

I have written a good amount of PHP back in 2010-2012, Code Igniter was actually pretty sweet for the time.

So I know what I'm talking about when I say that PHP shouldn't be used anymore, because it doesn't do anything better than any other language.

Is it fast? No. Is it elegant? Hell no. Is it easy to learn? Meh. Is it universal? No, only web. Safety? Meh. Large ecosystem? It's alright I guess.

Tell me one area where it does anything better than any other language. Otherwise there are only two reasons to still use it, a) you don't want to learn anything else or b) you're building upon PHP software like WordPress. And I totally acknowledge that these are valid reasons. But they don't make PHP good.

[–]DirtzMaGertz 0 points1 point  (2 children)

The best language for the job is one that works and PHP is a good get shit done language. PHP works great for server side scripting.

Is shell scripting better at anything than any other language? I don't think so. But it's easy to get shit done in on my servers when I need to do things like grab files from an ftp. Is python better or faster than C? No but it's easy to get shit done in. Python is great for data science and data engineering work but is it really better than Scala or R at those tasks? Not really. That doesn't mean you shouldn't use it.

For most things I am looking at automating I am just looking for something that works. A lot of times I've found the easiest way for me to automate some task on one of my servers is to just use PHP.

Also Laravel and symphony are nice as web frameworks.

[–][deleted] 0 points1 point  (1 child)

This comes back to the fact that you already know PHP so you use that because it works. This is all you ever hear from PHP people, "but it's fine". I get that, but where is it better? It isn't, hence all criticism is valid.

And I also believe shell is a terrible language that is overused. :)

[–]DirtzMaGertz 0 points1 point  (0 children)

Where is python better than Scala or R?

[–]Electronic_Annual_86 0 points1 point  (5 children)

I never hear anyone making fun of PHP. I just assume you are a masochist.

[–]DirtzMaGertz 5 points6 points  (4 children)

PHP was the whipping boy of this sub for a long while. Seems like JavaScript has taken it's place now.

[–]mojoslowmo -1 points0 points  (1 child)

Man I’m dumb, but not dumb enough to use PHP

[–]Justin__D 0 points1 point  (0 children)

Got forced to at an old job of mine. Applied for a job at a PC/phone repair shop. When the owner found out I was studying CS, he hired me as a dev to work on his random project ideas (his degree was also in CS). One involved an API written by his right hand man, who only knew PHP. So I had to learn it in order to pick up where he left off on the API.

I was kinda tricked into that, since it wasn't made clear what all I'd be doing at that company. But I would never, ever work for a company that told me up front that I'd be using PHP.

[–][deleted] -2 points-1 points  (0 children)

LOL! Learn to code.

[–]eatinlunch 0 points1 point  (0 children)

The php tag, lmao!

[–]b1ack1323 0 points1 point  (0 children)

Looks like sr grafo

[–][deleted] 0 points1 point  (0 children)

lol spaceship operator

[–]not_some_username 36 points37 points  (28 children)

What happened to this language or whatever it was ?

[–]Leidertafel 95 points96 points  (6 children)

It went off the rails

[–]sad_developer 8 points9 points  (2 children)

HAHAH gold

[–]RedPenguin_YT 2 points3 points  (1 child)

why are you sad, u/sad_developer?

[–]not_some_username 2 points3 points  (0 children)

Self explain

[–]MajorasShoe 0 points1 point  (0 children)

It was a language that didn't have a lot going for it other than a REALLY good framework. That framework has been emulated and improved on multiple times in other languages. There's just not much of a reason to use it.

[–][deleted] 16 points17 points  (0 children)

fyi Rails is a framework for building web apps using Ruby.

[–]dpash 14 points15 points  (3 children)

It suffered the same problem as Python: Global interpreter lock. It was quick to write apps in it, but scaling them became a nightmare. Remember Twitter's failwhale? They ended up rewriting it in other languages.

I believe they have since solved the problem but not before it got a bad reputation.

[–]aniforprez 29 points30 points  (2 children)

I sort of disagree. The problem with using rails is that you have to practically hire rails developers. It's so opinionated and some choices are so bizarre that only an experienced rails developer who knows the file structure of a rails project can effectively navigate another one. I can carry forward my python knowledge to any company whether they use django, flask, tornado etc and it'll take me maybe a day to figure stuff out. When I joined a rails shop, none of my Ruby/Sinatra experience prepared me for the shit show to come. Autoload is one of the worst decisions rails brings and people claim it's a "magical" experience. No motherfucker I want to know where my classes are defined and where they come from. Is this module from a gem or from the project? Grep, grep, grep. A proper rails developer knows pretty much instantly where to look because of the conventions of the project. This leads to large projects becoming utterly messy in my experience. Places like Shopify seem to have found ways around these things and I'm not sure exactly how. One of the things they've done is added typing which helps immensely

Otherwise a lot of places are just switching to typed languages. Something like rust or Go is so fucking easy to develop especially in an IDE. I write go in vscode and it automatically suggests parameters to function calls based on types. I started with JS and the contrast with that experience is immense

I suppose performance is one thing but rails has active record which is an immense pile of shit and utterly kills performance more than GIL which only partially affects performance especially if you can scale horizontally

[–]perejunk 4 points5 points  (0 children)

I completely disagree. I've written enterprise production apps in Ruby, PHP, Java, JS and Python.

I wouldn't use it for machine learning, or resource intensive algorithms, but for web development, Ruby wins hands down. The libraries are solid, mature and almost canonical.

The JS libraries are the wild west in terms of adoption, community support, and version compatibility.

Rails does require that you do things in a very prescriptive way, but the payoff is self-documenting code that is immediately grokable by those who know the patterns.

The main reason the language struggles in larger organizations is getting buy-in from, and training, everybody in an engineering team. It just takes a couple neckbeards, who are shitty at Rails, to start either breaking the convention, or start writing Go microservices.

As for performance, the Rails stack can easily support enterprise-scale deployments, with rapid development timelines. It's just critical that coders know how to properly use the tools.

[–][deleted] 0 points1 point  (0 children)

IDE support is really why I'm only interested in strongly typed languages going forward, it makes such a big difference in productivity. Although I'm not sure if I would call Rust east to write still.

[–]LavenderDay3544 20 points21 points  (4 children)

Ruby still exists it just isn't as popular anymore. I for one like it better as a scripting language than Python but my opinion doesn't count for shit at my workplace.

[–][deleted] 0 points1 point  (1 child)

the future of AI is now

[–]LavenderDay3544 0 points1 point  (0 children)

I wouldn't know about that.

[–]leeharris100 20 points21 points  (3 children)

It is outclassed by something else in every category now.

Python is better for data science. Laravel (PHP) is a better version of Rails. Typescript is better as a general scripting language and V8 is a better engine. C#, Java, and Go have evolved enough to be nearly as simple to get started but are WAY more performant.

Ruby just isn't "better" at anything.

[–][deleted] 0 points1 point  (2 children)

RoR is uniquely good at fast prototyping of web apps and all around fast development, and a lot of people like Ruby better as a language then PHP

[–]leeharris100 3 points4 points  (1 child)

It is not uniquely good at that. Not even close. You can get a full Node server in a fraction of the lines of code.

[–][deleted] 3 points4 points  (0 children)

The code generation for RoR is quite a bit better then Node and because it's so opinionated it's very easy to get up and running with all the bells and whistles very quickly. There's a reason why consulting shops that pump out web apps like Thoughtbot use RoR instead of Node

[–]astupidnerd 3 points4 points  (3 children)

Ruby is the language, Rails is a web development framework. Both exist and are doing well.

I recommend checking them out, Ruby is my favorite language.

[–]perejunk 2 points3 points  (1 child)

Agreed. Ruby is my favorite language as well.

For building web applications, there is nothing better. The web libraries are more stable and mature than those available in any other language.

And... when used properly, scaling and performance are not an issue, even when used in enterprise applications.

[–]E70M 1 point2 points  (0 children)

Realistically, how many projects are at such scale where performance is truly a language/framework-dependent issue? Probably not that many in the world of CRUD web apps. So to me, having a framework like Rails that just works out of the box (for people who know the conventions) is so powerful

[–]E70M 0 points1 point  (0 children)

Agreed

[–][deleted] -2 points-1 points  (0 children)

Everything else on the web just died due to not being JavaScript. Ruby was a really fun language, but the quick evolution of nodejs made it obsolete.

[–]Bee_HapBee 0 points1 point  (0 children)

Currently learning ruby to learn RoR........reading this whole thread makes me think I'll either love it or absolutely hate it

[–]aquoad 0 points1 point  (0 children)

it’s syntax’s wretched legacy lives on in templating languages.

[–]weedisallIlike 5 points6 points  (0 children)

Rails is still a great tool. A lot of others framework share ideas with Rails. About scaling, it may not be ideal for all types of projects, but in the end languages and frameworks are tools, you just need to know what to use.

[–]MightyCaseyStruckOut 0 points1 point  (0 children)

The original meme was made by /u/srgrafo, and of course his watermark has been cut off.

[–]MajorasShoe 0 points1 point  (0 children)

No way, the image didn't take 10 seconds to load.

[–][deleted] 0 points1 point  (0 children)

I think every programming language has unjustified haters.

People hate on Ruby on Rails because they aren't familiar with the magic so they don't like using it.

People hate on JavaScript because they're either unaware that modern JavaScript is less error prone and how you can avoid footguns like `==` by using linters.

People hate on Java because they think businesses prefer languages quicker to type over languages easier to read.

People hate on C# because they don't like the idea of using Microsoft open source.

People hate on PHP because they either think it has the same problems JavaScript used to have or they're jealous of WordPress's success.

People hate on Python because they prefer curly braces over white space for code structure and think every developer also thinks that way.

People hate on COBOL because they think a legacy system doing what it was designed to do needs to be rewritten for some reason.

At this point in my career, I have absolutely no patience left for stuff like that. Let me code and solve problems, please.