I remember being impressed with Ada because you could write an infinite loop without a faked up condition. The idea being that in Ada the typical infinite loop would normally be terminated by detonation.--Larry Wall
quamaretto
@quamaretto
Best posts made by quamaretto
-
RE: Game Loops
Latest posts made by quamaretto
-
RE: Classic Java language WTF
I don't really know Java, but I would assume... That at 128, new objects are instantiated for each Integer while there are existing objects cached for a range up to 127?
-
RE: Is this monomorphism?
Hmm... -e is an operator, not a function. The guy could have created the function so that he could use it in later HOFs, but probably not. :)
I agree that the -e thing is weird. I personally think that Larry should have made an effort to eliminate every conceivable feature of Perl 5 that would leave a recognizable language, rather than throwing it away to make Perl 6. (This is somewhat the aim of use strict; but that won't eliminate any operators.)
-
RE: Is this monomorphism?
Every function call, class method call and instance method call gets arguments the same way: The array named _. If you simply don't know any Perl at all, yes, it's frequently easy not to know what's going on. (Okay; prototypes change this, but the use of them is not recommended and not really idiomatic.)
However, receiving arguments is almost totally idiomatic in code on CPAN: It's "my ($a, $b, $c) = @_;" or "my $a = shift". There's an infrequent exception of taking a list or dictionary of something in the parameters, and then the arguments are still just a freaking array that you turn into whatever you need.
(The first module I came to is http://search.cpan.org/src/MEWSOFT/Religion-Islam-PrayerTimes-1.02/lib/Religion/Islam/PrayerTimes.pm which is basically just as I described.)
-
RE: Rebellion Against Rebellion Against Advertising
@rbowes said:
This just in, changing the channel during commercials is now stealing.
News at 11.
That one's more a grim, oncoming reality than a joke.
-
Enterprise Manager Choices
Oh, Enterprise Manager, you cad.
See how it's giving me a choice of what to do? Good exception handling! Good catch. Here are my options:
1. Clicking Yes- this causes Enterprise Manager to try to reconnect to the database and then bring up the same question again.
2. Clicking No - this causes Enterprise Manager to try to reconnect to the database and then bring up the same question again.Did I mention this is a modal dialogue?
*Bang head*
Also, we're all locked out of source control because we forgot to actually buy a license for it.
-
RE: A perfectly acceptable software license
I would be careful... They could be using a very, very small font.
Or, you know, it says read the following license agreement carefully, so maybe you have to click "Next" to see the license agreement. (Ha ha only serious.)
-
RE: War on right clickers, tides have turned!
The most hilarious part of the site, to me, is still the Asian woman in the banner. What's she doing there? Is she smiling because she can't copy my content? Maybe she's smiling because she knows how to turn off Javascript. And also how, an inch below, there's a shitty low-quality picture of the author in contrast with ultra-quality Clip Art Woman who can't get my content. She wants it, but she can't have it. And in defeat, she just smiles at my ingenuity. I'm glad I bought Right Click Revenue - now Asian women will stare at me all the time.
(Not 30 seconds after writing this, I couldn't figure out why I wasn't able to vote on the thread.)
-
RE: Visual Studio 2005 WTF indeed....
This happens all the time in ASP.NET when you do something the web forms designer doesn't like, such as not inheriting directly from System.Web.UI.Page. The web forms designer uses the attribute metadata to support the web forms designer, and attributes aren't inherited, so when you don't inherit from System.Web.UI.Page directly you lose designer support.
The underlying WTF is the .NET platform. The platform designers missed the whole class on "why inheritance is useful" and invented vital class metadata that can't be inherited or directly copied.
-
RE: Game Loops
I remember being impressed with Ada because you could write an infinite loop without a faked up condition. The idea being that in Ada the typical infinite loop would normally be terminated by detonation.
--Larry Wall -
RE: More Network Admin Gold
@dcardani said:
His response was, "It's possible to program a Mac?"
I will treasure this forever. Thank you.