Timeline for Should I use complex expressions as function arguments?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 18, 2019 at 2:11 | vote | accept | Edward | ||
| Jan 16, 2019 at 16:13 | comment | added | Frank Puffer | I just like to add that these temporary values should not be variables in most cases. They get a value assigned where they are declared and this value is not supposed to change. It makes sense to express this in your code if your language can do that. For example in Javascript use const rather than var or let. | |
| Jan 16, 2019 at 10:48 | history | answered | Kilian Foth | CC BY-SA 4.0 |