Christopher Wong
Posts: 128
Nickname: cwong15
Registered: Sep, 2009
|
Christopher Wong is a senior software engineer at lifeIMAGE.
|
|
|
|
On conciseness
|
Posted: Nov 14, 2009 10:27 PM
|
|
|
This post originated from an RSS feed registered with Java Buzz
by Christopher Wong.
|
Original Post: On conciseness
Feed Title: Chris Wong's Development Blog
Feed URL: http://chriswongdevblog.blogspot.com/feeds/posts/default
Feed Description: This is a development-focused blog covering BlackBerry and Java software development.
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Christopher Wong
Latest Posts From Chris Wong's Development Blog
|
|
I meant to write this thought for a while, but a recent blog post about implementing the Quicksort algorithm in Scala finally prompted me to write this. As a refresher, here is pseudocode from the Wikipedia entry on quicksort that illustrates a simple version of the algorithm.
function sort(array) // pseudocode from Wikipedia
var list less, greater
if length(array) ≤ 1 return array
Read: On conciseness
|
|