IG Syntax Hiliter

Today I talked to arjan about the wordpress setup used for the company blog. I welcome the addition of the blog for sharing knowlegde with the community. One thing I noticed was the well looking syntax...

Arjan told me this was done by using the IG Syntax Hiliter using some custom modifications by Erik.

I installed the lot, so you can join me in cursing the examples which I'm studying for my programmers exam:

JAVA:
  1. public class Eggs{
  2.   int doX(Long x, Long y) { return 1; }
  3.   int doX(long ... x) { return 2; }
  4.   int doX(Integer x, Integer y) { return 3; }
  5.   int doX(Number x, Number y) { return 4; }
  6.   int doX(short ... x) { return 5; }
  7.  
  8.   public static void main(String ... args){
  9.     new Eggs().go();
  10.   }
  11.  
  12.   void go(){
  13.     short s = 7;
  14.     System.out.print(doX(s,s) + " ");
  15.     System.out.println(doX(7,7));
  16.   }
  17. }

Brrr... I just hate this type of code... but hey, need to pass the upcoming exam!


0 Responses to “IG Syntax Hiliter”

  1. No Comments

Leave a Reply





About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures

IMG_4616.JPG IMG_4568 Greenland graffiti 'boobs' sjoerd op klimrek sea_lion tarte tatin of red unions Obie Fernandez sfeervolverlichte boot IMG_4611.JPG high voltage wires Charles Nutter on JRuby red bar Danielle op de bruggen van Beeld en Geluid IMG_4570 IMG_4614.JPG IMG_4571 trouwauto overburen vlieg Hotel room
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.