Possibly one step towards named arguments in Rust, Why the C Language Will Never Stop You from Making Mistakes, The implication of const or reference

View email in your browser

1f0314a4-8aab-4e0f-926f-2f00a8e93e02.png
Issue #525 - August 21, 2020

Articles

Possibly one step towards named arguments in Rust

(Aug 08) #rust Save to Pocket

Named arguments are pretty much when you can assign variables in a function call without worrying about their order. Kind of like function(x = 1, y = 3, z = 3, i = 7). They make "function calls much more readable and safer". In this exploratory article, David Teller discusses what named or labelled arguments in Rust might look like from a semantics point of view, "without breaking the existing type system".

Why the C Language Will Never Stop You from Making Mistakes

(Aug 09) #c Save to Pocket

A lot of infrastructure is built on top of C. It's fast and has been around for a while. One of the problems with long standing code is how to keep it up-to-date. Well the answer when it comes to C code, is it isn't really. JeanHeyd Meneide, Project Editor for C, has written an article about what the C committee priorities are when it comes to new features and what influences them. JeanHeyd also brings up plenty of examples as backup.

The implication of const or reference member variables in C++

(Aug 18) #cpp Save to Pocket

The const keyword for defining variable is used to make that variable unassignable to another value. That might sound like a good thing; it makes it clear that this specific variable shouldn't be reassigned a value. Unfortunately, that is pretty limiting in C++, where some common std functions depend on mutability. In this informative article, Lesley Lai describes the problems associated with using const in C++, but also where it and reference members can come in handy.

And that's it for today! Discuss this issue at our subreddit r/morningcupofcoding.

Did you like what you read? Let us know by clicking one of the links below.

Liked - Disliked

I hope you enjoyed reading the latest issue of Morning Cup of Coding. If you did, consider supporting us by becoming a patron (Patreon) for perks like ad-free issues, or via a one-time donation via PayPal.

Interested in sponsoring our newsletter? Click here to send us an email.

Cheers,
Alex

A Human Readable Project
Copyright © 2020 Human Readable Publications, All rights reserved.
You are receiving this email because you opted in via our website.

Our mailing address is:
Human Readable Publications
3015 31st Ave
Astoria, NY 11106-2404

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp

You Might Also Like

Stop spam texts today!

Saturday, May 4, 2024

Have you been receiving a ton of spam texts lately? In April alone, spammers sent out over 19.2 billion texts. Ever wonder where they get your info to begin with? Data brokers. They sell your address,

DeveloPassion's Newsletter #165 - She Said Yes ❤️

Saturday, May 4, 2024

Edition 165 of my newsletter, discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's

📧 Implementing API Gateway Authentication With YARP

Saturday, May 4, 2024

​ Implementing API Gateway Authentication With YARP Read on: m​y website / Read time: 5 minutes BROUGHT TO YOU BY ​ Supercharging Development With AI and APIs ​ ​Announcing Postman v11: Streamline API

Software Testing Weekly - Issue 218

Friday, May 3, 2024

Unit, Integration and End-to-End Tests 🔧 View on the Web Archives ISSUE 218 May 4th 2024 COMMENT Welcome to the 218th issue! I loved going through this discussion among software engineers: What is your

gpt2-chatbot and OpenAI search engine - Weekly News Roundup - Issue #465

Friday, May 3, 2024

Plus: Med-Gemini; Vidu - Chinese answer to OpenAI's Sora; the first race of Abu Dhabi Autonomous Racing League; deepfaking celebrities to teach math and physics; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

NASA comes to the rescue of crowded rocket launch sites

Friday, May 3, 2024

Plus: Fisker's legal woes and Sprinklr lays off 100 View this email online in your browser By Christine Hall Friday, May 3, 2024 Good afternoon, and welcome to TechCrunch PM. We made it to Friday,

🎮 Forget the PS5 Pro, I Still Love My PS4 — The Best Lock Screen Widgets for iPhone

Friday, May 3, 2024

Also: Smart Home Mistakes to Avoid, and More! How-To Geek Logo May 3, 2024 Did You Know Half of the world's geysers are located in Yellowstone National Park. 🔑 More Passkeys Happy Friday! You can

JSK Daily for May 3, 2024

Friday, May 3, 2024

JSK Daily for May 3, 2024 View this email in your browser A community curated daily e-mail of JavaScript news The Power of React's Virtual DOM: A Comprehensive Explanation Modern JavaScript

Musk raises $6B for AI startup

Friday, May 3, 2024

Also, is TikTok dodging Apple's commissions? View this email online in your browser By Haje Jan Kamps Friday, May 3, 2024 Welcome to Startups Weekly — Haje's weekly recap of everything you can

SWLW #597: Seek first to understand, The "Iterative Adjacent Possible", and more.

Friday, May 3, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found