frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Clean Code Secrets: Push Ifs Up, Pull Fors Down Like a Pro

https://jsdev.space/clean-code-push-ifs-pull-fors-pro-tips/
3•javatuts•1d ago

Comments

gnabgib•1d ago
Doesn't even mention the original article Push Ifs Up and Fors Down from 2023 (662 points, 295 comments) https://news.ycombinator.com/item?id=38282950

Or the recent repeat (568 points, 9 days ago, 197 comments) https://news.ycombinator.com/item?id=44013157

Arnt•1d ago
The original original may be Christopher Seiwald's "seven pillars of pretty code", which among other things suggested to do your ifs first and get rid of the rare cases, then handle only the common case with more complicated logic in the bottom part of each function.

An excellent article that you have to search for.

javatuts•1d ago
Just because someone published an article on micro-optimization, does that mean we all have to follow it blindly?

How to Do Developer Marketing That Doesn't Suck

https://calyx.substack.com/p/how-to-do-developer-marketing-that
1•skadamat•39s ago•0 comments

The atmospheric memory that feeds billions of people: Monsoon rainfall mechanism

https://phys.org/news/2025-05-atmospheric-memory-billions-people-monsoon.html
1•PaulHoule•1m ago•0 comments

Ransomware attack on Matlab dev MathWorks – licensing center still locked down

https://www.theregister.com/2025/05/27/mathworks_ransomware_attack_leaves_ondeadline/
1•howisthatposs•1m ago•0 comments

Inappropriate Conduct or Falling in Love at Work – What Happened at Black Hops

https://dannorris.me/inappropriate-conduct-or-falling-in-love-at-work-what-happened-at-black-hops/
1•mmarian•2m ago•0 comments

DeepGit

https://github.com/zamalali/DeepGit
1•zamal•2m ago•1 comments

Wang Computers

https://en.wikipedia.org/wiki/Wang_Laboratories
1•superfunny•3m ago•0 comments

Awesome Emacs on macOS

https://xenodium.com/awesome-emacs-on-macos
1•xenodium•4m ago•0 comments

Toward a Geometric Theory of Information Processing

https://www.novaspivack.com/science/the-geometric-theory-of-consciousness
1•airesearcher•4m ago•1 comments

Texas Adopts Online Child-Safety Bill Opposed by Apple's CEO

https://www.bloomberg.com/news/articles/2025-05-27/texas-adopts-online-child-safety-bill-opposed-by-apple-s-ceo
1•mfiguiere•4m ago•0 comments

Reverse engineering Bandcamp downloads for love and piece

https://torunar.github.io/en/2024/06/24/bandcamp-downloads/
1•torunar•4m ago•0 comments

Show HN: Idiot-proof restaurant deals on demand

https://apps.apple.com/us/app/less-eat/id1483478069
1•Superjock•5m ago•0 comments

Google CEO Sundar Pichai on the next AI platform shift

https://www.theverge.com/decoder-podcast-with-nilay-patel/673638/google-ceo-sundar-pichai-interview-ai-search-web-future
1•thm•5m ago•0 comments

The Illusion of No-Code: Builder.ai's Fall and What It Means for Founders

https://medium.com/@oceanbcreative/the-illusion-of-no-code-builder-ais-fall-and-what-it-means-for-founders-b8fe7a90634a
1•nadis•8m ago•0 comments

Empire of office workers strikes back against RTO mandates

https://www.theregister.com/2025/05/27/office_workers_ignore_rto_mandate/
2•rntn•10m ago•1 comments

Extracting memorized pieces of books from open-weight language models

https://arxiv.org/abs/2505.12546
2•Tomte•12m ago•0 comments

I Built Cursor/ChatGPT for Video Editing

https://www.renlo.ai/
1•levin_green•12m ago•1 comments

Speculative Idea: What If We Removed the Limits on Human Biological Adaptation?

https://pastebin.com/KBXhkZX3
1•valdevar•13m ago•1 comments

AI 2027

https://brajeshwar.com/2025/ai-2027/
3•speckx•14m ago•0 comments

White House stunned as Hegseth inquiry brings up illegal wiretap claims

https://www.theguardian.com/us-news/2025/may/27/hegseth-pentagon-leak-investigation-wiretap
3•dralley•14m ago•1 comments

We built Kamili – an AI tool that gives actionable UX feedback for your website

https://www.kamili.ai/
1•dh2013•16m ago•1 comments

Lost Ancient Cities That No One Has Ever Found

https://talesoftimesforgotten.com/2025/04/22/lost-ancient-cities-that-no-one-has-ever-found/
1•bookofjoe•17m ago•0 comments

Postman's MCP Catalog

https://www.postman.com/getmcp
6•someproduct•18m ago•2 comments

AI-Assisted Software Engineering in the Large: A Practical Guide

https://ai.intellectronica.net/ai-assisted-software-engineering-in-the-large
1•intellectronica•18m ago•0 comments

How Chaotic Is Chaos?

https://www.stochasticlifestyle.com/how-chaotic-is-chaos-how-some-ai-for-science-sciml-papers-are-overstating-accuracy-claims/
2•leephillips•20m ago•0 comments

Apple Planned to Offer Starlink-Like Home Internet Service

https://www.macrumors.com/2025/05/27/apple-planned-home-internet-service/
3•tosh•20m ago•0 comments

How to Do Wound Healing (Scratch) Assay for Cell Migration Analysis

https://www.clyte.tech/post/how-to-do-wound-healing-scratch-assay-for-cell-migration-analysis
1•mw2taba88•20m ago•1 comments

China's airlines raise alarm as travellers ditch planes for bullet trains

https://www.scmp.com/economy/china-economy/article/3311483/chinas-airlines-raise-alarm-travellers-ditch-planes-bullet-trains
2•thunderbong•22m ago•0 comments

Show HN: I made a version control for embeddings

https://github.com/ProgramComputer/EmbeddingBridge
2•paulmon•22m ago•0 comments

Show HN: Trace agent calls and set granular data flow and control flow rules

https://early.mcpwned.com/dashboard
1•coderinsan•22m ago•0 comments

Spurious Rewards: Rethinking Training Signals in RLVR

https://rethink-rlvr.notion.site/Spurious-Rewards-Rethinking-Training-Signals-in-RLVR-1f4df34dac1880948858f95aeb88872f
1•andy12_•25m ago•0 comments