59
you are viewing a single comment's thread
view the rest of the comments
[-] conciselyverbose@kbin.social 2 points 2 years ago

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@lemmy.sdf.org 2 points 2 years ago* (last edited 2 years ago)

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

[-] PlexSheep@feddit.de 0 points 2 years ago
[-] conciselyverbose@kbin.social 0 points 2 years ago

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@lemmy.sdf.org 2 points 2 years ago
[-] LukeChriswalker@feddit.de 3 points 2 years ago

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

[-] Perry@kbin.social 0 points 2 years ago

As long as it's not literally a toggle that you can interact with.

I can only imagine the horrors of accidentally clicking in the editor while selecting some text and quietly changing certificateIsValid = false; to true or something like that.

[-] Maven@lemmy.sdf.org 2 points 2 years ago

Nah, make it a keybind like alt-shift-click and give it a deafening sound like throwing an industrial breaker.

this post was submitted on 21 Jun 2023
59 points (96.8% liked)

Programmer Humor

40875 readers
56 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS