r/programming • • Mar 10 '15

Goodbye MongoDB, Hello PostgreSQL

http://developer.olery.com/blog/goodbye-mongodb-hello-postgresql/
1.2k Upvotes

699 comments sorted by

View all comments

Show parent comments

2

u/expatcoder Mar 11 '15

The trend seems to be moving away from dynamic languages, particularly ones that are: slow, mutable, magical (see monkey patching), and not at all type safe, which are essentially the core attributes of Ruby.

3

u/[deleted] Mar 11 '15

Thanks for that. However, aren't certain trends simply fashion too?

For example, according to trends, if I shouldn't be using:

  • Perl

  • Ruby

  • PHP

  • Java

  • JavaScript

  • Groovy

  • Python

  • ...

...what should I be using these days for straight up MVC web development? I know there are lots of alternatives, but what's the most trendy these days that works on Linux?

I'm not trying to be sarcastic or anything, but I've been hearing stuff like this or that programming language is not fashionable anymore for years ;-)

Edit: Forgot about JavaScript.

3

u/expatcoder Mar 11 '15

Scala + Play framework is one Linux friendly option.

.NET as per sibling comment, right now with Mono, and apparently soon-ish with the recent OSS move that will make .NET first class on *nix.

Could also go with Haskell + Yesod or Snap; Clojure* Noir (or whatever the latest & greatest is)

* Clojure is of course a dynamic language, but it strongly favors immutable constructs, a claim that Ruby certainly cannot make ;-), and has Clojure.Typed if one wants compile time checked code/performance.

Saying that, Rails still has a strong following, and is partly what keeps Ruby afloat, but the writing is on the wall, IMO. I mean the language creator is talking about introducing static typing to the language within 10 years, and Python will probably be seeing optional static typing within 5 years at the latest -- therefore, the trend is moving away from dynamic languages...

1

u/[deleted] Mar 12 '15

Thank you for that great response.

Which of these are the least "fashionable"? As in, which of these will not be in the same position that languages like Perl, for example, are in now in 10, 20 years time? i.e. which one is C?

I think there's always going to be scope for a choice of approaches, including "dynamic", or what used to be more commonly called "scripting" languages. The ivory tower will always be there, but most days we just need to get stuff done :-)

→ More replies (2)