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

Show HN: Multi-attribute decision frameworks for tech purchases

1•boundedreason•1m ago•0 comments

KiraStudio 1.0.0 – a lightweight, cross-platform music studio

https://kirastudio.org
1•ksymph•8m ago•0 comments

Can my SPARC server host a website?

https://rup12.net/posts/can-my-sparc-server-host-my-website/
2•pabs3•8m ago•0 comments

Report on the subject of Manufacturers (1791) [pdf]

https://constitution.org/2-Authors/ah/rpt_manufactures.pdf
2•pilingual•10m ago•0 comments

Explaining the PeV neutrino fluxes with quasiextremal primordial black holes

https://journals.aps.org/prl/accepted/10.1103/r793-p7ct
1•dataflow•10m ago•0 comments

Internet Background Noise

https://en.wikipedia.org/wiki/Internet_background_noise
1•tripdout•10m ago•0 comments

Show HN: Secure managed hosting for OpenClaw (free and BYOK)

https://openclaw-setup.me/
1•Gregoryy•13m ago•0 comments

Ask HN: How do you interpret P99 latency without being misled?

1•danelrfoster•16m ago•0 comments

Trapped Between Pitch, Disclaimer, and Confession

https://gilpignol.substack.com/p/trapped-between-pitch-disclaimer
1•light_triad•17m ago•0 comments

The Vocabulary Priming Confound in LLM Evaluation [pdf]

https://github.com/Palmerschallon/Dharma_Code/blob/main/paper/vocab_priming_confound.pdf
1•palmerschallon•19m ago•0 comments

The committee problem: why B2B demos die after the form

https://blog.skipup.ai/buying-committee-demo-scheduling-problem/
1•bushido•21m ago•0 comments

Show HN: Seedance2.live – One place to try many AI image and video models

https://seedance2.live
1•yuni_aigc•25m ago•1 comments

Show HN: Grok Video 10s – Grok AI video generation and creator contest

https://grok-video.org/
2•thenextechtrade•26m ago•0 comments

Grumpy Julio plays with CLI coding agents

https://jmmv.dev/2026/02/one-week-with-claude-code.html
1•todsacerdoti•26m ago•0 comments

The Software Business

https://ivanbercovich.com/2026/the-software-business
2•jimmythecook•30m ago•0 comments

Monopoly Round-Up: The $2T Collapse of Terrible Software Companies

https://www.thebignewsletter.com/p/monopoly-round-up-the-2-trillion
1•walterbell•31m ago•0 comments

Show HN: HelixNotes – Local-first Markdown notes app built with Rust and Tauri

https://helixnotes.com
4•ArkHost•33m ago•0 comments

Security audit of Browser Use: prompt injection, credential exfil, domain bypass

https://arxiv.org/abs/2505.13076
2•tiny-automates•34m ago•1 comments

Infinite Terrain

https://mesq.me/infinite-terrain/
1•memalign•35m ago•1 comments

"What Questions Do You Have for Me?": Acing the Reverse Interview

https://robbygrodin.substack.com/p/what-questions-do-you-have-for-me
1•code_pig•35m ago•0 comments

Show HN: SplitFXM – Multi-Dimensional Computational Library for Physics-Aware AI

https://splitfxm.com
1•gpavanb•39m ago•0 comments

Tired of sharing small files via Google Drive or Dropbox just to manage access

https://www.styloshare.com/
1•stylofront•39m ago•1 comments

Scientists Send Secure Quantum Keys over 62Mi of Fiber–Without Trusted Devices

https://singularityhub.com/2026/02/09/scientists-send-secure-quantum-keys-over-62-miles-of-fiber-...
3•WaitWaitWha•41m ago•0 comments

Dr. YoungHoon Kim (claims world highest IQ of 276) speaks about Jesus

https://www.youtube.com/watch?v=B55knDYYWxM
1•quasibyte•42m ago•0 comments

CIA announces new acquisition framework to speed tech adoption

https://www.nextgov.com/acquisition/2026/02/cia-announces-new-acquisition-framework-speed-tech-ad...
2•WaitWaitWha•44m ago•0 comments

SBX Avalanche Survival System

https://www.safeback.no/sbx
1•dabinat•45m ago•0 comments

De-Enshittify Windows 11: OneDrive

https://www.thurrott.com/windows/windows-11/332529/de-enshittify-windows-11-onedrive
5•tech234a•48m ago•1 comments

Gradient.horse

https://gradient.horse
2•microflash•49m ago•0 comments

Claude /fast mode consumes money fast

1•diavelguru•55m ago•0 comments

CLIProxyAPIPlus – use antigravity, Gemini CLI, & more with Claude Code / etc.

https://github.com/router-for-me/CLIProxyAPIPlus
1•radio879•55m ago•1 comments