Slashdot Mirror


User: rffrff

rffrff's activity in the archive.

Stories
0
Comments
19
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 19

  1. Re:AOP has its uses (without going to production!) on Aspect-Oriented Programming Considered Harmful · · Score: 1

    let me understand: you're saying that you advocate usage of AOP because it allow you to: - enforce design decisions - detect design violations - define and enforce contracts - detect threading issues - get a sense of code coverage - turning stuff on and off at compile time So basically you're saying that Design by Contract is great but that instead of using Eiffel it is better to use a patented tool wich basically works as a preprocessor or as an ugly JVM hack ?

  2. Re:Article is FUD against Common Lisp which has AO on Aspect-Oriented Programming Considered Harmful · · Score: 1

    no it does not. The author of aspectJ is also the designer of the common lisp object system, but he enahanced it's initial ideas. That is the reason that AspectL exists.

  3. Re:Mojavi on Ruby On Rails Showdown with Java Spring/Hibernate · · Score: 1

    you mean people actually like php? ;)

  4. Re:Vs Psyco? on IronPython Moving Forward Again · · Score: 1

    would you mind telling us how well does it run on this platforms? IIRC iron python on .net is 1.8 times faster than CPython, and 1.3 times faster than CPython with mono on x86. How good is the performance on ppc wrt to CPython ? (I'm not sure if PyStone runs on ironpython, but that would be a simple number to read)

  5. Re:AEGIS!!! on BitMover Releases Open Source BitKeeper Client · · Score: 1

    too bad that you can't use it with open repository such as sf.net (cvs) berlios.de(svn), gna/savannah(arch).. I guess if an AegisRepository.net existed it would gain much more momentum

  6. Re:Native PHP-JSON data-converter classes on What is JSON, JSON-RPC and JSON-RPC-Java? · · Score: 1

    classes? there is a ruby *oneliner* to parse json (linked on the home page) ;) I bet is reproducible with php.

  7. Re:Use XUL instead of HTML? on Rolling With Ruby On Rails · · Score: 1

    well, you can spit out xml stuff using the xml builder stuff. people are actively using it to produce RSS ATOm and this kind of things, so probably you can use XUL code

  8. Re:Ruby on Rails is very good but... on Rolling With Ruby On Rails · · Score: 1

    actually there are guys that used openacs that switched, look out on google for theyr comments on this

  9. Re:But does it work on Windows? on RAD with Ruby · · Score: 1

    you could have even said "ruby + glade" the ruby-gnome2 project support Gtk and libglade on windows and they run quite fine.

  10. Re:Applicability to other forms of development on Holub on Patterns · · Score: 1

    and the funny thing is that the original OO patterns are 90% oneliners or simple language features of common lisp, or unneeded for some other reason. Go figure.

  11. Re:Not as fast as others though ... on Programming Ruby: The Pragmatic Programmers' Guide · · Score: 1

    and if you need number crunching in ruby you'd use the NArray library, as fast as octave, usually. But, hey, if you want fast cpde you'd use C and, ruby allows you to access C libraries withouth even writing C bindings, thanks to ruby/dl (integrated module to take advantage of platform specific dynamic loader)

  12. Re:Too many new languages at once... on Programming Ruby: The Pragmatic Programmers' Guide · · Score: 1

    myArrayOfValues.map {|x| x*2}.find_all {|x| x % 3 == 0} I'd do: ary.map {|x| x*2 if x %3==0}.compact

  13. Re:Tcl, but not Ruby... on Komodo 3.0 Released · · Score: 1

    well, but activestate owns the ActiveRuby and VisualRuby trademarks, so I think they'll produce ruby goodies sooner or later (hope sooner)

  14. Re:Why Perl is still the Regex king on PHP 5 Released; PHP Compiler, Too · · Score: 1

    well, it does handle utf-8 quite nicely:

    $KCODE is the character coding system Ruby handles.
    If the first character of $KCODE is `e' or `E', Ruby handles EUC.
    If it is `s' or `S', Ruby handles Shift_JIS.
    If it is `u' or `U', Ruby handles UTF-8.
    If it is `n' or `N',Ruby doesn't handle multi-byte characters.
    The default value is "NONE".

    I mean, matz is japanese and people wants to teach them how to handle kanji? :)

  15. Re:Can't get 'nuff Python! on Searching for the Best Scripting Language · · Score: 1

    You can take your message, remove this: "It's not as popular as Perl and not as new and trendy as Ruby, but it's a simple, no BS, get the job done, language." and replace 'python with ruby'. Yet, in ruby RE are implemented in the base language, and that means few less line of code. Basically ruby can do the perl stuff, and even the python stuff. And honestly when I need a quick and dirty solution I still use ruby. You better try it yourself, a good python programmer can know most of ruby in two days.

  16. Re:It's not the language it's the library. on Searching for the Best Scripting Language · · Score: 2, Informative

    You're right about docs and the fact that CPAN is more mature.

    You're wrong about the large library: what do you really need and could not find in ruby or python? Ask for it and probably you'll find that it exists.

    db access, pdf/xsl/OOo docs/svg creation, numerical stuff, GUI stuff, ssh/ssl/tsl stuff, smtp/imap/pop/nntp, web libs/templating, csv handling, xml/xsl/Schema/Relax-ng,YAML, SOAP,xmlrpc, Linda/tuplespace/remote objects access, TestUnit, optparse/getopt/GO::Declare.. I really don't have need for something else.

    And ruby has a way to install stuff automatically, it's called rubygems, and it interacts with rubyforge.org. It's a young project, but it's fully functional.

  17. This wa not meant to mean something on Searching for the Best Scripting Language · · Score: 1

    come on, Pixel (the author of merd) is a language geek. He has tons of stuff on his home about diferent features of different languages, and I don't think you should consider this biased. Simply put, this was just a research he did for fun, on the lines of the CRAPS system from doug's shootout, why the hell you're believing it means something ?

  18. Re:Hello world, 7 bytes on Searching for the Best Scripting Language · · Score: 1
    you can do the same in ruby in 4
    echo 'p $0' > 'Hello, World!'
    chmod +x 'Hello, World
  19. Re:It's not the language it's the library. on Searching for the Best Scripting Language · · Score: 1
    I can run a multithreaded webserver in ruby in one line too, and In python too. Cause even if the've not got CPAN they have lots of libraries anyway.

    download ruby >= 1.8 and you'll be able to do this out of the box:
    ruby -rwebrick -e 'WEBrick::HTTPServer.new(:Port=>8000,:DocumentRoot =>".").start'


    CPAN has lots of useful stuff, in a good format, but ruby and python hav modules for almost anything anyway, and they have great beatteries included.