Computer Programming Articles

Articles covering various computer programming topics from Maia Company's top programmers.

JavaScript

Six Functions Missing from JavaScript Arrays
Describes and implements six useful functions missing from the JavaScript Array class. The six missing functions are linearSearch, binarySearch, addAll, retainAll, removeAll, and unique. Shows how to add and use these functions in your JavaScript code.
Computing Statistics in JavaScript
Describes and implements a JavaScript class that uses numerically stable algorithms for computing eight statistics (count, sum, minimum, maximum, median, mean, variance, and standard deviation) of a series (array) of numbers. Shows how to add and use this class in your JavaScript code.

Java

Variables
Notes and examples that teach how to declare and use variables in Java
Methods
Notes and examples that teach how to write and call methods in Java
Scope and Visibility
Notes and examples that teach Java scope and visibility
Interfaces and Abstract Classes
Notes and examples that teach Java interfaces and abstract classes
Unit Testing with JUnit
Notes and examples that explain unit testing in Java using JUnit

C and C++

An Elegant and More Efficient Linked List
Describes and implements a C abstract data structure and a C++ class for a linked list. This implementation is pointer centric and requires less code to implement and is more run time efficient than the traditional node centric implementation.

Modeling

Java and JavaScript Support for Microsoft Visio
Many UML diagramming tools are not backward compatible which requires software developers to redraw their diagrams with each new version of the tool. On the other hand, Microsoft Visio is a diagramming tool that has almost always been backward compatible but unfortunately does not include support for Java or JavaScript. From this article you can download two files that add Java and JavaScript support to Visio which will enable you to draw UML diagrams based on Java and JavaScript that won't have to be redrawn in years to come.

Copyright © 2010, Maia L.L.C.  All rights reserved.