Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:Looked at it once (Score 1) 72

Last I checked Ruby execution was slow compared to Python. That, however, tells you where you shouldn't use it, not *that* you shouldn't use it. And Ruby can easily call C routines (with the usual caveats).

OTOH, in some task spaces, design in Ruby is fast compared to design in Python, and in almost all it's fast compared to design in C. (That said, I generally prefer to design in Python and then re-implement in C++.)

Comment Re:Of course! (Score 1) 72

Whether it's serious or not depends on what you're doing. For me it fails only because I require Doxygen compatibility. (Mind you, I would rarely choose to use *only* ruby, but for some things it would be the superior choice.)

OTOH, Ruby is not a low level choice. It's a slightly higher level than Python. And I often design things in Python and then convert them to C++ (with, of course, minor rewrites).

So, "What do you mean by 'serious'?".

Comment Re:Scala? (Score 1) 72

Modern C++ is a seriously powerful and fast - albeit perhaps too complicated - language without all the gotchas of older C++ and plain C.

Modern C++ didn't get rid of the gotchas, it just added more of them. It's fine if you're working by yourself, but you can't prescribe what features other people will use (including the writers of libraries you want to use). But old C++ was fine when working by yourself too.

Comment Re:Writer's Tricks (Score 2) 72

You can add types to your variables in Python. You can use typescript with Javascript.

You can also introspect your types in Ruby, so his point is moot.

There is also the question of why you would add type checking to a dynamic language: if you don't want a dynamic language, why did you choose one? But the reality is most of us don't choose languages anymore, we choose libraries and have to accept whatever language they are attached to.

Comment Re: Holup (Score 1) 128

A lot of lawyers prefer checks because a signed check is proof of intention. Not only is it signed, it often has a "reason" memo written.

This can also work in behalf of the person writing the check (in court). For example, if you pay your rent by check, the landlord shows the intent to accept it when they deposit the check. Whereas if you pay with direct deposit, the landlord can claim they had no intention to accept the money.

Slashdot Top Deals

"If you lived today as if it were your last, you'd buy up a box of rockets and fire them all off, wouldn't you?" -- Garrison Keillor

Working...