do {...} while (0) in macros
https://www.reddit.com/r/programming/comments/1kn3xya/do_while_0_in_macros/
submitted by /u/stackoverflooooooow (https://www.reddit.com/user/stackoverflooooooow)
[link] (https://www.pixelstech.net/article/1390482950-do-%7B-%7D-while-%280%29-in-macros) [comments] (https://www.reddit.com/r/programming/comments/1kn3xya/do_while_0_in_macros/)
https://www.reddit.com/r/programming/comments/1kn3xya/do_while_0_in_macros/
submitted by /u/stackoverflooooooow (https://www.reddit.com/user/stackoverflooooooow)
[link] (https://www.pixelstech.net/article/1390482950-do-%7B-%7D-while-%280%29-in-macros) [comments] (https://www.reddit.com/r/programming/comments/1kn3xya/do_while_0_in_macros/)
We explored how DCP (Dynamic Contract Protocol) could complement MCP and A2A for dynamic API generation
https://www.reddit.com/r/programming/comments/1kn44bv/we_explored_how_dcp_dynamic_contract_protocol/
<!-- SC_OFF -->We’ve been experimenting with DCP — a protocol where clients define what they need via ContractMessage, and the server generates custom endpoints, schemas, and policies at runtime. Blog post here: https://medium.com/@gokayokutucu/a-complementary-approach-to-mcp-and-a2a-dynamic-contract-protocol-984333cc74ee Curious to hear your thoughts... <!-- SC_ON --> submitted by /u/okutucu (https://www.reddit.com/user/okutucu)
[link] (https://medium.com/@gokayokutucu/a-complementary-approach-to-mcp-and-a2a-dynamic-contract-protocol-984333cc74ee) [comments] (https://www.reddit.com/r/programming/comments/1kn44bv/we_explored_how_dcp_dynamic_contract_protocol/)
https://www.reddit.com/r/programming/comments/1kn44bv/we_explored_how_dcp_dynamic_contract_protocol/
<!-- SC_OFF -->We’ve been experimenting with DCP — a protocol where clients define what they need via ContractMessage, and the server generates custom endpoints, schemas, and policies at runtime. Blog post here: https://medium.com/@gokayokutucu/a-complementary-approach-to-mcp-and-a2a-dynamic-contract-protocol-984333cc74ee Curious to hear your thoughts... <!-- SC_ON --> submitted by /u/okutucu (https://www.reddit.com/user/okutucu)
[link] (https://medium.com/@gokayokutucu/a-complementary-approach-to-mcp-and-a2a-dynamic-contract-protocol-984333cc74ee) [comments] (https://www.reddit.com/r/programming/comments/1kn44bv/we_explored_how_dcp_dynamic_contract_protocol/)
Lazarus - Delphi risen from the dead?
https://www.reddit.com/r/programming/comments/1kn5s1y/lazarus_delphi_risen_from_the_dead/
submitted by /u/loadingglife (https://www.reddit.com/user/loadingglife)
[link] (https://ecency.com/@makerhacks/lazarus-delphi-risen-from-the-dead) [comments] (https://www.reddit.com/r/programming/comments/1kn5s1y/lazarus_delphi_risen_from_the_dead/)
https://www.reddit.com/r/programming/comments/1kn5s1y/lazarus_delphi_risen_from_the_dead/
submitted by /u/loadingglife (https://www.reddit.com/user/loadingglife)
[link] (https://ecency.com/@makerhacks/lazarus-delphi-risen-from-the-dead) [comments] (https://www.reddit.com/r/programming/comments/1kn5s1y/lazarus_delphi_risen_from_the_dead/)
What Every Programmer Should Know About Enumerative Combinatorics
https://www.reddit.com/r/programming/comments/1kn6l36/what_every_programmer_should_know_about/
submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/counting-integer-compositions) [comments] (https://www.reddit.com/r/programming/comments/1kn6l36/what_every_programmer_should_know_about/)
https://www.reddit.com/r/programming/comments/1kn6l36/what_every_programmer_should_know_about/
submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/counting-integer-compositions) [comments] (https://www.reddit.com/r/programming/comments/1kn6l36/what_every_programmer_should_know_about/)
Simulating GraphQL APIs
https://www.reddit.com/r/programming/comments/1knais1/simulating_graphql_apis/
submitted by /u/WireMock (https://www.reddit.com/user/WireMock)
[link] (https://www.wiremock.io/post/how-to-simulate-graphql-apis-and-how-we-do-it) [comments] (https://www.reddit.com/r/programming/comments/1knais1/simulating_graphql_apis/)
https://www.reddit.com/r/programming/comments/1knais1/simulating_graphql_apis/
submitted by /u/WireMock (https://www.reddit.com/user/WireMock)
[link] (https://www.wiremock.io/post/how-to-simulate-graphql-apis-and-how-we-do-it) [comments] (https://www.reddit.com/r/programming/comments/1knais1/simulating_graphql_apis/)
Demystifying the protobuf wire format - Part 2
https://www.reddit.com/r/programming/comments/1knb77o/demystifying_the_protobuf_wire_format_part_2/
submitted by /u/mallenspach (https://www.reddit.com/user/mallenspach)
[link] (https://kreya.app/blog/protocolbuffers-wire-format-part-2/) [comments] (https://www.reddit.com/r/programming/comments/1knb77o/demystifying_the_protobuf_wire_format_part_2/)
https://www.reddit.com/r/programming/comments/1knb77o/demystifying_the_protobuf_wire_format_part_2/
submitted by /u/mallenspach (https://www.reddit.com/user/mallenspach)
[link] (https://kreya.app/blog/protocolbuffers-wire-format-part-2/) [comments] (https://www.reddit.com/r/programming/comments/1knb77o/demystifying_the_protobuf_wire_format_part_2/)
Oh Sh*t, My App is Successful and I Didn’t Think About Accessibility
https://www.reddit.com/r/programming/comments/1knbvg8/oh_sht_my_app_is_successful_and_i_didnt_think/
submitted by /u/jacobs-tech-tavern (https://www.reddit.com/user/jacobs-tech-tavern)
[link] (https://blog.jacobstechtavern.com/p/oh-sht-my-app-is-successful-and-i) [comments] (https://www.reddit.com/r/programming/comments/1knbvg8/oh_sht_my_app_is_successful_and_i_didnt_think/)
https://www.reddit.com/r/programming/comments/1knbvg8/oh_sht_my_app_is_successful_and_i_didnt_think/
submitted by /u/jacobs-tech-tavern (https://www.reddit.com/user/jacobs-tech-tavern)
[link] (https://blog.jacobstechtavern.com/p/oh-sht-my-app-is-successful-and-i) [comments] (https://www.reddit.com/r/programming/comments/1knbvg8/oh_sht_my_app_is_successful_and_i_didnt_think/)
I finally "got" the Single Responsibility Principle — wrote a story-style blog to make it easier for others too
https://www.reddit.com/r/programming/comments/1knby3z/i_finally_got_the_single_responsibility_principle/
<!-- SC_OFF -->Hey folks,
As a new developer, I always struggled to understand SOLID principles in practice. Recently, I started turning them into stories — something that feels less like theory and more like real-life dev convos. My latest one is on Single Responsibility Principle, told as a conversation between a junior dev (me, basically) and a senior dev with lots of experience.
Includes humor, code in Go, and practical refactoring steps. If you're trying to write cleaner code or just want to reinforce SRP, I’d love for you to give it a read and share thoughts. 👉 https://medium.com/design-bootcamp/from-theory-to-practice-single-responsibility-principle-with-jamie-chris-cd380c61e2ad Happy to hear feedback or discuss other principles too! <!-- SC_ON --> submitted by /u/priyankchheda15 (https://www.reddit.com/user/priyankchheda15)
[link] (https://medium.com/design-bootcamp/from-theory-to-practice-single-responsibility-principle-with-jamie-chris-cd380c61e2ad) [comments] (https://www.reddit.com/r/programming/comments/1knby3z/i_finally_got_the_single_responsibility_principle/)
https://www.reddit.com/r/programming/comments/1knby3z/i_finally_got_the_single_responsibility_principle/
<!-- SC_OFF -->Hey folks,
As a new developer, I always struggled to understand SOLID principles in practice. Recently, I started turning them into stories — something that feels less like theory and more like real-life dev convos. My latest one is on Single Responsibility Principle, told as a conversation between a junior dev (me, basically) and a senior dev with lots of experience.
Includes humor, code in Go, and practical refactoring steps. If you're trying to write cleaner code or just want to reinforce SRP, I’d love for you to give it a read and share thoughts. 👉 https://medium.com/design-bootcamp/from-theory-to-practice-single-responsibility-principle-with-jamie-chris-cd380c61e2ad Happy to hear feedback or discuss other principles too! <!-- SC_ON --> submitted by /u/priyankchheda15 (https://www.reddit.com/user/priyankchheda15)
[link] (https://medium.com/design-bootcamp/from-theory-to-practice-single-responsibility-principle-with-jamie-chris-cd380c61e2ad) [comments] (https://www.reddit.com/r/programming/comments/1knby3z/i_finally_got_the_single_responsibility_principle/)
Good runbooks are a MUST - unless you want to risk a heart attack
https://www.reddit.com/r/programming/comments/1knbyq5/good_runbooks_are_a_must_unless_you_want_to_risk/
submitted by /u/shift_devs (https://www.reddit.com/user/shift_devs)
[link] (https://shiftmag.dev/how-to-create-good-runbooks-4950/) [comments] (https://www.reddit.com/r/programming/comments/1knbyq5/good_runbooks_are_a_must_unless_you_want_to_risk/)
https://www.reddit.com/r/programming/comments/1knbyq5/good_runbooks_are_a_must_unless_you_want_to_risk/
submitted by /u/shift_devs (https://www.reddit.com/user/shift_devs)
[link] (https://shiftmag.dev/how-to-create-good-runbooks-4950/) [comments] (https://www.reddit.com/r/programming/comments/1knbyq5/good_runbooks_are_a_must_unless_you_want_to_risk/)
Day 23: Build Your Own Custom Transform Stream in Node.js
https://www.reddit.com/r/programming/comments/1knc5xi/day_23_build_your_own_custom_transform_stream_in/
submitted by /u/MysteriousEye8494 (https://www.reddit.com/user/MysteriousEye8494)
[link] (https://blog.stackademic.com/day-23-build-your-own-custom-transform-stream-in-node-js-9b2be484405d) [comments] (https://www.reddit.com/r/programming/comments/1knc5xi/day_23_build_your_own_custom_transform_stream_in/)
https://www.reddit.com/r/programming/comments/1knc5xi/day_23_build_your_own_custom_transform_stream_in/
submitted by /u/MysteriousEye8494 (https://www.reddit.com/user/MysteriousEye8494)
[link] (https://blog.stackademic.com/day-23-build-your-own-custom-transform-stream-in-node-js-9b2be484405d) [comments] (https://www.reddit.com/r/programming/comments/1knc5xi/day_23_build_your_own_custom_transform_stream_in/)
Lambdaspeed: Computing 2^1000 in 7 seconds with semioptimal lambda calculus
https://www.reddit.com/r/programming/comments/1knc80u/lambdaspeed_computing_21000_in_7_seconds_with/
submitted by /u/etiams (https://www.reddit.com/user/etiams)
[link] (https://github.com/etiams/lambdaspeed) [comments] (https://www.reddit.com/r/programming/comments/1knc80u/lambdaspeed_computing_21000_in_7_seconds_with/)
https://www.reddit.com/r/programming/comments/1knc80u/lambdaspeed_computing_21000_in_7_seconds_with/
submitted by /u/etiams (https://www.reddit.com/user/etiams)
[link] (https://github.com/etiams/lambdaspeed) [comments] (https://www.reddit.com/r/programming/comments/1knc80u/lambdaspeed_computing_21000_in_7_seconds_with/)
Microsoft support for "Faster CPython" project cancelled
https://www.reddit.com/r/programming/comments/1kncoi8/microsoft_support_for_faster_cpython_project/
submitted by /u/Halkcyon (https://www.reddit.com/user/Halkcyon)
[link] (https://www.linkedin.com/posts/mdboom_its-been-a-tough-couple-of-days-microsofts-activity-7328583333536268289-p4Lp) [comments] (https://www.reddit.com/r/programming/comments/1kncoi8/microsoft_support_for_faster_cpython_project/)
https://www.reddit.com/r/programming/comments/1kncoi8/microsoft_support_for_faster_cpython_project/
submitted by /u/Halkcyon (https://www.reddit.com/user/Halkcyon)
[link] (https://www.linkedin.com/posts/mdboom_its-been-a-tough-couple-of-days-microsofts-activity-7328583333536268289-p4Lp) [comments] (https://www.reddit.com/r/programming/comments/1kncoi8/microsoft_support_for_faster_cpython_project/)
10 Years of Stable Rust: An Infrastructure Story
https://www.reddit.com/r/programming/comments/1kncunj/10_years_of_stable_rust_an_infrastructure_story/
submitted by /u/steveklabnik1 (https://www.reddit.com/user/steveklabnik1)
[link] (https://rustfoundation.org/media/10-years-of-stable-rust-an-infrastructure-story/) [comments] (https://www.reddit.com/r/programming/comments/1kncunj/10_years_of_stable_rust_an_infrastructure_story/)
https://www.reddit.com/r/programming/comments/1kncunj/10_years_of_stable_rust_an_infrastructure_story/
submitted by /u/steveklabnik1 (https://www.reddit.com/user/steveklabnik1)
[link] (https://rustfoundation.org/media/10-years-of-stable-rust-an-infrastructure-story/) [comments] (https://www.reddit.com/r/programming/comments/1kncunj/10_years_of_stable_rust_an_infrastructure_story/)
ELI5: HTTP Authentication - Basic Auth, Bearer Auth and Cookie Auth
https://www.reddit.com/r/programming/comments/1kndh67/eli5_http_authentication_basic_auth_bearer_auth/
submitted by /u/trolleid (https://www.reddit.com/user/trolleid)
[link] (https://lukasniessen.com/blog/05-http-authentication/) [comments] (https://www.reddit.com/r/programming/comments/1kndh67/eli5_http_authentication_basic_auth_bearer_auth/)
https://www.reddit.com/r/programming/comments/1kndh67/eli5_http_authentication_basic_auth_bearer_auth/
submitted by /u/trolleid (https://www.reddit.com/user/trolleid)
[link] (https://lukasniessen.com/blog/05-http-authentication/) [comments] (https://www.reddit.com/r/programming/comments/1kndh67/eli5_http_authentication_basic_auth_bearer_auth/)
Deactivating an API, One Step at a Time
https://www.reddit.com/r/programming/comments/1knekzv/deactivating_an_api_one_step_at_a_time/
submitted by /u/ZuploAdrian (https://www.reddit.com/user/ZuploAdrian)
[link] (https://apichangelog.substack.com/p/deactivating-an-api-one-step-at-a) [comments] (https://www.reddit.com/r/programming/comments/1knekzv/deactivating_an_api_one_step_at_a_time/)
https://www.reddit.com/r/programming/comments/1knekzv/deactivating_an_api_one_step_at_a_time/
submitted by /u/ZuploAdrian (https://www.reddit.com/user/ZuploAdrian)
[link] (https://apichangelog.substack.com/p/deactivating-an-api-one-step-at-a) [comments] (https://www.reddit.com/r/programming/comments/1knekzv/deactivating_an_api_one_step_at_a_time/)
The best new features and fixes in Python 3.14
https://www.reddit.com/r/programming/comments/1knnuze/the_best_new_features_and_fixes_in_python_314/
<!-- SC_OFF -->Template strings, deferred annotations, better error messages, and a new debugger interface are among the goodies in Python 3.14. Now in beta. (May 2025) <!-- SC_ON --> submitted by /u/Choobeen (https://www.reddit.com/user/Choobeen)
[link] (https://www.infoworld.com/article/3975624/the-best-new-features-and-fixes-in-python-3-14.html) [comments] (https://www.reddit.com/r/programming/comments/1knnuze/the_best_new_features_and_fixes_in_python_314/)
https://www.reddit.com/r/programming/comments/1knnuze/the_best_new_features_and_fixes_in_python_314/
<!-- SC_OFF -->Template strings, deferred annotations, better error messages, and a new debugger interface are among the goodies in Python 3.14. Now in beta. (May 2025) <!-- SC_ON --> submitted by /u/Choobeen (https://www.reddit.com/user/Choobeen)
[link] (https://www.infoworld.com/article/3975624/the-best-new-features-and-fixes-in-python-3-14.html) [comments] (https://www.reddit.com/r/programming/comments/1knnuze/the_best_new_features_and_fixes_in_python_314/)
My 16 Year Old Vibe Coded His School Project With GitHub Copilot
https://www.reddit.com/r/programming/comments/1knsxew/my_16_year_old_vibe_coded_his_school_project_with/
submitted by /u/derjanni (https://www.reddit.com/user/derjanni)
[link] (https://programmers.fyi/my-16-year-old-vibe-coded-his-school-project-with-github-copilot) [comments] (https://www.reddit.com/r/programming/comments/1knsxew/my_16_year_old_vibe_coded_his_school_project_with/)
https://www.reddit.com/r/programming/comments/1knsxew/my_16_year_old_vibe_coded_his_school_project_with/
submitted by /u/derjanni (https://www.reddit.com/user/derjanni)
[link] (https://programmers.fyi/my-16-year-old-vibe-coded-his-school-project-with-github-copilot) [comments] (https://www.reddit.com/r/programming/comments/1knsxew/my_16_year_old_vibe_coded_his_school_project_with/)
Senior devs aren't just faster, they're dodging problems you're forced to solve
https://www.reddit.com/r/programming/comments/1knu1w1/senior_devs_arent_just_faster_theyre_dodging/
submitted by /u/L_Impala (https://www.reddit.com/user/L_Impala)
[link] (https://boydkane.com/essays/experts) [comments] (https://www.reddit.com/r/programming/comments/1knu1w1/senior_devs_arent_just_faster_theyre_dodging/)
https://www.reddit.com/r/programming/comments/1knu1w1/senior_devs_arent_just_faster_theyre_dodging/
submitted by /u/L_Impala (https://www.reddit.com/user/L_Impala)
[link] (https://boydkane.com/essays/experts) [comments] (https://www.reddit.com/r/programming/comments/1knu1w1/senior_devs_arent_just_faster_theyre_dodging/)
Feature Flags for the Win: System vs. User Flags and When to Use Them
https://www.reddit.com/r/programming/comments/1knu94r/feature_flags_for_the_win_system_vs_user_flags/
submitted by /u/congolomera (https://www.reddit.com/user/congolomera)
[link] (https://bencane.com/system-vs-user-flags-and-when-to-use-them-b7fa0ace2315?source=friends_link&sk=727ad8bb045c4491dfd648f2b5b004de) [comments] (https://www.reddit.com/r/programming/comments/1knu94r/feature_flags_for_the_win_system_vs_user_flags/)
https://www.reddit.com/r/programming/comments/1knu94r/feature_flags_for_the_win_system_vs_user_flags/
submitted by /u/congolomera (https://www.reddit.com/user/congolomera)
[link] (https://bencane.com/system-vs-user-flags-and-when-to-use-them-b7fa0ace2315?source=friends_link&sk=727ad8bb045c4491dfd648f2b5b004de) [comments] (https://www.reddit.com/r/programming/comments/1knu94r/feature_flags_for_the_win_system_vs_user_flags/)
which one you prefer most? cookies v/s localStorage
https://www.reddit.com/r/programming/comments/1knug7y/which_one_you_prefer_most_cookies_vs_localstorage/
submitted by /u/Sonu_singha (https://www.reddit.com/user/Sonu_singha)
[link] (https://notepen.vercel.app/view/6826defd46939235d2180e0e) [comments] (https://www.reddit.com/r/programming/comments/1knug7y/which_one_you_prefer_most_cookies_vs_localstorage/)
https://www.reddit.com/r/programming/comments/1knug7y/which_one_you_prefer_most_cookies_vs_localstorage/
submitted by /u/Sonu_singha (https://www.reddit.com/user/Sonu_singha)
[link] (https://notepen.vercel.app/view/6826defd46939235d2180e0e) [comments] (https://www.reddit.com/r/programming/comments/1knug7y/which_one_you_prefer_most_cookies_vs_localstorage/)
A leap year check in three instructions
https://www.reddit.com/r/programming/comments/1knux32/a_leap_year_check_in_three_instructions/
submitted by /u/Xadartt (https://www.reddit.com/user/Xadartt)
[link] (https://hueffner.de/falk/blog/a-leap-year-check-in-three-instructions.html) [comments] (https://www.reddit.com/r/programming/comments/1knux32/a_leap_year_check_in_three_instructions/)
https://www.reddit.com/r/programming/comments/1knux32/a_leap_year_check_in_three_instructions/
submitted by /u/Xadartt (https://www.reddit.com/user/Xadartt)
[link] (https://hueffner.de/falk/blog/a-leap-year-check-in-three-instructions.html) [comments] (https://www.reddit.com/r/programming/comments/1knux32/a_leap_year_check_in_three_instructions/)