Penguin

Differences between version 16 and previous revision of WhyIHatePerl.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 16 Last edited on Saturday, September 11, 2004 4:14:30 pm by CraigBox Revert
Older page: version 15 Last edited on Friday, November 21, 2003 1:59:40 am by AristotlePagaltzis Revert
@@ -7,11 +7,11 @@
 In perl you're never sure the operator this person is using is. Perl has operators and variables names after almost every punctuation key on the keyboard. (Pop quiz: Which punctuation keys on a standard qwerty keyboard, *aren't* valid perl variable names?) 
  
 ''True, but you don't need to know or use these variables. Just because you *can*, doesn't mean you *should* :) $! is the string message for the last error, $@/$$/$% do things with references to those data types, $# is the length of a list, $^ is magic for which OS you're on, etc etc. But not knowing this doesn't make perl any harder to use. Most punctuation also does something in C -- you're just more used to them.'' 
  
-''Isn't this based on the assumption that "use" is only writing code? I would argue that since you (and others) will end up having to read, and interpret the code at some point, complex and obtuse constructs like this do make the language harder to use. Since they are there, they will be used, so you have to know them to be able to understand the code.'' -- StephenLewis  
+''Isn't this based on the assumption that "use" is only writing code? I would argue that since you (and others) will end up having to read, and interpret the code at some point, complex and obtuse constructs like this do make the language harder to use. Since they are there, they will be used, so you have to know them to be able to understand the code.'' -- Stephen Lewis  
  
-''Also, just to be pedantic, the node is WhyIHatePerl, not WhyCIsBetterThanPerl ;)'' --StephenLewis  
+''Also, just to be pedantic, the node is WhyIHatePerl, not WhyCIsBetterThanPerl ;)'' --Stephen Lewis  
  
 This was ment as a random rant, as someone asked me what I disliked about perl, so I thought I'd jot a few of them down. It's not ment to be a complete critism, most of it is mostly due to my not knowing the language properly. 
  
 The thing is in perl you *can* write nice and easy to read and maintain programs, however people don't. Sure ''I'' can avoid these things, but it doesn't help me when I'm trying to debug some body ''elses'' script. C uses a lot less punctuation than perl, this is easily proven by the fact that perl uses mostly the same punctuation as C, and then adds it's own ones :) I don't think C and Perl really should be compared. They are completely different problem domains. I've got a rant growing somewhere about C too :) Compared to python, perl looks like executable line noise.