Which one, Sup Forums?
Which one, Sup Forums?
Java
python
who doesnt love being able to solve every minor inconvenience by writing what is basically pseudocode
Ruby's syntax is better, though, and easier to write.
I prefer pretty much everything about Ruby, however I work in data science and I'm pretty much forced to use Python. Python isn't bad, the syntax just feels restrictive at times.
Perl is Bash 2.0 to me. Perl 6 is completely different but I've never studied it seriously.
Python have best userbase.
Java and ruby just a bunch of neckbeard losers!
c#
just out of curiosity, what do you use Ruby for? The main reason i got into Python was because the industry standard GIS software (ESRI ArcGIS) had a python API, so it was really worth my time learning it. I find that lots of other software suites have Python APIs and there is a robust library for just about every single thing i can think of doing.
Besides random file operations, where do you think Ruby performs better than Python? I just don't see the point in learning a whole new language just to do the same shit.
Ruby and Python do the same stuff. Python's community is just more focused around research and data science, while Ruby's is centered around Rails.
You can do research and data with Ruby, and web development with Python, though. It's just about the community, thus the documentation/support
>that video
what the fuck
is this VR hentai or something
>Rails
what is this?
maybe it makes sense that i like python so much because im more involved in research / data science like you said
Python. They're all shit but Python has the best library support and the biggest community by far. Ruby is dead as fuck and the primary implementation is ridiculously bad and will never improve significantly.
He's a web developer using Rails. If someone uses Ruby you can safely assume they're using Rails for CRUD web apps.
Why does data science have such a hardon for python?
and is perl 6 that different from 5? I've never tried either
Ruby is popular for web applications due to the Ruby on Rails framework.
Curiously, Ruby is also used in most of the modern provisioning tools. Puppet, Vagrant, Chef, Capistrano, Homebrew are all written in Ruby.
That user is right too, Ruby probably has a better syntax for an advanced user. Ruby even has some lisp-like metaprogramming features.
>better syntax for an advanced user
how bad is it as a first language compared to python?
python because features
its like c#, but less bloat
>Why does data science have such a hardon for python?
Numpy, pandas and stuff are good.
Python
Also learn JavaScript, C++ and some meme functional language.
I'm not sure how Python got so entrenched in data science. If I'm honest with you, I still prefer pure R to Python for data. R is built around the concept of dataframes, for example. Python has Pandas but it isn't a fundamental part of the language.
Perl 5 was the hot shit before Python, so you find it in some older data science programs. Perl 6 supposedly fixes some of those problems, but I've never used it much. But it looks really interesting because has things like Lisp-style macros, lazy evaluation, sigils, blocks, closures, static typing, etc.
It's probably a tossup which is better as a first language. I prefer the syntax and flexibility of Ruby however, I don't get to use it professionally because of the availability of data science libraries.
Rails is web framework for Ruby, which is gay language that is even slower than Python used by only web developers and has hideous syntax
often times data scientists are more interested in just getting results on their data and not obsessively managing memory and worrying if enough is allocated here or there. that's where libraries like numpy come in - they leverage all the good parts of C (fast as fuck) and combine in with the good parts of python (dead simple to write)
Perl
>has a better syntax for an advanced user
That gets constantly abused to create messes like Rails 5. If you like every library incompatibly monkey patching core classes and constantly dynamically modifying ancestor chains then Ruby is definitely the language for you. There will be bugs everywhere and it will be impossible for the JIT to optimize anything but the code will be aesthetic!
Ansible, Saltstack and Docker are all far better options for provisioning. The Ruby based tools are all way too slow and, like Ruby, are dying.
Camel can eat a ruby and shit on snakes, 100% win
t. doesn't know either
>Ruby is dying
Nice meme.
Starbucks hipsters switching over to node doesn't mean anything. You probably believe Perl is dead too.
Actually I think Python is dying, but Ruby is decaying too. Perl 6 proved Perl is back and kills both.
Ansible and Docker are a lot better, I'll give you that.
That's not how things work. Why would Perl 6 change anything to Python and Ruby's respective (and pretty different) userbases? Especially for the latter, web developers won't use Perl anymore.
Also, the upcoming Rails update is probably going to make Ruby more popular than ever due to the added support of all the gimmicky JS shit.
>upcoming Rails update is probably
I think you may be a little biased, don't you think? Of course you get a loyal fanbase who refuse to use anything else and languages like Ruby and Python always had fans, but ultimately is about what things you can do, and Perl is advanced as elegant and even simple to start with.
>Rails update is probably going to make Ruby more popular than ever due to the added support of all the gimmicky JS shit
Won't happen. All they added was a very simple webpack config on top of the dog shit asset pipeline.
It's extremely obvious that Ruby is dying and there's only 2 Japs and 1 American even actively working on the primary Ruby implementation.
You are looking for a scripting language right?
If you use a Unix/Linux derivative you should consider Perl.
CPAN is great! and the integration with man awesome. Don't know how one library works just man [Module]
tooling x libraries x performance x community
answer these and the debate between ruby and python is pretty much over
>'t know how one library works just man [Module]
Nice, I wonder how good the integration with Pinto is.
perl 6 is DOA after being stuck in dev hell for a decade
>DOA
Think again because you're wrong.
Perl forever and ever
NodeJS and JavaScript. No reason to learn any of these obsolete dinosaur languages.
same with any other industries when they wanted result in a day or less
As for languages Python > *
Community Perl > *
where did all these perl shills come from, perl has never been more irrelevant, literally below shell and R on github
These aren't in OP's pic you illiterate morons
>implying that any of the ones in OP's pic are worth learning compared to JS, C# or Java
JavaScript can do everything, runs on every platform and has guaranteed relevancy for at least the next hundred years. If you're starting from zero, it would be retarded to go with Ruby, Perl or Python when you can just learn JS.
Are you retarded?
There is no reason to use Ruby, Perl or Python. None. JavaScript does everything they can do and is not going away for a very long time. And those other languages are all in decline.
To give at least one answer that's not "rails", I use ruby all the time for text processing. Its first-class regular expressions are indispensable. Basically, I use it like an easier perl.
>ruby's primary implementation will never improve
That's kind of a ridiculous assertion, given that it got a huge amount faster between 1.8, 1.9 and 2.0 (as much as 2x for every one of those releases). It could certainly get that much better again. In any case, it doesn't matter when I mostly use it for crunching text, as long as it's fast enough--which it is.
>I'm not sure how Python got so entrenched in data science. If I'm honest with you, I still prefer pure R to Python for data. R is built around the concept of dataframes, for example. Python has Pandas but it isn't a fundamental part of the language.
I'd imagine the combination of the ease-of-use that comes with Python and the speed advantages of C are probably the main reason.
python is growing surprisingly, not in a decline, despite the massive 2 to 3 shitshow and poor quality of cpython
>poor quality of cpython
This is why I tell anyone who thinks about donating to the PSF to donate to PyPy instead. Their 3.x implementation is no where near complete but it has major performance advantages over CPython.
Good. I love significant whitespace. It should be standard
this
who uses perl any more
are you the same guys still maintaining COBOL bank systems?
fuck, kill, marry
i like perl but it's so impure
fuck whoever came up with XS
>where did all these people using Perl come from
Who say we ever leave?
Python at a glance looks simple and psuedocode-like, but its really a language of ugly kludges. Ruby is a beautiful language to the core, its a language thats consistent at every level. You can learn Ruby at its deepest level right from the beginning because there are good books that teach it well so you will never ever have to go to stackoverflow to try and figure out why something is the way it is. Anyone who likes Python is a simpleton who probably learned the language from reading Zed Shaws print statement books.
That said, Julia is better than both Ruby and Python. It has syntax that is just as easy to understand as Ruby and Python but has much more powerful higher order functions.
I think its cute that Perl 6 is being memed in this thread, anyone who could look at the syntax of that language and seriously want to use it is insane:
my @array = 'a', 'b', 'c';
my $element = @array[1]; # $element equals 'b'
my @extract = @array[1]; # @extract equals ('b')
my @extract = @array[1, 2]; # @extract equals ('b', 'c')
>t. Pajeet
>Syntax: Ruby > Python >> Perl.
Ruby is the comfiest. I like Perl, but mostly due to nostalgia, it is a super ugly language.
>Libraries: Python > Ruby ~ Perl
Not 100% sure about this one, if anyone has more experience, please chime in. Perl has CPAN, Ruby has gems, both are huge, CPAN is older, though I'm not sure how active it is these days.
>Webdev: Ruby >= Python > Perl
Rails is easier and there's tons of webdev-related gems. Django is harder to grasp but it's more flexible. Perl has Catalyst (or CGI scripting if you're in a 90s mood).
>Text processing: Perl > Ruby > Python
This is where Perl shines.
>Documentation: Ruby >= Python > Perl
I love ruby-doc.org. Python docs are pretty good, too, but can be somewhat dense in my experience. Perl's docs are man-pages-tier, which is fine by me, but can be daunting at first.
Do you want a job? Ruby
Are you anal retentive? Python
Do you want to have fun while you program ? Perl
Hilarious yet true.
>Do you want a job? Ruby
>implying there aren't as many jobs (if not more) with Python
There are far more Python jobs than Ruby and Ruby is quickly declining and only used for CRUD Rails web apps.
Javascript doesn't even have Integers.
I am baffled by Python's popularity in data science. R has its built in data analysis features, Perl is great for text parsing, but Python provides nothing helpful. Python's interpreter can't even catch those variable name misspellings that the other languages can catch. Even Ruby would be better for data science since it handles functional programming in a sane manner and its only worthwhile implementation runs in the JVM; thus providing easy access to large numbers of excellent libraries.
>I am baffled by Python's popularity in data science.
Ease of use (Python) mixed with performance (C).
Ruby, Camel, python
python by far
> javascript
> guaranteed relevancy for at least the next hundred years
I give it 5 years after Webassembly is implemented that no-one will even remember Javascript.
>>Syntax: Ruby > Python >> Perl.
No.
Syntactic whitespace is an abomination.
This tbhfam
C
GUYS were is the web dev general??? i need it
I don't think you really understand whats intended for web assembly, namely the fact it is meant to compliment JS in the same way as native node modules compliment node apps. Nobody will be writing web apps in pure web assembly, namely because it won't have access to the DOM.
>Ruby is declining
Is this really true? Why?
Will it become worthless to employers?
It is russian propaganda
This. Java Script is most powerful programming language in the world.
That's not C.
61220995
Visual basic
golang
>govnocode
are there really that many Russians here? I see screen caps in Russian here some times.
Perl.
Ruby has no community and everything written in python is horrifying trash.
Perl is at least consistently (if confusingly written) bullshit
PHP
>Ruby has no community
The fuck are you talking about
besides your local San Francisco gay bar
>just out of curiosity, what do you use Ruby for?
As embedded interpreter. MRuby is better at this than CPython and there is no such thing as MPython.
>inb4 MicroPython
MicroPython is a mess for Arduino-like toys, not an equivalent to MRuby.
Now switch Python with Ruby and it is true. Not necessarily in the shithole you live, but where it's relevant.
You must have a small brain to think Python has better syntax than Ruby.
>t. Sup Forums fizzbuzz expert
Going to put in a good word for Ruby.
Ruby has many of the capabilities of Lisp, the regexps and sysadmin power of Perl, and a proper object oriented implementation like Smalltalk. It has great syntax and a lot of 'magic'.
E.g.
require8 'active_support/all'
new_time = 1.month.from_now
Ruby dying in web development is a meme. Most of the websites switching to Node or Elixir should've never been made with Rails in the first place. Rails is still the best for quickly developing complex websites that don't get Twitter-levels of requests.
Why not bash?
>implying you can learn anything from Zed Shaw
Дa
I'd say Python, but I'm not a Ruby developer.
The impression I get is that Ruby isn't nearly as popular any more and there are a lot fewer jobs, this wasn't the case half a decade ago but a lot has changed. I do full stack with Python; I didn't see a single ad for Ruby developers the last time I took a look at job postings. Ded lang?
Heaps of interest in Python, Django, Flask developers though.
Its a fantastic language as a first lang and it probably has the best community going right now. Really, I'd recommend it to anyone as a first language even if they never intended on using it as anything other than a tool to learn.
> Perl actually being fun.
Not when it is someone else's Perl code.
True in most cases, but from Perl 6 this is kind of not the case anymore
Ocaml for everything that you run as root. I've made the switch and don't regret it.
Ruby is a far better language, more fun to use, easier to extend with C/C++. It has gained a lot of traction in sysadmin/devops tools like Chef. Python has a bigger community, more libs especially for scientific data manipulation and probably has more jobs available. Perl is a lot of fun too but its usage is quickly declining.
If you're programming as a hobby for fun, definitely Ruby. I also don't get the mentality of some people in this board, where the only metric they use is which one has more job postings available. In that case you should just learn Java and forgot about everything else.
That's right, not C. JavaScript.
Reminder to use Pinto, the Perl module repository manager
Tcl/Tk