Links

Categories

Tags

coding tips

Removing duplicates from a string array

Saturday, December 13th, 2014

Removing duplicate values from an array of strings is not a common necessity, therefore there’s no built-in function for this in JewelScript’s string or array class. However, there are cases where this kind of functionality is required. Here’s a tip on how to do it efficiently.

Implementing sequential state machines

Saturday, May 25th, 2013

This example is a part of my series on implementing state machines.

Implementing state-variant classes

Thursday, May 23rd, 2013

This example is a part of my series on implementing state machines.