joaomatossilva / DateTimeExtensions

This project is a merge of several common DateTime operations on the form of extensions to System.DateTime, including natural date difference text (precise and human rounded), holidays and working days calculations on several culture locales.
http://datetimeextensions.azurewebsites.net/
Other
732 stars 311 forks source link

Enhance DateTime Extension Methods for Clarity and Efficiency #154

Open HappyLife2 opened 6 months ago

HappyLife2 commented 6 months ago

Issue Summary

The current implementation faces several efficiency and readability challenges:

Proposed Refactoring

To enhance the code's performance, readability, and robustness, the following refactoring steps are proposed:

These improvements aim to significantly boost the usability and maintainability of the code, making it more robust and user-friendly.

GautamKandula commented 4 months ago

I'd like to help solve this issue however, this is my first time assisting in any kind of development so I dont quite know how these things work

jneimanlegal commented 4 months ago

The date/time faction isnt the issue sis. Its the measurement used to comprehend the data on a binary level.
Time is colloquially thought of as seconds, minutes and hours. Instead use a binary formula that measures in distance.

Ex. Point A --------------------- number of 0/1 -------------- that it takes to get to Point b

Not that you have developed a link between the Arc and the Light, simply retrace the light pattern your memory a cool of period is recommended. Note: If you think everyone is going too fast, DO NOT try and match speed, instead SLOW DOWN, eventually the inertia will cause people around you to slow down to match, not assume you are relative to their time, space & manner

2ac/4xy=0.018799 use this formula for the NEW ISSUE CODE

VoltagedDebunked commented 2 months ago

Hello, which files are specifically affected by the issue? so i can help?