ellis morning editor 




an anonymous source sends us some java code with really special variable naming conventions. i can only assume this came from a plucky startup hoping to attract venture capital. import java.util.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class array implements actionlistener, mousemotionlistener, mouselistener { int $$_, _$$, $$$,$_$; jframe $$$__$$$ = new jframe(); boolean draw = true; jbutton $$1 = new jbutton("line"), $$2 = new jbutton("rectangle"), $$3 = new jbutton("clear"); arraylist = new arraylist<>(); jpanel aa$$aa = new jpanel(), _$$_$_ = new jpanel(), $0$0$ = new jpanel() { @override public void paintcomponent(graphics g) { super.paintcomponent(g); for (shape i : ) { if (i.$s$ == true) { g.setcolor(color.green); g.drawline(i.$$_,i._$$,i.$$$,i.$_$); } else { g.setcolor(color.red); g.fillpolygon(new int[] {i.$$_,i.$$_,i.$$$,i.$$$}, new int[] {i._$$,i.$_$,i.$_$,i._$$}, 4); } } if (draw) { g.setcolor(color.green); g.drawline($$_,_$$,$$$,$_$); } else { g.setcolor(color.red); g.fillpolygon(new int[] {$$_,$$_,$$$,$$$}, new int[] {_$$,$_$,$_$,_$$}, 4); } } }; public array () { aa$$aa.setlayout(new boxlayout(aa$$aa, boxlayout.y_axis)); _$$_$_.add($$1); $$1.addactionlistener(this); _$$_$_.add($$2); $$2.addactionlistener(this); _$$_$_.add($$3); $$3.addactionlistener(this); $0$0$.setpreferredsize(new dimension(200, 200)); aa$$aa.add($0$0$); $0$0$.addmouselistener(this); $0$0$.addmousemotionlistener(this); aa$$aa.add(_$$_$_); $$$__$$$.add(aa$$aa); $$$__$$$.setsize(new dimension(400, 400)); $$$__$$$.setvisible(true); $$$__$$$.setdefaultcloseoperation(jframe.exit_on_close); } public static void main(string[] args) { new array(); } public void actionperformed(actionevent e) { if (e.getsource() == $$1) { draw = true; } else if (e.getsource() == $$2) { draw = false; } else if (e.getsource() == $$3) { .clear(); } $$_ = 0; _$$ = 0; $$$ = 0; $_$ = 0; $$$__$$$.repaint(); } public void mousepressed(mouseevent e) { $$_ = e.getx(); _$$ = e.gety(); $0$0$.repaint(); } public void mousereleased(mouseevent e) { $$$ = e.getx(); $_$ = e.gety(); .add(new shape($$_,_$$,$$$,$_$, draw)); $$_=0; _$$=0; $_$=0; $_$=0; $$$__$$$.repaint(); } public void mouseentered(mouseevent e) { $$$__$$$.repaint(); } public void mouseexited(mouseevent e) { $$$__$$$.repaint(); } public void mouseclicked(mouseevent e) { $$$__$$$.repaint(); } public void mousemoved(mouseevent e) { $$$__$$$.repaint(); } public void mousedragged(mouseevent e) { $$$ = e.getx(); $_$ = e.gety(); $$$__$$$.repaint(); } class shape { int $$_,_$$,$$$,$_$; boolean $s$; shape(int xx, int yy, int x$, int y$, boolean tp) { $$_ = xx; _$$ = yy; $$$ = x$; $_$ = y$; $s$ = tp; } public string tostring() { return ""+$$_+" "+_$$+" "+$$$+" "+$_$; } } } [advertisement] infrastructure as code built from the start with first-class windows functionality and an intuitive, visual user interface. download otter today!
codesod: dollar dollar dollar dollar underscore
ellis morning