|
ExcessBLarg! posted:"Cancel" is at least recognized as "don't proceed with any changes" and is (usually) a safe answer to any question about a potentially-dangerous operation. Unless that potentially dangerous operation is canceling something. carry on then posted:I never thought I'd hear an earnest argument against verb buttons but here we are. Verb buttons are great if you can specify what they say.
|
# ? May 5, 2015 21:51 |
|
|
# ? Jun 8, 2024 08:57 |
|
qntm posted:This is one of my minor UI irritations right now. Words like "OK", "Cancel", "Yes" and "No" are generally fairly neutral, but if you start getting creative then it does start tripping people up, as you mentioned, but it's also effectively putting words in the user's mouth, words that the user doesn't necessarily want there. Google seems to have made a global habit out of putting "Got it" instead of "OK" on all of their acknowledgement buttons, which irks me because "Got it" simply is not me. At least there's no more "not now".
|
# ? May 5, 2015 21:53 |
|
A minor horror but still an example of silly. Found a varchar field called 'enabled' in a table. I noticed all the code checking it always checked for an 'n' value. Looked up the table - the only values are null and 'n'. Genius. Ok, whatever, I'll fix it. "Hey, I'm going to change this to a boolean instead." No, just rename it to 'disabled' and set all the 'n' to 'y'. "What? Why?" Then you can just check if 'disabled ISNULL' instead.
|
# ? May 5, 2015 22:47 |
|
IT BEGINS posted:A minor horror but still an example of silly. Why were you fixing it? If it wasn't causing any problems other than being doofy, why kick the turd?
|
# ? May 5, 2015 22:58 |
|
Bognar posted:Unless that potentially dangerous operation is canceling something. Cases where "cancel" results in a destructive, unrecoverable operation, are even worse than "Yes"/"No".
|
# ? May 5, 2015 23:05 |
|
LeftistMuslimObama posted:Why were you fixing it? If it wasn't causing any problems other than being doofy, why kick the turd? It's not particularly offensive, but we're adding a new feature to this code so we were having to move this stuff around anyway. 'enabled ISNULL' was making things unclear, as well as a few repeated nullchecks for "$enabled != 'n'". You might be right, and I'm not changing it yet. Just amused that the response was 'yeah do this other stupid thing instead'.
|
# ? May 5, 2015 23:09 |
|
lord funk posted:It belongs in this thread because it really is a coding horror to see three paragraphs of dialog alert text with [YES] [NO] at the bottom of it, and every developer should know that. Unless the text says something like "do you want to cancel ..." and one of the options is 'cancel' (which is supposed to prevent the cancel). That can be really confusing, especially if the wording isn't perfect and/or the other button says something equally ambiguous.
|
# ? May 6, 2015 00:26 |
|
IT BEGINS posted:It's not particularly offensive, but we're adding a new feature to this code so we were having to move this stuff around anyway. 'enabled ISNULL' was making things unclear, as well as a few repeated nullchecks for "$enabled != 'n'". Think about it this way: if you make it a boolean, then it can only ever have two values (should be not nullable, of course). If you keep it varchar, then you have TRUE, FALSE and FileNotFound at a later date. What can be more beautiful than that? If it's limited to only one char in length, then you will be limited to 26 states, hopefully you can manage that.
|
# ? May 6, 2015 00:26 |
|
Kilson posted:Unless the text says something like "do you want to cancel ..." and one of the options is 'cancel' (which is supposed to prevent the cancel). That can be really confusing, especially if the wording isn't perfect and/or the other button says something equally ambiguous. Are you sure you want to cancel? Cancel | Continue
|
# ? May 6, 2015 00:33 |
|
Dr. Stab posted:Are you sure you want to cancel? If the order of the buttons were flipped this would be fine, since you should also follow the convention that the operation being confirmed will happen when pressing the rightmost button.
|
# ? May 6, 2015 00:46 |
|
IT BEGINS posted:It's not particularly offensive, but we're adding a new feature to this code so we were having to move this stuff around anyway. 'enabled ISNULL' was making things unclear, as well as a few repeated nullchecks for "$enabled != 'n'". Have you posted any of this to The Daily WTF yet?
|
# ? May 6, 2015 01:11 |
|
Are you sure you want to cancel your order? Cancel / Yes
|
# ? May 6, 2015 01:26 |
|
Volguus posted:Think about it this way: if you make it a boolean, then it can only ever have two values (should be not nullable, of course). If you keep it varchar, then you have TRUE, FALSE and FileNotFound at a later date. What can be more beautiful than that? If it's limited to only one char in length, then you will be limited to 26 states, hopefully you can manage that. 26 letters, 10 numbers, various symbols and of course you can always turn on case-sensitivity for that extra reach around.
|
# ? May 6, 2015 02:58 |
|
Volguus posted:Think about it this way: if you make it a boolean, then it can only ever have two values (should be not nullable, of course). If you keep it varchar, then you have TRUE, FALSE and FileNotFound at a later date. What can be more beautiful than that? If it's limited to only one char in length, then you will be limited to 26 states, hopefully you can manage that. I hope I'm just getting whooshed here. Leaving it alone is one thing. Planning to make it worse is another.
|
# ? May 6, 2015 03:49 |
|
code:
|
# ? May 6, 2015 07:01 |
|
TheresaJayne posted:
Aardvark
|
# ? May 6, 2015 07:06 |
|
you click the x button in the upper right
|
# ? May 6, 2015 08:03 |
|
qntm posted:This is one of my minor UI irritations right now. Words like "OK", "Cancel", "Yes" and "No" are generally fairly neutral, but if you start getting creative then it does start tripping people up, as you mentioned, but it's also effectively putting words in the user's mouth, words that the user doesn't necessarily want there. Google seems to have made a global habit out of putting "Got it" instead of "OK" on all of their acknowledgement buttons, which irks me because "Got it" simply is not me. This, It feels like the programmers are trying to be "hip" and "cool" and failing miserably. SharePoint 2013 has this quite a lot and it is pretty annoying.
|
# ? May 6, 2015 08:15 |
|
Suspicious Dish posted:you click the x button in the upper right in a window that is made of nothing but x buttons
|
# ? May 6, 2015 09:11 |
|
Mr Shiny Pants posted:This, It feels like the programmers are trying to be "hip" and "cool" and failing miserably. SharePoint 2013 has this quite a lot and it is pretty annoying. I wouldn't pin the blame on the programmers, they probably just want to dump a stacktrace on the dialog and use the default "OK" button.
|
# ? May 6, 2015 09:46 |
|
I still feel that Windows 7 (maybe Vista and XP too?) nailed the tone in error messages. Windows 9x used the phrasing "illegal operation" which, while technically correct, freaked out non-nerds. Windows 8 has a giant ":(" when it bluescreens, which might as well be a giant ASCII middle finger.
|
# ? May 6, 2015 09:50 |
|
Mr Shiny Pants posted:This, It feels like the programmers are trying to be "hip" and "cool" and failing miserably. SharePoint 2013 has this quite a lot and it is pretty annoying. If only that was the worst part of SharePoint we would be living in a utopia.
|
# ? May 6, 2015 10:07 |
|
Wheany posted:Windows 8 has a giant "" when it bluescreens, which might as well be a giant ASCII middle finger.
|
# ? May 6, 2015 10:33 |
|
SupSuper posted:At least it has error codes you can actually Google. well i play minecraft and someone was killed by an item in the game and the response was hillarious it posted in general chat java.Exception.DivideByDiamond.
|
# ? May 6, 2015 12:31 |
|
LeftistMuslimObama posted:I hope I'm just getting whooshed here. Leaving it alone is one thing. Planning to make it worse is another. http://thedailywtf.com/articles/What_Is_Truth_0x3f_ posted:enum Bool
|
# ? May 6, 2015 14:17 |
|
LeftistMuslimObama posted:I hope I'm just getting whooshed here. Leaving it alone is one thing. Planning to make it worse is another. http://en.m.wikipedia.org/wiki/Three-valued_logic
|
# ? May 6, 2015 14:46 |
|
Just need to increase user knowledge so that they know how to mentally escalate a confusing prompt to the next escape option. Click X Hit Escape Ctrl+C Alt+F4 Command+Q Ctrl+Shift+Break Ctrl+Alt+Del Press reset Hold Down the power button Un plug Kill self
|
# ? May 6, 2015 14:53 |
|
code:
|
# ? May 6, 2015 14:57 |
|
Blotto Skorzany posted:
Opening brace wastefully on its own line, lack of trailing comma on last enum entry resulting in spurious diff lines? Terrible.
|
# ? May 6, 2015 15:57 |
|
It's copied from a C#-centric site where wonky brace and indent styles are prevalent. I certainly wasn't going to sully myself cleaning it up.
|
# ? May 6, 2015 16:02 |
|
sarehu posted:Opening brace wastefully on its own line, lack of trailing comma on last enum entry resulting in spurious diff lines? Terrible. People have actually questioned my use of "always put a trailing comma". The true and rare coding horror of advocacy of eliding optional syntax.
|
# ? May 6, 2015 17:28 |
|
Hughlander posted:
Amateurs. IEEE 1164 posted:The primary data type std_ulogic (standard unresolved logic) consists of nine character literals in the following order:
|
# ? May 6, 2015 18:49 |
|
*huff, puff* Is this where the indentation and braces style debate is happening? I'm not late, am I?
|
# ? May 6, 2015 18:53 |
|
Dessert Rose posted:*huff, puff* Is this where the indentation and braces style debate is happening? I'm not late, am I? *Ahem* The way you do it is stupid and wrong, you piece of poo poo.
|
# ? May 6, 2015 19:17 |
|
Zopotantor posted:Amateurs. Psh, nobody needs more than 0/1/X/Z unless you're doing full blown GLS. That'll help you figure out what wand is broken.
|
# ? May 6, 2015 19:22 |
|
John Big Booty posted:You're just in time! Python.
|
# ? May 6, 2015 19:46 |
|
xzzy posted:Python. Oh cool, how do you prefer to do your braces and indentation for multiline dict/set literals and comprehensions?
|
# ? May 6, 2015 19:49 |
|
xzzy posted:Python. Anybody remember the transputer?
|
# ? May 6, 2015 19:54 |
|
xzzy posted:Python. 4 spaces > tabs
|
# ? May 6, 2015 19:55 |
|
|
# ? Jun 8, 2024 08:57 |
|
Soricidus posted:Oh cool, how do you prefer to do your braces and indentation for multiline dict/set literals and comprehensions? I.. I..
|
# ? May 6, 2015 19:58 |