Skip to main content

Timeline for Can a UUID be called a constant?

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Nov 20, 2022 at 10:57 answer added Goodies timeline score: -2
Nov 19, 2022 at 12:37 vote accept Clara
Nov 19, 2022 at 11:43 answer added amon timeline score: 5
Nov 19, 2022 at 7:28 review Close votes
Nov 24, 2022 at 3:05
Nov 19, 2022 at 3:46 comment added Filip Milovanović "Can values which are only assigned once but have some intrinsic "randomness" to them — for example, a UUID which is only set once per process, ever be called constant?" - they most certainly can. The nature of the value does not matter at all, doesn't even matter what the value actually is, a constant is just something that can't be changed throughout the execution of the program (every mention can be substituted with the exact same value). From the perspective of writing programs, we're mostly interested in named constants, precisely because we don't care about the actual value.
Nov 19, 2022 at 1:28 history edited Clara CC BY-SA 4.0
added 83 characters in body
S Nov 19, 2022 at 1:19 review First questions
Nov 19, 2022 at 12:06
S Nov 19, 2022 at 1:19 history asked Clara CC BY-SA 4.0