2010
02.10

I have decided to switch to using Alex Gorbatchev’s Syntax Highlighter.  It is probably the nicest one out there with funky quick copy, print and view source features.

Some Groovy:

def pickEven(n, block)
{
	for(int i = 2; i <= n; i +=2)
	{
		block(i)
	}
}

pickEvent(10, { println it })

Some Ruby:

puts "hi"

Some JavaScript:

/* SyntaxHighlighter */
function foo(){
	// it works!
}

Some C#:

void DoSomething()
{
	ParseALambdaExpression(email => email.Contains("@"));
}

void ParseALambdaExpression(Expression<func<<string , bool>> func)
{
	BinaryExpression body = func.Body as BinaryExpression;
}

No Comment.

Add Your Comment

You must be logged in to post a comment.