I know I haven't posted in a while, but i'll try and do so more often, if you all don't mind a slight my nerdy slant.
Anyways. Today's post is short and sweet. I LOVE RUBY. I REALLY HATE PERL. Ruby is what programming should be like. A program should focus on the algorithm of a program rather than syntax. A programmer should not spend two perl banging his or her head who their Perl program is working, only to find out later than you are just missing a "\" e.g.
hash(hateperl => @array) DOES BAD THINGS.
hash(hateperl => \@array) IS WHAT YOU WANT. WTF PERL. DIE.
So here to a toast to Ruby!
Also. I had to write a Ruby program that hits a SOAP Webservice. This is how easy it is:
require 'soap/wsdlDriver'
factory = SOAP::WSDLDriverFactory.new("some .wsdl field")
service = vendorRegDriver.create_rpc_driver
result = service.call_some_method
WAHBAM! AND YOU'RE DONE. I'm never going to by a future wife a perl necklace. I'm going for a ruby one all the way.

Recent Comments