In this video, we review how to update the Atom editor in GNU/Linux.
In Fedora based systems:
sudo rpm -e atom
download new version from www.atom.io
go to the location of the downloaded file
sudo rpm -i atom.x86_64.rpm (or whatever the atom file is named)
In Debian/Ubuntu based systems:
sudo dpkg -r atom
download new version from www.atom.io
go to the location of the downloaded file
sudo dpkg -i atom.x86_64.rpm (or whatever the atom file is named)
Compressing logical steps can lead to fewer lines of code, but it may be less readable, and it may lead to mistakes due to the jumps in logic. It also can lead to less flexibility, such as error checking.
Notice the alert windows show up twice. That is because there are 2 script codes in the index.html file. Remove the script tag with main.dart.js, and you will only get 1 alert.