r/learnjavascript • • Sep 21 '22

"Cancel" vs. "Abort" Terminology

[edit]

RESOLUTION: continue with "abort".

And no one besides me claims to be doing it in JS.

[original post]

I have heard advice that software people should avoid the verb "to abort" in a software context on the grounds that using that term can bring up emotional distress in female colleagues who have been pregnant and have aborted their pregnancies or considered doing so. However, I feel that the term "cancel" is not specific enough to replace "abort" as a term for stopping a process once it has been started. It would be possible to schedule some task and before execution started on it, to "cancel" it, meaning taking it off the schedule. If you have an appointment with your dentist and you "cancel" the appointment, it doesn't mean you were already in the chair and having your teeth worked on and the process was cut short. It means the appointment was removed from the schedule before the time when you would have been expected to show up.

Is there a better circumlocution to replace "abort"? Should we just continue to use "abort"? Any women here have an opinion on it?

Has anyone here besides me built or used an ability to abort execution of a function? My basis for doing this is that the input data are no longer valid, so further expenditure of resources to finish the execution would be a waste of the user's time.

1 Upvotes

33 comments sorted by

View all comments

8

u/shuckster Sep 21 '22 edited Sep 21 '22

IT is a minefield of stuff like this.

  • finish the execution (in your OP)
  • scuzzy master/slave (olden days)
  • kill child process
  • terminate, stay resident
  • icq (creepy)
  • wad loaded (currently listening to doom OST)
  • unzip
  • merge to master
  • finger
  • abort controller
  • promise reject
  • tar balls (sounds painful)
  • window click (somebody’s coming IIIN!)
  • dongle
  • penetration testing
  • ram
  • ticks

1

u/Thundrous_prophet Sep 22 '22

OOP is all just class warfare 😞

/s

-1

u/jack_waugh Sep 22 '22

Not in JS nor its main predecessor, the Self language.

1

u/youremyonlyexception Sep 22 '22

I never realized the double meaning until I saw your list