Computer Programming Articles

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

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.
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.
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 © 2008, Maia L.L.C.  All rights reserved.