JSens1998,

It looks neat, but I think I’ll keep my true and false. I don’t like chhannngggeeee!

fibojoly,

I can’t tell if it’s a parody or an actual genius idea.

GlitchyDigiBun,

I would like to see the debugger give a list of all these boolean values and watch them toggle in real time. That would be far more useful.

sebastiancarlos,

fwiw I opened an issue on the vs code repo. It already got a downvote and the issue was reassigned from one maintainer to another. Popcorn is tightly secured.

GlitchyDigiBun,

Eh, I’ll stick with C# slowly becoming more and more syntax-redundant like all the other OOPLs :'(

Henrik,

Previously I was able to search for “true” and “false” in my codebase. How do I do that now? VS Code has a new search interface specifically for toggles. It’s closed by default, but you can open it by clicking the “Toggle Search Toggle” toggle.

Yo dawg, I heard you liked toggles so we gave you a toggle to search for toggles in your toggle

Also, the section defining behaviour for null and undefined values are kind of bonkers.

Buuut, a nice visual nonetheless. I don't see myself using it though.

conciselyverbose,

I, uh, actually kind of like the idea. If you just visually converted primitives to a toggle after you type true/false, and let you delete it like any other text, it could be a small convenience on any flags you might change during the development process.

sebastiancarlos,

I mean this as a joke but you might be right. A quick search suggests that no one implemented something like this yet.

PlexSheep,
@PlexSheep@feddit.de avatar

As a visual indicator, sure.

conciselyverbose,

Oh, I could easily see a trainwreck of an implementation. But if this was just a display option like color coding keywords and variables, but you could click to change the underlying true/false? I might add it.

sebastiancarlos,

More technical details in the full article ;)

LukeChriswalker,
@LukeChriswalker@feddit.de avatar

Beatiful. Magnificent indeed

To actual posisble implementations, it'd actually be interesting as an indicator next to the bool to make it easier to see when debugging

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines