Code Smell 39 - new Date()
26 December, 2022
4
4
0
Contributors
Problems
•
Coupling
•
Fragile Tests
•
Timezone Problems
Solutions
1.
Sample Code
Wrong
Right
Detection
Tags
•
Conclusion
Date.today() , Time.now()
, and other global system calls are coupling smell.Relations
More Info
In programming, the hard part isn't solving problems, but deciding what problems to solve.