TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

THIS THING DELETED 3 MONTHS OF WORK!!!!

5 pointsby floeticabout 5 years ago

5 comments

warpechabout 5 years ago
You have to admit in some software &quot;Discard&quot; means &quot;Cancel&quot;. Having to choose between &quot;Discard&quot; and &quot;Cancel&quot; might sound nonsensical.<p>These are language subtelities that might be hard to translate to other languages, or to be understood by junior programmers or non-native speakers. Keep in mind that VSCode is a tool often recommended in bootcamps, etc.<p>Reminds me of the infamous modal question &quot;Are you sure you want to cancel?&quot; &#x2F; &quot;OK&quot;, &quot;Cancel&quot;.
rvzabout 5 years ago
&#x27;Discard&#x27; in VSCode obviously means a &#x27;git checkout&#x27; and this &#x27;VSCode user&#x27; failed to read &#x27;IRREVERSIBLE&#x27; and he clicked discard. The computer can never deletes your work automatically, it is always you telling it to.<p>Don&#x27;t say VSCode didn&#x27;t warn you.
anonsivalley652about 5 years ago
I think their over-reaction is hilarious.<p>Language and UX are important. English words have different meanings to different people in different parts of the world, so it&#x27;s important to localize to the various regions by using slightly more appropriate words and use congruent iconography with it to convey exactly what would happen with the &quot;least surprise&quot; principle. It&#x27;s difficult to say what they thought that word meant at the time.<p>For example, in a real estate game:<p>The British &quot;Let&quot; and American &quot;Rent&quot; mean the same thing in their respective countries. However, in America, &quot;Let&quot; means only to allow or suppose, not sign a lease or rental agreement.
afioriabout 5 years ago
All things considered it is not VSCode faults for following git standard usage, but this does not mean that it was not a user hostile functionality. This is essentially git fault as `git checkout` is a dark and evil command.<p>Whether we have normalized low standard for usability is irrelevant.
ToFab123about 5 years ago
Isn&#x27;t it a valid point that deletion should move the deleted files to the recycle bin? I think so.