Reddit Programming
212 subscribers
1.22K photos
125K links
I will send you newest post from subreddit /r/programming
Download Telegram
Testing Code When the Output Isn’t Predictable
https://www.reddit.com/r/programming/comments/1qv5vsj/testing_code_when_the_output_isnt_predictable/

<!-- SC_OFF -->Your test passed. Run it again. Now, it fails. Run it five more times, and it passes four of them. Is that a bug? When an LLM becomes part of the unit you're testing, a single test run stops being meaningful. The same test, same input, different results. After a recent discussion my collegues, I think the question we should be asking isn't "did this test pass?" but "how reliable is this behavior?" If something passes 80% of the time, that might be perfectly acceptable. After a recent discussion with my colleagues, I think the question we should be asking isn't "did this test pass?" but "how reliable is this behavior?" I believe our test frameworks need to evolve. Run the same test multiple times, evaluate against a minimum pass rate, with sensible defaults (runs = 1, minPassRate = 1.0) so existing tests don't break. //@test:Config { runs: 10, minPassRate: 0.8 }
function testLLMAgent() {
// Your Ballerina code here :)
} This feels like the new normal for testing AI-powered code. Curious how others are approaching this. <!-- SC_ON --> submitted by /u/CoyoteIntelligent167 (https://www.reddit.com/user/CoyoteIntelligent167)
[link] (https://github.com/ballerina-platform/ballerina-spec/issues/1402) [comments] (https://www.reddit.com/r/programming/comments/1qv5vsj/testing_code_when_the_output_isnt_predictable/)
Why Vibe First Development Collapses Under Its Own Freedom
https://www.reddit.com/r/programming/comments/1qv9ej6/why_vibe_first_development_collapses_under_its/

<!-- SC_OFF -->Why Vibe-First Development Collapses Under Its Own Freedom Vibe-first development feels empowering at first, but freedom without constraints slowly turns into inconsistency, technical debt, and burnout. This long-form essay explains why it collapses over time. https://techyall.com/blog/why-vibe-first-development-collapses-under-its-own-freedom <!-- SC_ON --> submitted by /u/justok25 (https://www.reddit.com/user/justok25)
[link] (https://techyall.com/blog/why-vibe-first-development-collapses-under-its-own-freedom) [comments] (https://www.reddit.com/r/programming/comments/1qv9ej6/why_vibe_first_development_collapses_under_its/)
Good Code editors??
https://www.reddit.com/r/programming/comments/1qvesd6/good_code_editors/

<!-- SC_OFF -->I have used some decent editors for 2 years i want one pick among them.. I have used neovim , emacs , pulsor, vs codium . I want 2 decent editors suggest any two.. Codeeditors like vim or emacs suggest with extensions .. <!-- SC_ON --> submitted by /u/User_reddit69 (https://www.reddit.com/user/User_reddit69)
[link] (https://maxwellj.vivaldi.net/2025/04/03/code-editors-my-top-7-picks/) [comments] (https://www.reddit.com/r/programming/comments/1qvesd6/good_code_editors/)
Why I am switching from Arch (Manjaro) to Debian
https://www.reddit.com/r/programming/comments/1qvh426/why_i_am_switching_from_arch_manjaro_to_debian/

<!-- SC_OFF -->Arch is a rolling release distro with the latest release of each package always available. It has one of the largest no. of packages. However, as I grew from a tech enthusiast to a seasoned developer, I am starting to value stability over latest tech. Hence, I am planning to switch to Debian. Debian is the opposite of Arch. It does not have latest software, but it is stable. It does not break as much, and it is a one time setup. Which Linux distro do you use? <!-- SC_ON --> submitted by /u/access2content (https://www.reddit.com/user/access2content)
[link] (https://access2vivek.com/planning-to-switch-from-manjaro-to-debian/) [comments] (https://www.reddit.com/r/programming/comments/1qvh426/why_i_am_switching_from_arch_manjaro_to_debian/)
Microsoft Has Killed Widgets Six Times. Here's Why They Keep Coming Back.
https://www.reddit.com/r/programming/comments/1qvjvk4/microsoft_has_killed_widgets_six_times_heres_why/

<!-- SC_OFF -->If you think Microsoft breaking Windows is a new thing - they've killed their own widget platform 6 times in 30 years. Each one died from a different spectacular failure. I dug through the full history from Active Desktop crashing explorer.exe in 1997 to the EU forcing a complete rebuild in 2024. The latest iteration might actually be done right - or might be killed by Microsoft's desire to shove ads and AI into every surface. We'll see <!-- SC_ON --> submitted by /u/xakpc (https://www.reddit.com/user/xakpc)
[link] (https://xakpc.dev/windows-widgets/history/) [comments] (https://www.reddit.com/r/programming/comments/1qvjvk4/microsoft_has_killed_widgets_six_times_heres_why/)
Native UI toolkit Slint 1.15 released 🎉
https://www.reddit.com/r/programming/comments/1qvslun/native_ui_toolkit_slint_115_released/

<!-- SC_OFF -->This release brings dynamic GridLayout (with `for` loops), two-way bindings on struct fields, Python type hints via slint-compiler, and improved iOS/Android support (safe area + virtual keyboard areas). <!-- SC_ON --> submitted by /u/slint-ui (https://www.reddit.com/user/slint-ui)
[link] (https://slint.dev/blog/slint-1.15-released) [comments] (https://www.reddit.com/r/programming/comments/1qvslun/native_ui_toolkit_slint_115_released/)
A Modern Python Stack for Data Projects (uv + ruff + ty + Marimo + Polars)
https://www.reddit.com/r/programming/comments/1qvxgvx/a_modern_python_stack_for_data_projects_uv_ruff/

<!-- SC_OFF -->I put together a template repo for Python data projects (linked in the article) and wrote up the “why” behind the tool choices and trade-offs. TL;DR stack in the template: uv for project + env management ruff for linting + formatting ty as a newer, fast type checker Marimo instead of Jupyter for reactive, reproducible notebooks that are just .py files Polars for local wrangling/analytics Curious what others are using in 2026 for this workflow, and where this setup falls short <!-- SC_ON --> submitted by /u/makeKarmaGreatAgain (https://www.reddit.com/user/makeKarmaGreatAgain)
[link] (https://www.mameli.dev/blog/modern-data-python-stack/) [comments] (https://www.reddit.com/r/programming/comments/1qvxgvx/a_modern_python_stack_for_data_projects_uv_ruff/)