Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: encoding question

by Krambambuli (Deacon)
on May 20, 2010 at 08:56 UTC ( #840875=note: print w/ replies, xml ) Need Help??


in reply to Re: encoding question
in thread encoding question

I don't really like that, sorry.

If someone else will have to look on the code, (and just let's suppose you'll have more such characters following each other in the source,... ), 'reading' what's supposed to be there will be a chore.

Instead, I'd emphasize in comments how the source code should be viewed _and_ what exactly should be seen.

Your solution makes it easier for the machines, but harder for humans.

I like it much more the other way round.


Krambambuli
---


Comment on Re^2: encoding question
Re^3: encoding question
by moritz (Cardinal) on May 20, 2010 at 09:00 UTC
    Instead, I'd emphasize in comments how the source code should be viewed

    Two forms of such "comments" can actually be readable by programs:

    # for perl: use utf8; # at the end, for my favourite editor: # vim: fileencoding=utf-8
    Perl 6 - links to (nearly) everything that is Perl 6.
Re^3: encoding question
by JavaFan (Canon) on May 20, 2010 at 13:38 UTC
    Your solution makes it easier for the machines
    But you aren't getting the correct results. And since there's an additional cut-and-paste step involved, it's hard to debug from a website how your source is encoded.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://840875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2014-12-21 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls