Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Thx, St. Larry, for the Beauty of Sigils

by shmem (Chancellor)
on Jul 27, 2019 at 14:14 UTC ( [id://11103503]=note: print w/replies, xml ) Need Help??


in reply to Thx, St. Larry, for the Beauty of Sigils

I hate going to the inside and working my way out, trying to remember what I picked up along the way.

My first language was GFA-Basic on the Atari, and it also had sigils. You could see at a glance what kind of variables you were dealing with. Un-annotated identifiers always bothered me, be that C, python or even shell. That forces me to annotate the type in the identifier, such as int_foo or member_foo or func_foo. But what if int_foo by accident doesn't hold an integer, but a short? Well sometimes it blows, sometimes you get a warning. Unsure what is which? Open the header file, go figure. Try to remember everything, to avoid going to the inside and work your way out.

Sigils are the best invention after sliced bread (and beer¹).

¹) strictly speaking, beer is not an invention, but a creation: "on the 8th day, God created beer, and hath never been seen any more thereafter".

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found