If you mean WordPad, which was on Windows - that is a simple Word Processor , so not suitable for writing code in.
Not sure how he will get along with all the stuff MS is adding to I'd suggest getting to look at NotePad++. On Linux Mint Xed behaves similar to Notepad