frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Which function definition keyword do you prefer, def or fn?

1•winwang•10mo ago
I'm curious about what people think of `def` vs `fn`, two short keywords for starting function definitions.

...Or maybe we should subscribe to the church of `df`, haha.

Comments

sitkack•10mo ago
def could be for lots of things, fn is for functions. I don't think it matters much as long as you have one. C would have been so much easier to parse. Just copy Zig or Rust.
butlersean•10mo ago
def means define, could be used to define all kinds of things

fn isnt a legitimate short form of function

fun doesnt work because of the amusement factor

func is the only alternative we have left

sitkack•10mo ago
How about unicode or emojis?

These don't have the full fidelity as hn scrubs emojis

add = (a, b) -> a + b

a, b ⟹ a + b

λ add(a, b): ↪ a + b

johncoltrane•10mo ago
"def" is too generic.

"fn" is too cryptic.

"function" is better than the two.

MultifokalHirn•10mo ago
Agreed

Agent Drift: The Mythical Man-Month and LM Teams (Claude Hallucinates Moltbook)

https://www.causalitylimited.com/p/the-inevitable-agent-drift
1•causalityltd•9s ago•0 comments

Marc Andreesen says he has a zero-introspection mindset

https://www.fastcompany.com/91510739/why-marc-andreessens-zero-introspection-approach-will-get-yo...
1•loteck•3m ago•1 comments

Your Frustration Is the Product

https://daringfireball.net/2026/03/your_frustration_is_the_product
1•celias•5m ago•0 comments

Silicon Valley Bet on War. The Bets Are Paying Off

https://www.nytimes.com/2026/03/18/technology/silicon-valley-war-defense-tech.html
1•bookofjoe•5m ago•1 comments

The Compleat Strategist King of Prussia Store to Close on April 25, 2026

https://www.thecompleatstrategist.com/blogs/compleat-strategic-updates/the-compleat-strategist-ki...
1•jdkee•5m ago•0 comments

Maiao: Easy, Gerrit-style, stacked diffs workflow for GitHub

https://github.com/adevinta/maiao
1•PaulHoule•10m ago•0 comments

White House orders restart of California coastal oil drilling

https://www.latimes.com/california/story/2026-03-13/trump-administration-orders-restart-of-califo...
1•gmays•11m ago•0 comments

AI is the final frontier of Copyleft

https://www.maffulli.net/2026/03/16/ai-final-frontier-of-copyleft/
1•killme2008•11m ago•0 comments

ColorPageLab (printable coloring pages at 300 DPI, no account needed)

https://colorpagelab.com
1•prmishania•15m ago•0 comments

How/why did AMD/ATI fall behind Nvidia? (2015)

https://forums.anandtech.com/threads/how-why-did-amd-ati-fall-behind-nvidia.2434913/
1•stmw•16m ago•1 comments

Books of the Century by Le Monde

https://standardebooks.org/collections/le-mondes-100-books-of-the-century
1•zlu•16m ago•0 comments

South Korea's SDT opens Quantum-AI data center

https://www.datacenterdynamics.com/en/news/south-koreas-sdt-opens-quantum-ai-data-center-deploys-...
1•djinn•16m ago•0 comments

Check mates: Analysis of medieval chess shows vision of equality, mutual respect

https://www.theguardian.com/world/2026/mar/19/medieval-chess-set-equality-respect
2•defrost•17m ago•0 comments

My AI Bot Is Smarter Than Your Honor Roll Student

https://botonomous.ai/post/my-ai-bot-is-smarter-than-your-honor-roll-student-da1e82ea
2•botonomous•17m ago•0 comments

South Korean Police Accidentally Post Cryptocurrency Wallet Password

https://www.schneier.com/blog/archives/2026/03/south-korean-police-accidentally-post-cryptocurren...
1•djinn•18m ago•1 comments

Unplug ICE

https://unplugice.org/
2•doener•23m ago•0 comments

Raspberry Pi Projects That Anyone Can Do

https://www.ifixit.com/News/116276/raspberry-pi-projects-that-anyone-can-do
2•gnabgib•23m ago•0 comments

Ask HN: How do you walk away from a project you care about?

1•rtaylorgarlock•23m ago•0 comments

What about Karpathy Loop?

https://thenewstack.io/karpathy-autonomous-experiment-loop/
2•djinn•25m ago•0 comments

The Flawed Ephemeral Software Hypothesis

https://www.blackhc.net/essays/future_of_software/
1•handfuloflight•25m ago•0 comments

Show HN: Lottery of Birth

https://claude.ai/public/artifacts/b561334a-3b08-41e8-b0e0-c656bdb2e30b
1•atulvi•30m ago•0 comments

Show HN: I created a free tool to analysis your old blog posts for suggestions

https://kitful.ai/write-tools/content-refresh-tool
1•eashish93•30m ago•0 comments

MCP-indexed retrieval vs. file search on a 393-note vault (90 runs)

https://neurostack.sh/blog/vanilla-vs-neurostack-393-notes
2•raphasouthall•30m ago•0 comments

Violations of LLM Review Policies

https://blog.icml.cc/2026/03/18/on-violations-of-llm-review-policies/
1•e08e99f99•31m ago•0 comments

World’s Largest LNG Plant Suffers Extensive Damage, Qatar Says

https://www.bloomberg.com/news/articles/2026-03-18/qatar-reports-extensive-damage-at-site-of-ras-...
2•geox•32m ago•0 comments

Hittler faces Zielinski as French town's election contest goes viral

https://www.bbc.com/news/articles/c2d1drzgxzyo
1•0in•32m ago•0 comments

Autoresearch for SAT Solvers

https://github.com/iliazintchenko/agent-sat
2•chaisan•34m ago•0 comments

VistaVision is a cinematographic technique which uses a higher-resolution

https://en.wikipedia.org/wiki/VistaVision
1•doener•35m ago•0 comments

Searchable.City

https://searchable.city/
1•xnx•37m ago•2 comments

US financial regulator issues long-awaited cryptocurrency guidance

https://www.theguardian.com/technology/2026/mar/18/sec-cryptocurrencies-securities-rules
1•andsoitis•39m ago•0 comments