frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Do variable names matter for AI code completion? (2025)

https://yakubov.org/blogs/2025-07-25-variable-naming-impact-on-ai-code-completion
1•yakubov_org•12h ago

Comments

yakubov_org•12h ago
When GitHub Copilot suggests your next line of code, does it matter whether your variables are named "current_temperature" or just "x"?

I ran an experiment to find out, testing 8 different AI models on 500 Python code samples across 7 naming styles. The results suggest that descriptive variable names do help AI code completion.

Full paper: https://www.researchsquare.com/article/rs-7180885/v1

ssalka•11h ago
The names of variables impart semantic meaning, which LLMs can pick up on and use as context for determining how variables should behave or be used. Seems obvious to me that `current_temperature` is a superior name to `x` – that is, unless we're doing competitive programming ;)
yakubov_org•11h ago
My first hypothesis was that shorter variable names would use fewer tokens and be better for context utilisation and inference speed. I would expand your competitive programming angle to the obfuscated C challenge ;)

Behind the scenes of JCVD's epic Volvo split

https://www.fxguide.com/quicktakes/behind-the-scenes-of-jcvds-epic-volvo-split/
1•Bluestein•3m ago•0 comments

Hand Drawn CGI: Animating the Terrahawks Title Sequence [video]

https://www.youtube.com/watch?v=HI7oEiaR8PU
1•todsacerdoti•3m ago•0 comments

Garbage in / Garbage Out: The Comfy 6502 Compiler [pdf]

https://web.archive.org/web/20200619194351if_/http://home.pipeline.com/~hbaker1/sigplannotices/sigcol04.pdf
1•signa11•4m ago•0 comments

State of Nebraska v WhaleCo, Inc. d/b/a Temu

https://aboutblaw.com/bix2
1•1vuio0pswjnm7•5m ago•0 comments

Dutch Industry Buckles Under Energy Transition and Global Pressure

https://oilprice.com/Energy/Energy-General/Dutch-Industry-Buckles-Under-Energy-Transition-and-Global-Pressure.html
1•PaulHoule•9m ago•0 comments

I built a modular AI soul system in 100 days – tone simulation and persona sync

https://military-increase-83b.notion.site/Toneforest-Soulbound-System-Showcase-22715dd85ece8034a13ecd6e7343622c
1•Huang_Hsuan_Ju•10m ago•1 comments

Ask HN: Claude Code–style agent, but Aider-like and model-agnostic?

1•dsrtslnd23•10m ago•0 comments

He Read (At Least) 3,599 Books in His Lifetime. Now Anyone Can See His List

https://www.nytimes.com/2025/07/26/books/man-died-book-list-thousands.html
1•mykowebhn•18m ago•0 comments

Ohm: A JavaScript library and PEG-based language for building parsers

https://github.com/ohmjs/ohm
1•fanf2•19m ago•0 comments

Find Forgotten Wi-Fi Passwords, SSIDs in Windows and Android

https://www.theregister.com/2025/07/25/find_wifi_passwords_ssids_windows_android/
1•beardyw•22m ago•0 comments

Building blocks of life may be far more common in space than we thought

https://www.livescience.com/space/building-blocks-of-life-may-be-far-more-common-in-space-than-we-thought-study-claims
1•geox•23m ago•0 comments

The Missing 20%: Why Agentic Systems Need Built-In Control

https://fsilavong.github.io/blog/2025/07/26/the-missing-20-why-agentic-systems-need-built-in-control/
2•fsilavong•23m ago•0 comments

The Surprising Math and Physics Behind the 2026 Trionda World Cup Soccer Ball

https://www.scientificamerican.com/article/the-surprising-math-and-physics-behind-the-2026-trionda-world-cup-soccer-ball/
1•beardyw•24m ago•0 comments

Home sales are down. So why are prices at an all-time high?

https://text.npr.org/nx-s1-5478757
2•pera•28m ago•0 comments

Gnome Calendar: A New Era of Accessibility Achieved in 90 Days

https://tesk.page/2025/07/25/gnome-calendar-a-new-era-of-accessibility-achieved-in-90-days/
1•mwheeler•28m ago•0 comments

As AI becomes more popular, concerns grow over its effect on mental health

https://www.theregister.com/2025/07/25/is_ai_contributing_to_mental/
3•beardyw•35m ago•1 comments

Games over Play over Games

1•WONGHONGYANG•38m ago•0 comments

I Built an MCP Server for Observability. This Is My Unhyped Take

https://signoz.io/blog/unhyped-take-on-mcp-servers/
2•ankit01-oss•47m ago•0 comments

Arm Desktop: x86 Emulation

https://marcin.juszkiewicz.com.pl/2025/07/22/arm-desktop-emulation/
2•jandeboevrie•49m ago•0 comments

Bringing a Decade Old Bicycle Navigator Back to Life with Open Source Software

https://raymii.org/s/blog/Bringing_a_Decade_Old_Bicycle_Navigator_Back_to_Life_with_Open_Source_Software_and_DOOM.html
17•mtlynch•53m ago•1 comments

The Oldest Rock on Earth

https://nautil.us/the-oldest-rock-on-earth-1226290/
1•dnetesn•53m ago•0 comments

Marking Time in a Changing World

https://nautil.us/marking-time-in-a-changing-world-1226557/
3•dnetesn•54m ago•0 comments

Show HN: RoboComic – Stand-up battles powered by AI (TTS, custom personas)

https://robo-comic.vercel.app/
1•lukuch•59m ago•0 comments

Trade Is Not What Matters Most

https://www.usni.org/magazines/proceedings/2025/july/trade-not-what-matters-most
1•Michelangelo11•1h ago•0 comments

Chinese kindergartens in crisis as enrolments plunge 25% in 4 years

https://www.ft.com/content/82717007-c918-48da-878e-1bede9b4c495
4•Ozarkian•1h ago•1 comments

Fuck dopamine, we're voluntarily breaking our own brains

https://anushkakarmakar.substack.com/p/35-fuck-dopamine
3•ak_builds•1h ago•0 comments

'My dad started spying on my mum' – the drugs causing sexual urges

https://www.bbc.co.uk/news/articles/cpqnpryxvrro
5•dijksterhuis•1h ago•0 comments

Make the Web Great Again

https://koshka.love/mwwwga.html
2•worldofmatthew•1h ago•0 comments

We built an auto aiming trash can [video]

https://www.youtube.com/watch?v=H0XYANRosVo
1•smusamashah•1h ago•0 comments

European Cloud Hosting with Exoscale

https://www.exoscale.com/
3•Flundstrom2•1h ago•0 comments