Click here to Skip to main content
15,867,453 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: "Parenthetical Pluralization" Pin
dandy7227-Mar-23 6:31
dandy7227-Mar-23 6:31 
GeneralRe: "Parenthetical Pluralization" Pin
jmaida25-Mar-23 15:53
jmaida25-Mar-23 15:53 
GeneralRe: "Parenthetical Pluralization" Pin
kmoorevs26-Mar-23 4:59
kmoorevs26-Mar-23 4:59 
GeneralRe: "Parenthetical Pluralization" Pin
dandy7227-Mar-23 6:35
dandy7227-Mar-23 6:35 
GeneralRe: "Parenthetical Pluralization" Pin
jschell27-Mar-23 7:31
jschell27-Mar-23 7:31 
GeneralRe: "Parenthetical Pluralization" Pin
Gerry Schmitz26-Mar-23 9:22
mveGerry Schmitz26-Mar-23 9:22 
GeneralRe: "Parenthetical Pluralization" Pin
jschell26-Mar-23 9:27
jschell26-Mar-23 9:27 
GeneralRe: "Parenthetical Pluralization" Pin
englebart29-Mar-23 15:02
professionalenglebart29-Mar-23 15:02 
Maybe use regular expression suffixes?

Widget must select 1
Widget+ must select 1 or more
Widget* may select 0 or more
Widget? may select 0 or 1

Every coder will agree. Suffix should be added automatically based on setter methods argument.

0 maps to nullable type or List.

Widget -> setWidget(Widget w)

Widget+ -> setWidget(List<widget> list)

Widget* -> setWidget(List<widget>? list)

Widget? -> setWidget(Widget? w)

I would probably still pass an empty list to the * method over a null.

Widget spelling is start to look really weird after typing it so many times!

Good luck!
GeneralRe: "Parenthetical Pluralization" Pin
dandy7230-Mar-23 3:45
dandy7230-Mar-23 3:45 
JokeRe: "Parenthetical Pluralization" Pin
englebart30-Mar-23 6:51
professionalenglebart30-Mar-23 6:51 
GeneralOneDrive, AWS, Etc. Pin
Slow Eddie25-Mar-23 3:37
professionalSlow Eddie25-Mar-23 3:37 
GeneralRe: OneDrive, AWS, Etc. Pin
dandy7225-Mar-23 3:47
dandy7225-Mar-23 3:47 
GeneralRe: OneDrive, AWS, Etc. Pin
OriginalGriff25-Mar-23 4:06
mveOriginalGriff25-Mar-23 4:06 
GeneralRe: OneDrive, AWS, Etc. Pin
dandy7225-Mar-23 4:19
dandy7225-Mar-23 4:19 
GeneralRe: OneDrive, AWS, Etc. Pin
Mircea Neacsu25-Mar-23 4:21
Mircea Neacsu25-Mar-23 4:21 
GeneralRe: OneDrive, AWS, Etc. Pin
Mike Hankey25-Mar-23 4:29
mveMike Hankey25-Mar-23 4:29 
GeneralRe: OneDrive, AWS, Etc. Pin
PIEBALDconsult25-Mar-23 6:23
mvePIEBALDconsult25-Mar-23 6:23 
GeneralRe: OneDrive, AWS, Etc. Pin
Maximilien25-Mar-23 11:03
Maximilien25-Mar-23 11:03 
GeneralRe: OneDrive, AWS, Etc. Pin
peterkmx25-Mar-23 14:41
professionalpeterkmx25-Mar-23 14:41 
GeneralRe: OneDrive, AWS, Etc. Pin
Gerry Schmitz26-Mar-23 9:39
mveGerry Schmitz26-Mar-23 9:39 
GeneralRe: OneDrive, AWS, Etc. Pin
maze326-Mar-23 23:32
professionalmaze326-Mar-23 23:32 
GeneralRe: OneDrive, AWS, Etc. Pin
BryanFazekas27-Mar-23 1:33
BryanFazekas27-Mar-23 1:33 
GeneralRe: OneDrive, AWS, Etc. Pin
LucidDev27-Mar-23 6:52
LucidDev27-Mar-23 6:52 
GeneralRe: OneDrive, AWS, Etc. Pin
BryanFazekas27-Mar-23 7:29
BryanFazekas27-Mar-23 7:29 
GeneralOnline food delivery: substitutions can be ... unusual. Pin
OriginalGriff25-Mar-23 2:50
mveOriginalGriff25-Mar-23 2:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.