Click here to Skip to main content
15,860,859 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: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 14:50
professionalBillWoodruff12-May-21 14:50 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch12-May-21 14:58
mvahoney the codewitch12-May-21 14:58 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 17:07
professionalBillWoodruff12-May-21 17:07 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch12-May-21 18:23
mvahoney the codewitch12-May-21 18:23 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 22:13
professionalBillWoodruff12-May-21 22:13 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch12-May-21 23:27
mvahoney the codewitch12-May-21 23:27 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff13-May-21 0:06
professionalBillWoodruff13-May-21 0:06 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch13-May-21 0:14
mvahoney the codewitch13-May-21 0:14 
Ah, I see what you're saying.

It's not really gnarly. Consider that when you need to edit a value you will have to resort the set anyway no matter how you slice it. And when you remove and readd there will never be a new allocation because you just had a free slot, so it's almost instant aside from the sort which had to happen anyway.

If your actual problem with it is it *looks* ugly, write an extension method I guess but it will just turn two lines of code into one.
Real programmers use butterflies

GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff13-May-21 20:26
professionalBillWoodruff13-May-21 20:26 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch13-May-21 23:47
mvahoney the codewitch13-May-21 23:47 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff14-May-21 1:19
professionalBillWoodruff14-May-21 1:19 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch14-May-21 1:41
mvahoney the codewitch14-May-21 1:41 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff14-May-21 15:28
professionalBillWoodruff14-May-21 15:28 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
Rich Leyshon12-May-21 3:17
Rich Leyshon12-May-21 3:17 
JokeRe: a new word for the special kind of chagrin you experience when ... Pin
W Balboos, GHB12-May-21 5:57
W Balboos, GHB12-May-21 5:57 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
Chris Maunder12-May-21 6:13
cofounderChris Maunder12-May-21 6:13 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 15:00
professionalBillWoodruff12-May-21 15:00 
JokeRe: a new word for the special kind of chagrin you experience when ... Pin
Daniel Pfeffer12-May-21 6:20
professionalDaniel Pfeffer12-May-21 6:20 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 14:53
professionalBillWoodruff12-May-21 14:53 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
obermd13-May-21 4:33
obermd13-May-21 4:33 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff13-May-21 20:20
professionalBillWoodruff13-May-21 20:20 
GeneralIf you like Computer History Pin
raddevus12-May-21 2:55
mvaraddevus12-May-21 2:55 
GeneralRe: If you like Computer History Pin
honey the codewitch12-May-21 3:12
mvahoney the codewitch12-May-21 3:12 
GeneralRe: If you like Computer History Pin
raddevus12-May-21 3:56
mvaraddevus12-May-21 3:56 
GeneralRe: If you like Computer History Pin
honey the codewitch12-May-21 3:59
mvahoney the codewitch12-May-21 3:59 

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.