It is shown that Goppa codes with Goppa polynomial

have the parameters: length

, number of check symbols

, and minimum distance

, where

is a prime power,

is an integer,

is an arbitrary polynomial over

, and so is the number of roots of

which belong to

. It is also shown that all binary Goppa codes of length

satisfy the relation

. A new class of binary codes with

, and

is constructed, as well as another class of binary codes with slightly different parameters. Some of those codes are proved superior to the best codes previously known. Finally, a decoding algorithm is given for the codes constructed which uses Euclid\´s algorithm.