in reply to Re^3: hex numbers
in thread hex numbers
davido didn't say that: "This works but is NOT recommended, and can be unsafe", and at least to me it's obvious that this refers to what you said
Using string eval on a proper hex string constant can not be unsafe. While warning aubout string eval composed of user input or some such is appropriate, it is not for this construct. Warnings should be correct. Saying to a girl "if you kiss that boy you'll get pregnant!" is, albeit often turning out true in the long run, incorrect and misleading. Hence my comment.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: hex numbers
by dave_the_m (Monsignor) on Jan 14, 2021 at 19:06 UTC | |
by jcb (Parson) on Jan 15, 2021 at 02:34 UTC | |
by shmem (Chancellor) on Jan 14, 2021 at 19:58 UTC | |
|
Re^5: hex numbers
by haukex (Archbishop) on Jan 14, 2021 at 19:04 UTC |