<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cconrzapa" -->

---
title: WTF Java #1: How a Simple "Early Return" Saved 1ms...
description: Discussion about "WTF Java #1: How a Simple "Early Return" Saved 1ms Runtime(And Why It Matters)" on daily.dev - join the developer community
canonical: https://daily.dev/posts/cconrzapa
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: WTF Java #1: How a Simple "Early Return" Saved 1ms Runtime(And Why It Matters) | daily.dev
og:description: Discussion about "WTF Java #1: How a Simple "Early Return" Saved 1ms Runtime(And Why It Matters)" on daily.dev - join the developer community
og:url: https://daily.dev/posts/cconrzapa
og:image: https://api.daily.dev/og/posts/CCoNRZAPa.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# WTF Java #1: How a Simple "Early Return" Saved 1ms Runtime(And Why It Matters)

**[Sumonta Saha \(Mridul\)](https://daily.dev/sources/oy53egvldsfhhkhkvd69g)** · [@sumonta056](https://daily.dev/sumonta056) · 0 upvotes · 0 comments

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://sumonta056.substack.com/p/wtf-java-1-how-a-simple-early-return>

---

[View this post on daily.dev](https://daily.dev/posts/cconrzapa)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/cconrzapa","headline":"WTF Java #1: How a Simple \"Early Return\" Saved 1ms Runtime(And Why It Matters)","text":"Shared: WTF Java #1: How a Simple \"Early Return\" Saved 1ms Runtime(And Why It Matters)","url":"https://daily.dev/posts/cconrzapa","datePublished":"2026-01-15T02:37:11.596Z","dateModified":"2026-01-15T02:37:11.598Z","author":{"@type":"Person","name":"Sumonta Saha (Mridul)","url":"https://daily.dev/sumonta056","image":"https://media.daily.dev/image/upload/s--1WBDxE4J--/f_auto/v1740024703/avatars/avatar_oy53egVldSfhhKhkvD69g","description":"Associate Software Engineer I at Cefalo | Content Writer, Learn & Code (400+ Subs)","worksFor":{"@type":"Organization","name":"Cefalo","logo":"https://res.cloudinary.com/daily-now/image/upload/s--vxigpqsd--/f_auto/v1728569671/companies/cefalo"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1940}},"image":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/q4PYQieaO"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/oy53egvldsfhhkhkvd69g","name":"Sumonta Saha (Mridul)"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sumonta Saha (Mridul)","item":"https://daily.dev/sources/oy53egvldsfhhkhkvd69g"},{"@type":"ListItem","position":3,"name":"WTF Java #1: How a Simple \"Early Return\" Saved 1ms Runtime(And Why It Matters)"}]}
```

