Comparison with traditional programming ways
While this is more code than we would typically need in traditional programming, there is one key difference. To use datetime.utcnow().isoformat()
as a greeting
value, we need to define a property greeting
that utilizes this value.
mixins/property/greeting/using_utc_now_iso_format_fy.py | |
---|---|
Then the flow would look like:
We can explicitly see that usage of datetime.utcnow().isoformat()
is not an accident or error, but is intentional.