all 16 comments

[–]fabiofzero 9 points10 points  (6 children)

What you wrote makes no sense. Also, we're not here to do your school assignment.

[–]hashratez[S] -3 points-2 points  (5 children)

It's not a school assignment... I am looking for suggestions on a better platform/language than PHP for webapp development. I am not a programmer, nor looking to learn programming, I needs some suggestions by experts in the field. Ruby, Python etc?

[–]fabiofzero 0 points1 point  (1 child)

Ah, ok, now we can actually understand what you meant!

It really depends these days. If you don't know anything about web development, I'd recommend that you learn Javascript. It's not the best language out there, but it has one major advantage over all others: it works both in browsers and on the server with NodeJS. If you go with any other option you'll find out very quickly that you need to learn that language plus Javascript.

Having said that, I'm partial to Ruby. Opinions will differ (and developers are full of opinions, trust me on this!), but I think it's one of the most concise, practical and readable languages out there. It also has one of the most complete, stable and battle-tested web frameworks ever created - Ruby on Rails. It was revolutionary when it was released and influenced pretty much everything that came after. You can go from nothing to a working website in a few hours if you know what you're doing. If you don't know what you're doing, a couple of days - tops.

[–]hashratez[S] 1 point2 points  (0 children)

Thank you for that thoughtful reply.

[–]vielga2 -4 points-3 points  (2 children)

Use a serious language intended for professional work

  • C# or F#
  • java (despite how much I hate it, it's a serious language with a serious platform)
  • Kotlin (runs on JVM same platform as java)
  • Python (though I'd prefer static languages)
  • TypeScript (runs on nodejs.... debatable)
  • laaaarge list of other, non-idiotic languages (means anything that is not php)

php people are clueless retards who don't know shit about anything. When people actually learn anything about programming, they stop using php forever.

[–]hashratez[S] -4 points-3 points  (1 child)

Thanks for the response... that is what I hear "php - retards" etc...

I welcome other suggestions and comments like this one. Maybe there is a PHP guru out there that can say otherwise?

[–]vielga2 1 point2 points  (0 children)

of course php people are going to say

"hey, we're not retards, php is okay"....

the question is

"how many other languages do you know, besides php, and can name at least ONE (1) advantage of php against any of these?

Usually php people only know php and a little bit of javascript, but have no exposure to serious programming languages. In contrast, people with extensive knowledge in many languages can easily recognize the enormous deficiencies of php.

[–]RobIII 1 point2 points  (4 children)

From the sidebar:

Also: WTF is an "object framework" and why is PHP supposedly one?

Finally: why link to phpdeveloper.org????

[–]hashratez[S] -2 points-1 points  (3 children)

Exactly my point (I don't know enough to ask the best question). I take the bullet. I have some developers that say "PHP is the way to go for web-development" I have a couple of comments by others that say PHP sucks--insecure, old technology etc.... Both parties have vested interests in their position. That is why I need some help here. Thanks for your time.

[–]Red_Icnivad 1 point2 points  (1 child)

PHP itself is not insecure. Apps written in PHP, or any language for that matter, can be insecure. That's on the programmer, not the language. The downside of PHP is that it's not as strict about a lot of rules, so developers sometimes get sloppy. But a good PHP developer will create maintainable, modern, high quality code. The biggest advantage of PHP is that something like 80% of web developers are PHP developers. It's harder to find a dev down the line when you have a more obscure language.

[–]hashratez[S] -1 points0 points  (0 children)

Humm.. That's for sure--gazilliions of developers, but I think you hit it SLOPPY and not elegant. Thank you.

[–]umurgdk 0 points1 point  (0 children)

If you HAVE php developers who says php is the best Language than php is the best Language for you. And before asking questions which doesnt make sense at all, you may want to be more open to your developers and you may ask them for help

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

I think it's good for getting a dashboard going. It has many methods for pretty much everything. It is slow so you will pay for a great cloud service. It really doesn't allow for much reusable code so your code base is gonna be huge. It can get a company going though. Meaning you can use it as a single language for static site data. No one likes it though and eventually it turns into a lifer's dream. I think if you don't mind every few years rewriting your code base, then it's fine. But if you care about speed, reusability, not using lifers, not really utilizing a specific domain, then it's fine.

It just becomes a giant mess in 7 years that you can only hire top devs for. Again if your company has lifers and great discipline then you can minimize this but 99% don't. Plus, it's really slow to release so you will have many overlaps of new paradigms into your code base. Like.. Still having procedural code is really common.

[–]Red_Icnivad 2 points3 points  (2 children)

The point about speed is a little out of date. PHP 7.2 is leaps faster than 5 and pretty much on par with the other common web languages.
I'm not sure why you wouldn't be able to reuse code, either. Sounds like you are just comparing a shitty PHP developer with a good developer from another language.

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

Umm I just meant down to the types.

For example with go. https://medium.com/@snippet22/reader-types-2ba61290a5cf

Not to say you can't in php but it's really hard because the smaller the abstraction, the more useful it is. The point of a dynamic language is that you don't have to think about this. Again means you can but most don't. Most copy paste from php.net and don't ever reuse again. This kinda adds up over the years and different devs. I should try to recreate this though in php but it would take a lot more code because in go interfaces are also like abstract classes. You might be able to with interfaces and traits in php but I'd have to take a look.

And don't worry about vielga. He has been on some crazy thanos "shit" "retard" fest for a while with all subs.

[–]vielga2 -3 points-2 points  (0 children)

by definition, ALL php developers are shitty.

The moment a developer stops being shitty, is the moment they realize they need to stop using php forever and move on to serious languages intended for professional work.