Live data from Hacker News

Ok-Cancel versus Cancel-Ok

factorio.com

41–50 of 286 posts

Re: Ok-Cancel versus Cancel-Ok

#43
Interestingly, Apple’s Human Interface Guidelines from the 80’s do not say the order must be Cancel—OK.

They say:

”In general, dialog boxes should be laid out with the most important information and controls at the top left, working down to the less important information, ending with the default button—the button most likely to be clicked—at the lower right”

So, there’s “in general”, and “most likely to be clicked”.

The first leaves wiggle room, and the latter opens the door for changing the order. They even almost give an example: an alert “Are you sure you want to erase all changes to your document?” with buttons “Erase” and “Don’t Erase”, in that order, with “Don’t Erase” being the default button.

I don’t remember ever seeing a dialog on a Mac in those years that had OK—Cancel, though (there were a few in the 90’s from bad ports)

Re: Ok-Cancel versus Cancel-Ok

#44
post #16
post #7

If it is matter of vote, I'd vote for Ok --> Cancel most of the time. My justification for this is to avoid accidentally going for Ok when what you want is Cancel...but this happens to be biased against left-handed people!

color cancel red. and never color an “ok” or “go” or any action other than cancel red. not even if your app’s color scheme is red. and don’t use both red and green. then just be consistent.

I would only color destructive actions red (and "positive" actions green). People tend to interpret red buttons as if they'll delete something, but "cancel" should usually be the option that doesn't change anything.

For example, if you have a dialog that lets you delete something or cancel, the "delete" button should be the red one (although delete/undo is a much better flow than delete/cancel: https://alistapart.com/article/neveruseawarning)

Re: Ok-Cancel versus Cancel-Ok

#45

Technically, they're both wrong. Button labels should be verbs. The Cancel - Open example from OS X is the right way to do a dialog box.

Not really, Ok can be a verb. You can “Ok” a change.

In English, you can verb any noun (https://en.wikipedia.org/wiki/Conversion_(word_formation)#Ve..., https://www.gocomics.com/calvinandhobbes/1993/01/25)

Re: Ok-Cancel versus Cancel-Ok

#46

Technically, they're both wrong. Button labels should be verbs. The Cancel - Open example from OS X is the right way to do a dialog box.

Not really, Ok can be a verb. You can “Ok” a change.

> Ok can be a verb

My gut feeling is that when written as a verb, it should always be the longer form, ex: "I will okay it, like I okayed the last one."

I believe it's from the same writing-sense that intuits "I have three main points" as superior to "I have 3 main points."

Re: Ok-Cancel versus Cancel-Ok

#47

> But little I knew, that this is actually specific to windows, and on Linux or macOS, the order is reversed Actually on Linux it depends on the toolkit and/or environment you are using and in this case it seems that GNOME/GTK is the odd one out. After doing some search, it looks like that every other toolkit and environment uses OK -> Cancel: http://ocsmag.com/wp-content/uploads/2015/02/plasma-krunner-... (KDE) http…

IIRC KDE (or was it Gnome) changes the order depending on whether it's a RTL or LTR locale.

Re: Ok-Cancel versus Cancel-Ok

#48
post #8

HN folks will appreciate the entire Factorio blog. They are super open about the design of their game and it's full of micro-postmortems. https://www.factorio.com/blog/ Also, if you're reading this, you are in a demographic that is likely to absolutely love Factorio. Go buy it, it's 20 eur/usd, you won't regret it. Some call it "Programming: The Game".

Oh, you will regret it. That’s like saying “Try heroin! You’ll absolutely love it.” Not technically wrong... (Edit: I’m joking. It’s a great game.)

But it's funny because it's true! Factorio is INCREDIBLY addictive, because it stimulates that excellent feeling you get from successfully writing and refactoring beautiful code.

Re: Ok-Cancel versus Cancel-Ok

#49

HN folks will appreciate the entire Factorio blog. They are super open about the design of their game and it's full of micro-postmortems. https://www.factorio.com/blog/ Also, if you're reading this, you are in a demographic that is likely to absolutely love Factorio. Go buy it, it's 20 eur/usd, you won't regret it. Some call it "Programming: The Game".

> Some call it "Programming: The Game".

I've heard it called Cracktorio.

But yes, I have seen a lot of concepts of programming in the game.

Re: Ok-Cancel versus Cancel-Ok

#50
post #37
post #20

Earlier quoted context omitted.

I was surprised at the minimum requirements. I don't know if I'm not up to date with current games, but from the style of it I thought it would be much lighter.

I haven't looked at them, but anything slightly modern should do. My laptop (5 years old), the desktops in school (2-3 years old), my girlfriend's laptop (3-4 years old), my cousin's laptop (another girl with a not-so-beefy laptop), and my brother's laptop all run it fine... Most of those don't even have dedicated GPU. Sure, once you go megabase scale, after a few hundred hours of playing, most hardware will lag a li…

It's like a pinball machine with 6,000,000 balls in play!
Post reply on HN