Click here to Skip to main content
15,179,670 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: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 14:37
mvahoney the codewitch23-Jun-21 14:37 
GeneralRe: I've been stuck for two days on nothing Pin
Super Lloyd23-Jun-21 15:52
MemberSuper Lloyd23-Jun-21 15:52 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 17:21
mvahoney the codewitch23-Jun-21 17:21 
GeneralRe: I've been stuck for two days on nothing Pin
Super Lloyd23-Jun-21 19:55
MemberSuper Lloyd23-Jun-21 19:55 
GeneralRe: I've been stuck for two days on nothing Pin
Kirk Wolak25-Jun-21 2:54
MemberKirk Wolak25-Jun-21 2:54 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch25-Jun-21 5:42
mvahoney the codewitch25-Jun-21 5:42 
GeneralRe: I've been stuck for two days on nothing Pin
PIEBALDconsult23-Jun-21 14:35
professionalPIEBALDconsult23-Jun-21 14:35 
GeneralRe: I've been stuck for two days on nothing Pin
Gary R. Wheeler23-Jun-21 14:53
MemberGary R. Wheeler23-Jun-21 14:53 
Something you mentioned earlier comes back to mind. Maybe changing your point of view is what's needed.

Switch over to writing a use-case for this API. What's the most useful behavior for what's being returned? If only one 'thing' can be active, and the returned item is no longer the active 'thing', then what about making the returned object read-only? You can return information from it that either doesn't require the active state, or is a copy of the last value held while the 'thing' was in the active state.
Software Zen: delete this;

GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 14:57
mvahoney the codewitch23-Jun-21 14:57 
GeneralRe: I've been stuck for two days on nothing Pin
Gary R. Wheeler23-Jun-21 15:09
MemberGary R. Wheeler23-Jun-21 15:09 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 15:23
mvahoney the codewitch23-Jun-21 15:23 
GeneralRe: I've been stuck for two days on nothing Pin
Marc Clifton23-Jun-21 16:54
mvaMarc Clifton23-Jun-21 16:54 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 17:22
mvahoney the codewitch23-Jun-21 17:22 
GeneralRe: I've been stuck for two days on nothing Pin
Greg Utas23-Jun-21 16:56
mveGreg Utas23-Jun-21 16:56 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 17:15
mvahoney the codewitch23-Jun-21 17:15 
GeneralRe: I've been stuck for two days on nothing Pin
NeverJustHere23-Jun-21 19:08
MemberNeverJustHere23-Jun-21 19:08 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 19:36
mvahoney the codewitch23-Jun-21 19:36 
GeneralRe: I've been stuck for two days on nothing Pin
NeverJustHere24-Jun-21 0:53
MemberNeverJustHere24-Jun-21 0:53 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch24-Jun-21 2:20
mvahoney the codewitch24-Jun-21 2:20 
GeneralRe: I've been stuck for two days on nothing Pin
ElectronProgrammer25-Jun-21 13:33
MemberElectronProgrammer25-Jun-21 13:33 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch25-Jun-21 16:21
mvahoney the codewitch25-Jun-21 16:21 
GeneralRe: I've been stuck for two days on nothing Pin
Greg Utas24-Jun-21 1:32
mveGreg Utas24-Jun-21 1:32 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch24-Jun-21 2:24
mvahoney the codewitch24-Jun-21 2:24 
GeneralRe: I've been stuck for two days on nothing Pin
Greg Utas24-Jun-21 2:41
mveGreg Utas24-Jun-21 2:41 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch24-Jun-21 2:51
mvahoney the codewitch24-Jun-21 2:51 

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.