this post was submitted on 21 Jun 2023
81 points (100.0% liked)
Programmer Humor
32495 readers
377 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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;
totrue
or something like that.Nah, make it a keybind like alt-shift-click and give it a deafening sound like throwing an industrial breaker.