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.

Why no max/min function for integer in Golang

2 pointsby github-catalmost 6 years ago

2 comments

candeiraalmost 6 years ago
The Oracle&#x2F;Java trial:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Oracle_America,_Inc._v._Google,_Inc" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Oracle_America,_Inc._v._Google...</a>.
surfsvammelalmost 6 years ago
int min&#x2F;max function is trivial, leave it to the developer. Isn’t that often seen in Golang?