Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Case sensitivity (https://www.delphipraxis.net/200554-case-sensitivity.html)

DP News-Robot 1. Mai 2019 21:30

Case sensitivity
 
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...


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:17 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz