Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

So, fuck PHP

Name: Anonymous 2012-09-08 4:43

What's better?

Name: Anonymous 2012-09-09 5:25

>>20
Symta:

point X Y = [X=X; Y=Y; add P = point X+P.X; Y+P.Y]


C/C++/Java/C#:

class Point
{
  public Point(int _X, int _Y)
  {
    X = _X;
    Y = _Y;
  }
  public Point add(Point P)
  {
    Point R;
    R.setX(X+P.X);
    R.setY(Y+P.Y);
    return R;
  }
  public int X { get; private set; }
  public int Y { get; private set; }
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List