frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Which Programming Language Should I Teach First: the least productive question

https://parentheticallyspeaking.org/articles/first-language-wrong-question/
2•matt_d•5mo ago

Comments

sema4hacker•5mo ago
I agree with the article that this is the wrong question to ask. I think the best way to teach programming is to start with the most basic concepts, independent of any language, such as the idea that computer memory consists of cells that can store data like text or numbers, and that we label these cells with names so we can tell the cells apart, just like mailboxes on a street.

Then there's the idea that we can move data between cells and input and output that data.

Then that we can do simple operations between cells, such as arithmetic and comparing and swapping.

At that point we know enough to write a simple program, such as inputting two numbers from the keyboard and outputting the largest on the display, using some trivial made-up language.

Then introduce looping, and solve the problem of inputting numbers until zero is input, and reporting the largest number found.

Then maybe simple structures such as arrays or lists or strings, then more complicated flow control such as nested loops and callable procedures or functions, persistent storage, and so on. At each stage, require solving simple "real world" problems such as a trivial billing program, or sales tax calculation, or a toy text editor, or simple histogram output.

Turns out most programs need and use very few programming concepts. A good introductory language would be as simple as possible, just sufficient enough to demonstrate and allow the writing of programs covering all the desired concepts in a 101 course. If the language being used can allow more than what's being taught in the 101 course, then it will have features and syntactic sugar that will invariably confuse and misdirect the student. Let a more powerful language wait until the next course, because the most important thing to teach initially are CONCEPTS such as named memory, operators, if-then-else, simple I/O, simple structures, looping, and so on, NOT the arcane syntax of some particular language.

The written material should include as many small but "useful" program examples as possible, first with each concept individually demonstrated, then combining concepts into more sophisticated less-toy-like examples. I've also found that a particularly powerful instruction method is to present a very short piece of code along with five supposed outputs by that code but for which only one output is correct, and make the student determine which output is the answer.

Atlas: Manage your database schema as code

https://github.com/ariga/atlas
1•quectophoton•2m ago•0 comments

Geist Pixel

https://vercel.com/blog/introducing-geist-pixel
1•helloplanets•5m ago•0 comments

Show HN: MCP to get latest dependency package and tool versions

https://github.com/MShekow/package-version-check-mcp
1•mshekow•13m ago•0 comments

The better you get at something, the harder it becomes to do

https://seekingtrust.substack.com/p/improving-at-writing-made-me-almost
2•FinnLobsien•14m ago•0 comments

Show HN: WP Float – Archive WordPress blogs to free static hosting

https://wpfloat.netlify.app/
1•zizoulegrande•16m ago•0 comments

Show HN: I Hacked My Family's Meal Planning with an App

https://mealjar.app
1•melvinzammit•16m ago•0 comments

Sony BMG copy protection rootkit scandal

https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootkit_scandal
1•basilikum•19m ago•0 comments

The Future of Systems

https://novlabs.ai/mission/
2•tekbog•19m ago•1 comments

NASA now allowing astronauts to bring their smartphones on space missions

https://twitter.com/NASAAdmin/status/2019259382962307393
2•gbugniot•24m ago•0 comments

Claude Code Is the Inflection Point

https://newsletter.semianalysis.com/p/claude-code-is-the-inflection-point
3•throwaw12•25m ago•1 comments

Show HN: MicroClaw – Agentic AI Assistant for Telegram, Built in Rust

https://github.com/microclaw/microclaw
1•everettjf•26m ago•2 comments

Show HN: Omni-BLAS – 4x faster matrix multiplication via Monte Carlo sampling

https://github.com/AleatorAI/OMNI-BLAS
1•LowSpecEng•26m ago•1 comments

The AI-Ready Software Developer: Conclusion – Same Game, Different Dice

https://codemanship.wordpress.com/2026/01/05/the-ai-ready-software-developer-conclusion-same-game...
1•lifeisstillgood•28m ago•0 comments

AI Agent Automates Google Stock Analysis from Financial Reports

https://pardusai.org/view/54c6646b9e273bbe103b76256a91a7f30da624062a8a6eeb16febfe403efd078
1•JasonHEIN•32m ago•0 comments

Voxtral Realtime 4B Pure C Implementation

https://github.com/antirez/voxtral.c
2•andreabat•34m ago•1 comments

I Was Trapped in Chinese Mafia Crypto Slavery [video]

https://www.youtube.com/watch?v=zOcNaWmmn0A
2•mgh2•40m ago•0 comments

U.S. CBP Reported Employee Arrests (FY2020 – FYTD)

https://www.cbp.gov/newsroom/stats/reported-employee-arrests
1•ludicrousdispla•42m ago•0 comments

Show HN: I built a free UCP checker – see if AI agents can find your store

https://ucphub.ai/ucp-store-check/
2•vladeta•47m ago•1 comments

Show HN: SVGV – A Real-Time Vector Video Format for Budget Hardware

https://github.com/thealidev/VectorVision-SVGV
1•thealidev•49m ago•0 comments

Study of 150 developers shows AI generated code no harder to maintain long term

https://www.youtube.com/watch?v=b9EbCb5A408
1•lifeisstillgood•49m ago•0 comments

Spotify now requires premium accounts for developer mode API access

https://www.neowin.net/news/spotify-now-requires-premium-accounts-for-developer-mode-api-access/
1•bundie•52m ago•0 comments

When Albert Einstein Moved to Princeton

https://twitter.com/Math_files/status/2020017485815456224
1•keepamovin•53m ago•0 comments

Agents.md as a Dark Signal

https://joshmock.com/post/2026-agents-md-as-a-dark-signal/
2•birdculture•55m ago•0 comments

System time, clocks, and their syncing in macOS

https://eclecticlight.co/2025/05/21/system-time-clocks-and-their-syncing-in-macos/
1•fanf2•56m ago•0 comments

McCLIM and 7GUIs – Part 1: The Counter

https://turtleware.eu/posts/McCLIM-and-7GUIs---Part-1-The-Counter.html
2•ramenbytes•59m ago•0 comments

So whats the next word, then? Almost-no-math intro to transformer models

https://matthias-kainer.de/blog/posts/so-whats-the-next-word-then-/
1•oesimania•1h ago•0 comments

Ed Zitron: The Hater's Guide to Microsoft

https://bsky.app/profile/edzitron.com/post/3me7ibeym2c2n
2•vintagedave•1h ago•1 comments

UK infants ill after drinking contaminated baby formula of Nestle and Danone

https://www.bbc.com/news/articles/c931rxnwn3lo
1•__natty__•1h ago•0 comments

Show HN: Android-based audio player for seniors – Homer Audio Player

https://homeraudioplayer.app
3•cinusek•1h ago•2 comments

Starter Template for Ory Kratos

https://github.com/Samuelk0nrad/docker-ory
1•samuel_0xK•1h ago•0 comments