Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: encoding question

by Krambambuli (Curate)
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.


Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://840875]
[Discipulus]: ah i become monsignor the same day of sysadmin day
[marto]: not so great OS :P
Eily never heard of the movie "LanX"
[Eily]: the LanX OS either now that I think of it :P
[hippo]: Congratulations, Discipulus!
[Discipulus]: Satura Lanx was a latin genre of show
[Discipulus]: coming from the meaning of 'mixed dish'
[Discipulus]: thanks hippo! the hat you passed me was brand new and clean, thanks

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2017-07-28 10:01 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (426 votes). Check out past polls.