"I avoid using $_ and other magic variables "
Sometimes you can make your code more readable by just using it, e.g. in..... for @list;
constructs.
Or:
for ( $var ) {
s/..../.../g;
s/..../...../g;...
}
more readable compared to:
$var =~ s/..../.../g;
etc.
avoiding language constructs "just because" is always a bad idea.
Hear Hear.
Also Perl has some constructs in the langauge that require one to use a library in for example Java.
Many people complain about the regexp syntax. I have yet to find a language (not Perl related) that does it easier.
Funny, I just read 2 Python Books (one was Dive into Python), and am convinced that I have to read at least another (the library reference)
Maybe because I want to do some serious stuff with the language and reduce the number of wheel reinventions:-D.
Same holds for any language I have seen. Beginners often make a huge mess which is unreadable for more advanced programmers.
I have seen unreadable C, C++, Perl, PHP to name a few.
Perl is often unreadable for the same reason as PHP: people just download garbage programs, tweak it, and publish it. GIGO.
I prefer shows that you develop an intimate relationship with the characters
Yeah, that's what I like so much about Farscape:-D. I especially like John Crichton, he looks very convincing to me, as a person. The other characters I like a lot are Chiana, Aeryn and Rigel.
of the new cylons who are perfect human replicas
What? What? No more "By your command" in a metallic voice and those awesome lights, later stolen by Knightrider?
There goes another childhood miracle down the drain.
"parsing the "ptr == NULL" format requires a few microseconds of thought to figure out what you're doing. "!ptr" requires none."
Only if it's your own code. The former stands more out than the latter, it's easy to skip over the !, and read the entire if wrong. If you notice this, you skip back to the if and then see the !.
I love Perl's unless: unless ( ptr ) { }...
that reads way more easier compared to both forms IMNSHO.
Have a look at TortoiseSVN if you are running Windows, it works in explorer as a shell extension.
http://tortoisesvn.tigris.org/
Also, note that if you use TextPad as an editor it's a piece of cake to add Tools to TextPad that do things like Add, Commit etc.
Even the number of results doesn't matter, I get more hits from a first page position in Google with just a few thousand of results compared to a first page position with millions of results.
Good content brings good traffic. Most SEOs are too lazy to focus on content, and "steal" it. In the end you have many visitors, but they don't buy.
Meta data (keywords) are no longer used by serious SEs like Google.
For the rest, I agree in part. Picking a bad SEO company doesn't mean they don't work. But basic SEO can be done by everybody, just focus on the content. Keep your HTML logical, use CSS, pick good titles, and off you go.
Since that is what Google et are focussing on, or trying to. Don't go for the SEO trick of the day, since it will mean your site will drop when something changes.
My experience is: write content. Watching the SERPs, tweaking your pages constantly, and checking your PR is a waste of time if you do it all the time. Add pages, and focus on the content. If your visitors like your pages, you get more links, and in the end that works better than the hack of the week.
I am able to get 300+ visitors/day every month by just writing content. Other sites, blogs etc. link, my PageRank increases (currently 7). It goes more slow, but I am sure when Google tweaks its algorithm, I will keep my good position, or even go up a bit.
"I avoid using $_ and other magic variables " ..... for @list;
constructs.
Or:
for ( $var ) {
s/..../.../g;
s/..../...../g; ...
}
more readable compared to:
$var =~ s/..../.../g;
etc.
avoiding language constructs "just because" is always a bad idea.
Sometimes you can make your code more readable by just using it, e.g. in
Hear Hear. Also Perl has some constructs in the langauge that require one to use a library in for example Java. Many people complain about the regexp syntax. I have yet to find a language (not Perl related) that does it easier.
Funny, I just read 2 Python Books (one was Dive into Python), and am convinced that I have to read at least another (the library reference) Maybe because I want to do some serious stuff with the language and reduce the number of wheel reinventions :-D.
Same holds for any language I have seen. Beginners often make a huge mess which is unreadable for more advanced programmers. I have seen unreadable C, C++, Perl, PHP to name a few. Perl is often unreadable for the same reason as PHP: people just download garbage programs, tweak it, and publish it. GIGO.
See http://johnbokma.com/perl/ for some small Google API examples using Perl. Although I miss some things, like the calculator, etc.
NCSA httpd webserver. Remember compiling and running it on an Indigo R3K. That probably makes me old :-D.
How does the series compare to series like Farscape and Babylon 5? To me, Farscape is still the best SF series I ever saw.
of the new cylons who are perfect human replicas What? What? No more "By your command" in a metallic voice and those awesome lights, later stolen by Knightrider? There goes another childhood miracle down the drain.
"parsing the "ptr == NULL" format requires a few microseconds of thought to figure out what you're doing. "!ptr" requires none." Only if it's your own code. The former stands more out than the latter, it's easy to skip over the !, and read the entire if wrong. If you notice this, you skip back to the if and then see the !. I love Perl's unless: unless ( ptr ) { } ...
that reads way more easier compared to both forms IMNSHO.
If it doesn't work fast enough it's often cheaper to buy faster hardware.
Have a look at TortoiseSVN if you are running Windows, it works in explorer as a shell extension. http://tortoisesvn.tigris.org/ Also, note that if you use TextPad as an editor it's a piece of cake to add Tools to TextPad that do things like Add, Commit etc.
Even the number of results doesn't matter, I get more hits from a first page position in Google with just a few thousand of results compared to a first page position with millions of results. Good content brings good traffic. Most SEOs are too lazy to focus on content, and "steal" it. In the end you have many visitors, but they don't buy.
Since that is what Google et are focussing on, or trying to. Don't go for the SEO trick of the day, since it will mean your site will drop when something changes. My experience is: write content. Watching the SERPs, tweaking your pages constantly, and checking your PR is a waste of time if you do it all the time. Add pages, and focus on the content. If your visitors like your pages, you get more links, and in the end that works better than the hack of the week. I am able to get 300+ visitors/day every month by just writing content. Other sites, blogs etc. link, my PageRank increases (currently 7). It goes more slow, but I am sure when Google tweaks its algorithm, I will keep my good position, or even go up a bit.
Let them fine google.no next: http://www.google.no/search?hl=no&q=inurl%3A%22o%2 7reilly%22+filetype%3Apdf&btnG=S%C3%B8k&meta=
Print a bigger member today...
see http://johnbokma.com/perl/google-suggest.html
ZX Spectrum BASIC :-)
Java, Perl, even C
Amen! PHP is the worst language I have ever worked with. Even ZX Spectrum BASIC is more superior ;-)
Couldn't email you, but foreach can be written as for, and do you need the side effects of & for the sub calls? Otherwise that one can be dropped too.