Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.983 Beiträge
 
#1

Case sensitivity

  Alt 1. Mai 2019, 21:30
Found this piece of code in a message (now deleted) on Stack Overflow, for the language Go:


func addGmp(a, b, c, d, e, f, x, y, X, Y, P *big.Int) (*big.Int, *big.Int) {
// a,b,c,d,e,f this var (fast in func)
a.Sub(Y, y)
b.Sub(X, x)
...

The problem is not only that all the parameters have single-letter names that don't say anything about them, the much biger problem is that there are parameters named x and y

Weiterlesen...
  Mit Zitat antworten Zitat