Cipherd@lemmy.ml to Programmer Humor@programming.dev · 21 hours agofunctionslemmy.mlimagemessage-square78fedilinkarrow-up1477arrow-down17file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1470arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@programming.dev · 21 hours agomessage-square78fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareSpaceCowboy@lemmy.calinkfedilinkarrow-up1·4 hours agoA constant inside a function is not constant to the computer. It’s only constant within the scope of the function. So it’s not constant to the computer since every time the function is called the “constant” will have a different value. Do you even know what a real constant is? You maybe need to rethink some things.
A constant inside a function is not constant to the computer. It’s only constant within the scope of the function. So it’s not constant to the computer since every time the function is called the “constant” will have a different value.
Do you even know what a real constant is?
You maybe need to rethink some things.