Programming

Programming

Native Intl api now provides relative time strings

Want to convert date time into relative time strings like yesterday, tomorrow, 1 day ago, 1 week ago, then modern browser's native Intl is enough...

Read
Programming

Finally we have a perfect way to deep copy js object

Getting errors due to shallow copy? Here's the perfect modern way to deep copy a json object...

Read
Programming

Programming paradigms

Programming is much more than writing code. Here's a quick summary of common programming paradigms.

Read