[deleted]
Recent Actions
-
Commented on My take on Modern Perl
What a wonderfully documented language ! Reini Urban wrote : > Optional strong typing (what I plan to do in the near future) > Dealing with dynamic types in e.g. for map or sort will not be done with typed...
-
Posted Perl is not a multi-paradigm language to [deleted]
Perl is a dialecting programming language.
A dialecticing language is a super-set of a multi-paradigm language. Lisp is another dialecting language.
Unlike lisp, where everything looks like an s-exp, a Perl dialect will look ridiculously different from Perl.
Officially, I …
-
Commented on New "dot" feature
wicked !...
-
Commented on Why I dislike frameworks
I don't really have an opinion since i have not used them. But if the following apply to them, 1) They are not frameworks that dictate the program flow, but they are facad's s that _simply_ your workflow. 2) They...
-
Posted Different things should look different is not a natural language principle. to [deleted]
TL;DR version
Perl is inspired from english fucking grammar, *not* english fucking language.You see what Ich did there ? I used the word "fucking" two times. In both instances, I placed it between two different words. The communi…
-
Posted Why I dislike frameworks to [deleted]
Frameworks are like declarative programming systems built over a language. They are not general, and they don't always tell you this, which is _clever marketing_ on their parts.
I have been burned by _clever marketing_ enough number of times so as to hate them.
Declarative systems …
-
Commented on Perl Trolls
ok, here is an example ... sunshine-x posted an outdated perl code. In fact it is so outdated I think it is from the original(perl4) camel book. The fact that he had this in text form makes him an _elephant...
-
Commented on Perl Trolls
@tempire > The problem is that n00bs tend to think the loudest voice is the correct one I certainly have been guilty of it sometimes. @Mithaldu > ... Thus, by letting their posts stand uncommented, they will form public opinion...
-
Posted Perl Trolls to [deleted]
Perl is from the days of usenet. I have no experience of usenet, but I understand that the troll phenomenon originated there.
From the comments on Perl tutorials suck, one can clearly identify the ="http://community.livejourn…
-
Posted RIP John McCarthy to [deleted]
What a sad month.
I often forget how young the field of computing is. Computers are everywhere and it is difficult to imagine a world without them.
Computers, embedded in robotic machinery or general are so darn useful.
X They rep…
-
Commented on What do we, Perl programmers, want?
I would like blogs.perl.org, to be out of beta...
-
Commented on Subtle advantage of @_ ?
> But that’s only simpler from the point of view of perl, but not that of Perl code. True. I missed that. > ... Instead of writing several candidate methods with different signatures and letting the dispatcher pick one of...
-
Posted Subtle advantage of @_ ? to [deleted]
It eliminates method polymorphism.
Makes it simple for over-riding inherited method, as there is only one method.
Now that makes Liskov Substituion simpler to implement. -
Commented on On "Communities" In General and Modern::Perl
It just struck me today. Perl along with its older brothers C(every embedded device out there) and C++(games) are never discussed much on the blogs. Even eterprisy java, has a rather small voice in the public websphere(reddit,hacker news) Most blogs...
-
Commented on On the object metaphor
@mrstlee From the way I see it, OOP is not a hammer. It's just one of the tools to tackle code base. To make an entire code base switchless, might actually obfuscate it ! When I made the analogy with...
-
Commented on On the object metaphor
Awesome explanation ! just like structural programming improved over goto, OOP improves over switch ! I think I am going to call OOP, switchless programming from now on :P > ... should not expect a different number, order or meaning...
- Posted On "Communities" In General and Modern::Perl to [deleted]
-
Commented on On the object metaphor
@RonSavage The server metaphor will do too ! I guess I am just confused by the passive notion that the word "object" implies. The word "server" brings with it, words like "requests","services" which honestly seem obvious. Using the latest buzz...
-
Posted On the object metaphor to [deleted]
The field of computation has many many metaphors. Objects is one of them.
To be honest, I don't really understand object oriented programming. I understand procedural programming aka C.
Procedural programming is like treating your computer as a dumb assistant. You tell it _what to …
-
Posted RIP dmr :( to [deleted]
feeling: NULL;
my @arrays_hurt;
calling'all &{*pointers};
print "out loud";
"he is dead";segfault::the::airplanes;
void_the_system;
&mourn;"entropy sucks";
-
Commented on Various utilities
Links appear as text to me. Would be great if you can cover some use-cases. A good list http://news.ycombinator.com/item?id=2567186...
-
Commented on is a type system a hindrance to programming creatively ?
>Datatypes were invented by compiler writers to make their job easier. They do not make programming easier because people do not think in terms of datatypes. Very interesting, if not an extremist position :) > int iCount = 0; guilty...
-
Commented on How I learnt Perl despite the bad press
Hi Shlomi, Love your work ! I also hoped you would write a continuation to http://www.shlomifish.org/lecture/Perl/Haskell/slides/ I am still hoping :)...
-
Commented on is a type system a hindrance to programming creatively ?
I was thinking whether Haskell is an exception. I don't know it, so I can't compare. In a way, what I am speaking of, is whipuptitude. Scripting languages have it. Lisp has it. And I think being typeless(*no complains*) is...
-
Posted is a type system a hindrance to programming creatively ? to [deleted]
Just thinking out aloud, for the sake of clarity.
Consider music improvisation. Should a musician stop and restart because one tune was a bit off ?
(I am not talking about reproducing mozart here but improvisation i.e, coming up with new tunes, maybe even a mozart remix)
… -
Commented on How I learnt Perl despite the bad press
yikes .. I did not mean to publish this ... lots of mistakes and I wanted to add some examples *sigh* brian, there is nothing wrong with your answer. For Python or Ruby, the answers are usually just "yes! yes!...
-
Posted How I learnt Perl despite the bad press to [deleted]
By bad press I mean, "Perl is an unreadable language ... you should not use it"
I use perl for sys admin stuff and prototyping some pretty lame ideas.
some observations
For the beginners, perl on the tubes has two presses- perl is difficult to l…
-
Commented on My first post...
Hello there mr fly ! that's neat script https://github.com/ispyhumanfly/mp4_encoder.pl/blob/master/mp4_encoder.pl ^_^ (... silently goes and open's the console to wget ...)...
-
Posted Any advanced social networking site is indistinguishable from spam to [deleted]
Usenet
Email
BBS
Newsletters
Internet Forums
My Space
Blogspot -
Posted Why Perl ? to [deleted]
"Perl is, by and large, a digested and simplified version of Unix. Perl is the Cliff Notes of Unix" - Larry Wall
I could never really get myself to learn sed, awk, zsh, grep, find, m4, pipes, xargs, tee, cut, paste, yacc, lex, various IPC or even C for that matter. I ought to.
In …
Comment Threads
-
David Nichols commented on
My take on Modern Perl
great stuff - really happy to see you like qore.
BTW qore already has in svn now some major new optimizations for integer operations (mostly applied to local variables) and also "pseudo-methods" which are pretty cool - these are class-type methods that can be executed on any value, whereas the "pseudo-class" depends on the value type - for example there are now methods like
bool ::empty() {}
*string ::firstKey() {}
int ::typeCode() {}
...pseudo-classes are in a (relatively flat) hierarchy - all pseudo-classes inherit from ....
the se…
-
David Nichols commented on
My take on Modern Perl
oops - I should have previewed my post - it really looks awful it turns out -also of course there is no bool::empty() pseudo-method... anyway
-
mugwump commented on
My take on Modern Perl
Far better than duck typing (at least as implemented in most languages) is what happens using, eg templates in C++. Because C++ is compiling, it will expand out those types in all the functions where they are used - and check that there is a typesafe match with the object type being passed and the method being called.
"Interfaces" and "Roles" are almost as good, but they still require that the class in question implements the role as passed.
I did recently see a language where you specified what a role means, and then any class which implements a definition in line with that…
-
Reini Urban commented on
My take on Modern Perl
LeoNerd: You still haven't got it.
I will provide *optional* ways to cut off generic types.
The user or library author can decide by themselves that certain data will be typed. And get safety, speed and less size for it. There is no need everything must be generic, there should be a way to enable programmers to restrict their data.
You leave the type off, and then you can overload or tie or upgrade it to your wish.In lisp this optional typing is done with "(the type what)" http://www.cs.cmu.…
-
David Nichols commented on
My take on Modern Perl
Reini, could you please tell me what channels are in this context (the technical idea behind this concept)?
Qore uses lightweight web service protocols for communication - different from IPC because the 2 communicating parties don't have to be on the same system. One big drawback is that so far I don't have any way of serializing objects over these protocols. The protocols supported so far are XML-RPC, JSON-RPC, and, by far my favorite, proprietary YAML-RPC (because AFAIK there is no real standard for this yet).
In a single process, threads will typically use Queue objects …
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.