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

"fn" is too cryptic.

"function" is better than the two.

MultifokalHirn•8mo ago
Agreed

Ask HN: Any tools for managing multi Claude Code instances?

1•tansan•1m ago•0 comments

Why Saunas, Bathhouses, Cold Plunge Pools Are So Popular

https://www.bloomberg.com/news/features/2026-01-16/why-saunas-bathhouses-cold-plunge-pools-are-so...
1•Anon84•2m ago•0 comments

Show HN: Termilingo – a terminal-based spaced repetition flashcard app

https://github.com/ayakovlenko/termilingo
1•ayakovlenko•2m ago•0 comments

Case Study: Hydration Latency in Enterprise E-Commerce (Nike vs. New Balance)

https://websiteaiscore.com/blog/nike-vs-new-balance-technical-audit
1•aggeeinn•10m ago•1 comments

Photo was taken in 1911 using glass plate technology

https://bsky.app/profile/alanjstedman.bsky.social/post/3mcm2qdizg22u
2•doener•10m ago•0 comments

Don't be a human alarm clock

https://mannhowie.com/human-alarm-clock
1•elephant_burger•12m ago•0 comments

WhisperPair: Hijacking Bluetooth Accessories Using Google Fast Pair

https://whisperpair.eu/
1•xerosic•13m ago•0 comments

Vercel's Web Interface Guidelines

https://vercel.com/design/guidelines
1•handfuloflight•14m ago•0 comments

I used an agent to hunt vulns

https://blazelight.dev/blog/agent-vuln-hunting.mdx
1•theblazehen•15m ago•0 comments

Fitdrop: Personal exploration of fashion from 1980 to 2025

https://fitdrop.cc/
2•num42•16m ago•0 comments

What predicts success in AI coding? (Analysis of 4.6k amp threads)

https://amp-analysis-casestudy.vercel.app/
1•njpatel•18m ago•0 comments

Incarnation Lease

https://atmankalena.substack.com/p/incarnation-lease
1•Trifectorium•21m ago•1 comments

Why Mixing Colors on Your Computer Makes Mud

https://spectraljs.com/blog/why_mixing_colors_on_your_computer_makes_mud/
2•rvanwijnen•22m ago•0 comments

Architecture for Disposable Systems

https://tuananh.net/2026/01/15/architecture-for-disposable-systems/
1•tuananh•26m ago•0 comments

The modern, full-stack TypeScript framework that makes T3 Stack look like 2022

https://github.com/yazcaleb/c4-template
1•plawlost•28m ago•0 comments

Multi armed bandit resource allocation in Near Memory Processing architectures

https://www.sciencedirect.com/science/article/pii/S277306462500012X
2•rbanffy•29m ago•0 comments

Cold Truths

https://newsletter.doomberg.com/p/cold-truths
1•simonebrunozzi•29m ago•0 comments

ASCII characters are not pixels: a deep dive into ASCII rendering

https://alexharri.com/blog/ascii-rendering
23•alexharri•30m ago•1 comments

Gut micro-organisms associated with health, nutrition and dietary intervention

https://www.nature.com/articles/s41586-025-09854-7?lid=t94o71j7gslg
3•lonelyasacloud•30m ago•1 comments

A collection of my weird, fun, and fast-built side projects

https://www.pankajtanwar.in/side-hustles
1•jaynate•32m ago•0 comments

AV1 Image File Format Specification Gets an Upgrade with AVIF v1.2.0

https://aomedia.org/blog%20posts/AV1-Image-File-Format-Specification-Gets-an-Upgrade-with-AVIF/
2•breve•36m ago•0 comments

Ask HN: Is there a free MCP for web and documentation search?

1•terabytest•36m ago•1 comments

Show HN: Curated index page for my subdomains

https://index.priyavkaneria.com/
1•diginova•36m ago•0 comments

Your 'Ideal Customer Profile' Is a Hallucination

https://pathak.ventures/essays/the-segment-of-one
1•ninadpathak•37m ago•0 comments

Google should build a VST/AU Metadata Bridge instead of another AI generator

1•yoekimera•37m ago•0 comments

Commodore 64 Ultimate (Batch 2)

https://www.commodore.net/product-page/commodore-64-ultimate-basic-beige-batch2
1•tzmlab•38m ago•0 comments

Show HN: Why Should Assembly Be English‑Only? Nuasm Adds 51 Human Languages

1•neuroosgenesis•43m ago•1 comments

Show HN: FileMason – Automate file organization on macOS with custom rules

https://apps.apple.com/us/app/filemason/id6757748498?mt=12
1•edurevilla•44m ago•0 comments

EU moves to force the phase-out of Chinese suppliers from key infrastructure

https://www.reuters.com/world/china/eu-bar-chinese-suppliers-critical-infrastructure-ft-reports-2...
4•robtherobber•45m ago•0 comments

Atlarix – A privacy-first, native AI coding agent for your desktop

https://www.atlarix.dev/
1•AmariahKam•47m ago•1 comments