Department of Mathematics

Math 300: Mathematical Computing

Text Editors

One of the principal tools we use when getting into the guts of computers is the text editor. Honestly, the choice of text editor is not that important - they all do more or less the same thing in a fairly intuitive way. However, there are a few differences in the details that we should be aware of.

The default text editor in Windows is notepad. It is simple, with no frills. By contrast, the default editor on Macintosh is textedit, which does come with exactly enough frills to mess you up. The first thing you should do when you use textedit on Mac is to make it work with HTML code. If you don't, it will show the results of interpreting HTML code, instead of the code itself, which prevents you from modifying anything meaningful.

Some text editors have a feature called syntax highlighting that supports their use in coding computer languages. This feature recognizes keywords from various languages, and displays those keywords in colors corresponding to their role in that language. This can be very helpful in distinguishing the parts of your code. One good editor that does this is gedit. It knows quite a few languages; is available for most platforms, and is easy/intuitive to use.

You might hear about an editor called vim. If you want to learn to use that, then it is very powerful and fast, and has syntax highlighting. However, it is not easy, nor intuitive. Its chief value is to allow you to brag to computing acquaintances that you love it. If you are good at regular expressions, that might actually be true.


The last test will take place at the final exam time on Tuesday, 12 December, from 1:30-3:30. It will be written as a one-hour (not 50 minute) exam, but you may have the full two hours for it. In other respects it will be very like the other tests, but comprehensive - it will emphasize Python, but cover all the topics we have seen. There is a Sample Exam, but be aware that things will have changed somewhat with the advent of ChatGPT.




Assignment A is posted.








Department of Mathematics, PO Box 643113, Neill Hall 103, Washington State University, Pullman WA 99164-3113, 509-335-3926, Contact Us
Copyright © 1996-2020 Kevin Cooper