Computer Programming Articles
Articles covering various computer programming topics from Maia
Company's top programmers.
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.
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
- Selection
- Notes and examples that teach how to write selection statements
(if) in Java
- Repetition
- Notes and examples that teach how to write repetition statements
(while, for, do while) in Java
- Methods
- Notes and examples that teach how to write and call methods
in Java
- Arrays
- Notes and examples that teach how to declare, create, and use
arrays 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
- Exceptions
- Notes and examples that explain errors and exceptions in Java
and how to throw and handle exceptions.
- Threads
- Notes and examples that explain multiple threads of execution in
Java.
- Thread Specific System.out
- Example code to make System.out write to a different file for
each thread.
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.
Shell Scripts
- Set Operations Using Bash
Scripts
- Describes and implements the set operations intersection, union,
relative complement, and symmetric difference using shell script
commands.
Discrete Mathematics
- Practice counting in different
bases.
- An interactive form to help students learn to count in various
positional number systems, including binary, octal, and
hexadecimal.
Copyright © 2010, Maia L.L.C. All rights reserved.