Just another Perl shrine PerlMonks

### Re: When I see "10", I think:

by RichardK (Parson)
 on Feb 01, 2012 at 13:42 UTC ( #951220=note: print w/replies, xml ) Need Help??

in reply to When I see "10", I think:

16, which should have been an option IMHO ;)

Replies are listed 'Best First'.
Re^2: When I see "10", I think:
by Tux (Abbot) on Feb 02, 2012 at 20:32 UTC

Why not 8? Are we done with octal?

Enjoy, Have FUN! H.Merijn
Are we done with octal?

I've been done by octal too many times :)

I hate that most programming languages insist on interpreting numbers with leading xeros as octal.

Personally, I've never seen any utility in octal that wasn't better served by hex.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Using octal for 16-bit values is that it isolates bit 15 nicely.

```FFFF(hex) = 177777(oct)
8000(hex) = 100000(oct)
7FFF(hex) = 077777(oct)
0000(hex) = 000000(oct)
Re^2: When I see "10", I think:
by chacham (Prior) on Feb 01, 2012 at 23:32 UTC
And why didn't you comment on that before it became a poll? :)

Create A New User
Node Status?
node history
Node Type: note [id://951220]
help
Chatterbox?
 [karlgoethebier]: btw, a good day... marto waves

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-12-12 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
What programming language do you hate the most?

Results (330 votes). Check out past polls.

Notices?