please help me understand this code

This code is for a 4 -wire resistive touch panel . Iam not understanding why everytime port 14 is used for reading ? If i understand correctly the working of a 4-wire resisitve touch panel then we have to first apply voltage to X - axis and read off Y an then apply voltage to Y axis and read off X.
I got this code ihere from the arduino forum.

thanks

// Taken from http://kousaku-kousaku.blogspot.com/2008/08/arduino_24.html
/*
#define xLow  14
#define xHigh 15
#define yLow  16
#define yHigh 17
*/
//modified to match my sparkfun connector
#define xLow  17
#define xHigh 15
#define yLow  16
#define yHigh 14
 
 
void setup(){
  Serial.begin(9600);
}
 
void loop(){
  pinMode(xLow,OUTPUT);
  pinMode(xHigh,OUTPUT);
  digitalWrite(xLow,LOW);
  digitalWrite(xHigh,HIGH);
 
  digitalWrite(yLow,LOW);
  digitalWrite(yHigh,LOW);
 
  pinMode(yLow,INPUT);
  pinMode(yHigh,INPUT);
  delay(10);
 
  //xLow has analog port -14 !!
  int x=analogRead(yLow -14);
 
  pinMode(yLow,OUTPUT);
  pinMode(yHigh,OUTPUT);
  digitalWrite(yLow,LOW);
  digitalWrite(yHigh,HIGH);
 
  digitalWrite(xLow,LOW);
  digitalWrite(xHigh,LOW);
 
  pinMode(xLow,INPUT);
  pinMode(xHigh,INPUT);
  delay(10);
 
  //xLow has analog port -14 !!
  int y=analogRead(xLow - 14);
 
    Serial.print(x,DEC);   
    Serial.print(",");     
    Serial.println(y,DEC); 
 
  delay(200);
}

You can't redefine the pin numbers and then do arithmetic on them and expect to have sensible answers.
That is very very bad code.

Iam not understanding why everytime port 14 is used for reading

Quite simply it is not. Look again at the code.

I'd rewrite that using symbolic pin names and lose the -14 hacky hack.
Delays are unnecessary, the voltage will stabilise in a few us. Make the code
readable by liberal use of functions.

//modified to match my sparkfun connector
#define xLow  A3
#define xHigh A1
#define yLow  A2
#define yHigh A0
 
 
void setup()
{
  Serial.begin(9600);
}

int read_axis (byte driven_low, byte driven_high, byte passive_low, byte passive_high)
{
  pinMode (driven_low, OUTPUT);
  pinMode (driven_high, OUTPUT);
  digitalWrite (driven_low, LOW);
  digitalWrite (drive_high, HIGH);
 
  digitalWrite (passive_low, LOW);
  digitalWrite (passive_high, LOW);
  pinMode (passive_low, INPUT);
  pinMode (passive_high, INPUT);
  analogRead (passive_low) ; // read twice in case very high impedance
  return analogRead (passive_low);
 
int read_x ()
{
  return read_axis (xLow, xHigh, yLow, yHigh) ;
}

int read_y ()
{
  return read_axis (yLow, yHigh, xLow, xHigh) ;
}

void loop()
{
  Serial.print (read_x(), DEC);   
  Serial.print (",");     
  Serial.println (read_y(), DEC); 
 
  delay(200);
}

thank you both for your time .