30 May
2020
30 May
'20
4:20 p.m.
On 31/05/20 1:31 am, Steven D'Aprano wrote:
On Thu, May 28, 2020 at 10:27:47PM +1200, Greg Ewing wrote:
On 28/05/20 7:31 pm, Chris Angelico wrote:
Is it an implementation detail that 4 will be used for eggs if it isn't passed?
The default value of eggs being 4 is a static fact, but creating a new Spam object is not.
Would your feeling change if we were talking about a "variables are memory locations" language, where the value 4 has to be copied into the "eggs" memory location?
No, I don't think so. -- Greg