TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Developers Ar Becoming Lazy

4 pointsby misirover 5 years ago

2 comments

raxxorraxover 5 years ago
&gt; In another case, I saw an NPM package that detects if the number is odd or even. Writing n%2 == 0 is that hard thing?<p>Repository in question:<p>&#x27;use strict&#x27;;<p>var isOdd = require(&#x27;is-odd&#x27;);<p>module.exports = function isEven(i) { return !isOdd(i); };
misirover 5 years ago
Are<i>