v_melnik has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
Would you be so kind as to share your wisdom on the following question which doesn't let me sleep well for the last few hours:
How would you spell the package name for some instance that is being called maitre d'hotel?
String::CamelCase::camelize("maitre_d'hotel") translates it as MaitreD'Hotel, but using an apostrophe seems to be a pretty risky way. :-)
I have a couple of controversal optinions after some time of googling, so I'd be very grateful for any suggestions from you.
Loads of thanks to all of you in advance!
P.S. I'd prefer to stick with one of these options: MaitreDHotel and MaitredHotel, and MaitreDeHotel. What would you choose?
P.P.S. Couldn't resist to xpost it to StackOverflow, but it doesn't seem to be appropriate there, so maybe it will be removed by me or by the moderating team :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Camelizing a maitre d'Hotel
by LanX (Saint) on Feb 03, 2017 at 13:53 UTC | |
by v_melnik (Scribe) on Feb 03, 2017 at 15:12 UTC | |
by LanX (Saint) on Feb 03, 2017 at 15:36 UTC | |
by v_melnik (Scribe) on Feb 03, 2017 at 17:05 UTC | |
by Anonymous Monk on Feb 03, 2017 at 20:04 UTC | |
|
Re: Camelizing a maitre d'Hotel
by morgon (Priest) on Feb 03, 2017 at 15:21 UTC | |
by Laurent_R (Canon) on Feb 03, 2017 at 20:00 UTC | |
by Anonymous Monk on Feb 03, 2017 at 20:06 UTC | |
by Laurent_R (Canon) on Feb 03, 2017 at 20:24 UTC | |
by Anonymous Monk on Feb 03, 2017 at 20:42 UTC | |
| |
|
Re: Camelizing a maitre d'Hotel
by Anonymous Monk on Feb 03, 2017 at 20:11 UTC |