Watching:

How to Write Programming Source Code in a Plain Text Editor


show more In this video in the Developer and Programming Foundations series, you'll review the importance of writing source code in a plain text editor versus a rich text editor. In this tutorial, you'll see examples of statements written in different programming languages, like JavaScript, as well as examples of coding tools that you might find useful in the future. show less
please wait ...

Writing source code

Programming language source code is written in plain text. You can open up a simple text editor that comes with your operating system like Notepad on the PC or TextEdit on the Mac, and they work just fine to write any programming language. There's nothing magical about source code itself. It's just text. And that's plain text, not rich text. So here for example is a text editor with some JavaScript in it and here is one with some Perl and here is one with some Ruby and here is one with some Groovy.

And yes, Groovy is a language. Now right now don't worry at all about trying to memorize any of these. That comes later. Just observe them. It's common to see different file extensions being used like .js for JavaScript and .groovy for Groovy files but they are no different from .txt regular text files. But what you don't want is a word processor. If you're writing code in a program where you see a formatting bar with bold and italic options, you are probably in the w...

Writing source code
Video duration: 5m 34s 4h 47m Beginner

Viewers:

In this video in the Developer and Programming Foundations series, you'll review the importance of writing source code in a plain text editor versus a rich text editor. In this tutorial, you'll see examples of statements written in different programming languages, like JavaScript, as well as examples of coding tools that you might find useful in the future.

Subjects:
Developer Web
Author:
please wait ...