Loading…

The Overflow #82: Best practices for comments

Article hero image

Welcome to ISSUE #82 of the Overflow! This newsletter is by developers, for developers, written and curated by the Stack Overflow team and Cassidy Williams at Netlify. This week: why you should mentor others, does GPL apply to neural network models, and hacking the React AST.

From the blog

Best practices for writing code comments stackoverflow.blog While there are many resources to help programmers write better code, there are few for writing better comments. Here are some rules on how to leave great guidance alongside your code.

The unexpected benefits of mentoring others stackoverflow.blog At some point in your career, you may seek out a mentor. Less well known are the benefits of becoming a mentor yourself.

The Stack Overflow Podcast 354: Building for AR with Niantic Labs’ augmented reality SDK stackoverflow.blog From catching Pokemon to purchasing furniture, augmented reality is becoming increasingly common on mobile apps.

Passionate About DevOps? Attend GitLab Commit Aug. 3-4, 2021 promotion Join us for free! GitLab Commit showcases how software professionals iterate to spark transformation, innovation, and collaboration. During this 2-day conference, attendees learn practical techniques and useful insights to implement at their orgs.

Interesting questions

Why was ‘…’ chosen for characters, and “…” for strings? retrocomputing.stackexchange.com In the alphabet and in programming languages, C comes after B.

Why is Promise.then called twice in a React component but not the console.log? stackoverflow.com A case of over promising and under delivering?

How does GPL apply to neural network models? opensource.stackexchange.com If GPL is a license for code, do neural network models count as code?

What happens to an electron if given quantized energy to jump to a full orbital? physics.stackexchange.com Like the long suffering junior dev, electrons have a hard time getting promoted.

Links from around the web

How to help developers work in the flow dev.to We’ve all been “in the zone” at one point or another. Here’s an excellent deep dive (with some great quotes from Stack Overflow co-founder Joel Spolsky) about getting into that “flow state” and what might get us out of it, as well.

Building a responsive layout with CSS grid and container queries! w/ Stephanie Eckles www.youtube.com Steph Eckles walks us through building a layout that starts as a grid and groooows into something pretty dang cool.

Hacking the React AST for fun and profit swizec.com This author cleverly hacks his own paywall to illustrate how to work with React’s Abstract Syntax Tree!

A look at building with Astro css-tricks.com Astro is the new kid on the block in terms of JavaScript frameworks, but it does one weird trick: it doesn’t actually ship JavaScript by default. Whaaat?

Onboard, organize, and bring your team up to speed in a jiffy. Try Stack Overflow for Teams.

Login with your stackoverflow.com account to take part in the discussion.