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•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
"def" is too generic.

"fn" is too cryptic.

"function" is better than the two.

MultifokalHirn•9mo ago
Agreed

FastFlowLM (FLM) – Unlock Ryzen AI NPUs

https://github.com/FastFlowLM/FastFlowLM
1•jakogut•40s ago•0 comments

Prepaid vs. Postpaid Mobile: The cost breakdown nobody talks about

1•huntsmans•52s ago•0 comments

Banks decline to finance LNG project in Papua New Guinea

https://news.mongabay.com/short-article/2026/02/banks-decline-to-finance-lng-project-in-papua-new...
1•PaulHoule•2m ago•0 comments

Cronboard: A terminal-based dashboard for managing cron jobs

https://github.com/antoniorodr/cronboard
1•theanonymousone•2m ago•0 comments

Adventures in Oddware: Using the Avegant Glyph (Retinal Projection) in 2026 [video]

https://www.youtube.com/watch?v=-BJnhx3ebno
1•tuhtah•2m ago•0 comments

America, and probably the world, stands on a precipice

https://garymarcus.substack.com/p/america-and-probably-the-world-stands
2•MindGods•3m ago•0 comments

TSMC's N2 Node Is Almost Booked Out for the Next Two Years

https://www.culpium.com/p/tsmcs-n2-node-is-almost-booked-out
1•ilamont•3m ago•0 comments

Storing Food

https://www.jefftk.com/p/storing-food
1•speckx•4m ago•0 comments

I Joined Firetiger as an AI Skeptic

https://blog.firetiger.com/i-joined-firetiger-as-an-ai-skeptic/
1•achille-roussel•4m ago•1 comments

Save valuable tokens using Make

https://edleeman.co.uk/notes/saving-tokens-with-quiet-makefiles/
1•ed1727•7m ago•0 comments

Linux will be unstoppable in 2026 – but one open-source legend may not survive

https://www.zdnet.com/article/linux-and-open-source-2026-predictions/
1•walterbell•7m ago•0 comments

Show HN: Neural-open.nvim – Neural network powered Neovim file picker

https://github.com/dtormoen/neural-open.nvim
1•dtormoen•8m ago•0 comments

45 years of coding vs. the "nothing you do matters" machine

https://www.eod.com/blog/2026/02/lose-myself/
1•thoughtpeddler•10m ago•0 comments

Private Motion Pictures of Adolf Hitler and Eva Braun

https://catalog.archives.gov/id/43461
1•georgecmu•11m ago•0 comments

California results are not authorised to use MidnightBSD

https://github.com/MidnightBSD/src/commit/7d956a27123f2d77a05313826c29a0329a923254
3•stargrave•11m ago•0 comments

Dark Sky's Creators Are Back with a New Weather App

https://gizmodo.com/dark-skys-creators-are-back-with-a-new-weather-app-2000725597
1•gnabgib•13m ago•0 comments

Show HN: Talentpluto, a voice AI agent connecting GTM talent and startups

https://talentpluto.com/
1•pipervw•14m ago•0 comments

Guy made the ultimate file converter [video]

https://www.youtube.com/watch?v=btUbcsTbVA8
1•verifex•18m ago•1 comments

Are GitHub Copilot code suggestions useful enough?

1•waffletower•19m ago•1 comments

Show HN: Compliance-as-Code for Cloud Infra

https://www.10factorinfra.com
1•mjkamalika•20m ago•0 comments

Your Token Proves Who You Are, Not What You Own

https://fusionauth.io/blog/dji-token-auth
1•mooreds•20m ago•0 comments

Web API Changelog – February 2026

https://developer.spotify.com/documentation/web-api/references/changes/february-2026
1•sudenmorsian•20m ago•0 comments

Russia fines Google 22.8M rubles for promoting VPNs on the Play Store

https://www.techradar.com/vpn/vpn-privacy-security/russia-fines-google-22-8-million-rubles-for-pr...
1•maxloh•21m ago•0 comments

The Little Red Dot

https://idiallo.com/blog/little-red-dot
2•foxfired•21m ago•1 comments

Building Technology to Drive AI Governance

https://bounded-regret.ghost.io/building-technology-to-drive-ai-governance/
1•mooreds•21m ago•0 comments

NASA Artemis 2 Launch Delay

https://www.space.com/space-exploration/artemis/nasas-artemis-2-moon-rocket-returns-to-hangar-for...
1•saswatms•22m ago•0 comments

Coding Agents and the Inevitable AI Bubble with Eric Anderson [audio]

https://www.lastweekinaws.com/podcast/screaming-in-the-cloud/coding-agents-and-the-inevitable-ai-...
1•mooreds•22m ago•0 comments

Show HN: Intelligence Disruption Index – Is AI replacing human work?

https://yukicapital.com/intelligence-disruption-index
1•romainsimon•23m ago•1 comments

Show HN: Morsel – an open-source, web-based visual Modelica editor

https://morsel.modelscript.org
1•nachawati•24m ago•0 comments

Show HN: Can this model run on my Mac mini?

https://mac-ai-model-compatibility-checker-911416006313.us-west1.run.app
2•mkagenius•25m ago•0 comments