Tech Tutorial: Learn to Program with JavaScript – Episode 25: Basic Function Definition Syntax

As we begin to learn to program, we often write code that is very procedural, that is it usually runs from top to bottom and executes very linearly. This is because we are used to writing English papers or reading books, all of which are extremely linear in nature.

Programming on the other hand is non-linear in that the code we write usually focuses on accomplishing a specific unit of work and that unit of work is often done many times over the life of our executing program. It is for this very reason that the designers of JavaScript created what are called ‘functions’. Functions are structures that allow developers to encapsulate code into specific units of work that can be called over and over again to accomplish work.

In this video, we learn about the basic syntax used to define functions within our code.


Personal Recommendation (unpaid)
Programming and software development are awesome! Being that you are learning along with me, there is an excellent chance you can make this a career. Based on my own life experience, let me suggest to you that you go get a Computer Science degree from Neumont College of Computer Science and kick your life into hyper-drive.

visit: https://www.neumont.edu/

Published by

Tim Clark

Experienced Business Owner, Chief Information Officer, Vice President, Chief Software Architect, Application Architect, Project Manager, Software Developer, Senior Web Developer, Graphic Designer & 3D Modeler, University Instructor, University Program Chair, Academic Director. Specialties: Ruby, Ruby on Rails, JavaScript, JQuery, AJAX, Node.js, React.js, Angular.js, MySQL, PostgreSQL, MongoDB, SQL Server, Responsive Design, HTML5, XHTML, CSS3, C#, ASP.net, Project Management, System Design/Architecture, Web Design, Web Development, Adobe CS6 (Photoshop, Illustrator)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s