Upgrade paths

After I jotted down some quick thoughts last week on the disastrous way that Google Chrome rolled out a breaking change, others have posted more measured and incisive takes:

Chris Ferdinandi wrote Google vs. the web,
Rich Harris wrote Stay alert,
C…


This content originally appeared on Adactio: Journal and was authored by Adactio: Journal

After I jotted down some quick thoughts last week on the disastrous way that Google Chrome rolled out a breaking change, others have posted more measured and incisive takes:

In fairness to Google, the Chrome team is receiving the brunt of the criticism because they were the first movers. Mozilla and Apple are on baord with making the same breaking change, but Google is taking the lead on this.

As I said in my piece, my issue was less to do with whether confirm(), prompt(), and alert() should be deprecated but more to do with how it was done, and the woeful lack of communication.

Thinking about it some more, I realised that what bothered me was the lack of an upgrade path. Considering that dialog is nowhere near ready for use, it seems awfully cart-before-horse-putting to first remove a feature and then figure out a replacement.

I was chatting to Amber recently and realised that there was a very different example of a feature being deprecated in web browsers…

We were talking about the KeyboardEvent.keycode property. Did you get the memo that it’s deprecated?

But fear not! You can use the KeyboardEvent.code property instead. It’s much nicer to use too. You don’t need to look up a table of numbers to figure out how to refer to a specific key on the keyboard—you use its actual value instead.

So the way that change was communicated was:

Hey, you really shouldn’t use the keycode property. Here’s a better alternative.

But with the more recently change, the communication was more like:

Hey, you really shouldn’t use confirm(), prompt(), or alert(). So go fuck yourself.


This content originally appeared on Adactio: Journal and was authored by Adactio: Journal


Print Share Comment Cite Upload Translate Updates
APA

Adactio: Journal | Sciencx (2021-08-16T14:46:14+00:00) Upgrade paths. Retrieved from https://www.scien.cx/2021/08/16/upgrade-paths/

MLA
" » Upgrade paths." Adactio: Journal | Sciencx - Monday August 16, 2021, https://www.scien.cx/2021/08/16/upgrade-paths/
HARVARD
Adactio: Journal | Sciencx Monday August 16, 2021 » Upgrade paths., viewed ,<https://www.scien.cx/2021/08/16/upgrade-paths/>
VANCOUVER
Adactio: Journal | Sciencx - » Upgrade paths. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/08/16/upgrade-paths/
CHICAGO
" » Upgrade paths." Adactio: Journal | Sciencx - Accessed . https://www.scien.cx/2021/08/16/upgrade-paths/
IEEE
" » Upgrade paths." Adactio: Journal | Sciencx [Online]. Available: https://www.scien.cx/2021/08/16/upgrade-paths/. [Accessed: ]
rf:citation
» Upgrade paths | Adactio: Journal | Sciencx | https://www.scien.cx/2021/08/16/upgrade-paths/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.