
Refactoring: This class is too large
In this article I walk through a set of refactorings from a real code base. This is not intended to demonstrate perfection, but it does represent reality.
4,235 articles on Engineering.

In this article I walk through a set of refactorings from a real code base. This is not intended to demonstrate perfection, but it does represent reality.

Prevent unwanted edits to your files by using the new file locking feature in the Dropbox API.

Nils Binder covers the ways:

We want to thank everyone who participated in the GitHub Actions Hackathon. We had hundreds of submissions, so here’s our top picks.

Check out Lee Reilly’s top ten tips and tricks to help you hack your GitHub experience. You won’t believe tip number eight!

We recently migrated the CAPTCHA provider we use from Google's reCAPTCHA to a service provided by the independent hCaptcha. Here's a walk through of the rationale in more detail.

Learn more about open source’s impact in the social sector from the Open Source for Good research paper.


In this episode of the Smashing Podcast we’re talking about online privacy. What should web developers be doing to make sure the privacy of our users is maintained? Drew McLellan talks to an expert on the subject, Laura Kalbag, to find out.

Let's build a literal grid of squares, and we'll put the logos of some magazines centered inside each square. I imagine plenty of you have had to build a logo

7am I’m definitely not a morning person, so when my alarm goes off, I can’t help but stay in bed a little while longer. I have two cats, Stella and Orion, who are especially cuddly in the mornings, so it’s hard to leave them and get out of bed. My cats are well known by…

When I prefer to use function declarations instead of arrow functions

When I arrived at Cloudflare for an internship in the summer of 2018, I was taken on a tour, introduced to my mentor who took me out for coffee (shoutout to Preston), and given a quick whiteboard overview of how Cloudflare works.

I just can't stop bookmarking great links related to typography. I'm afraid I'm going to have to subject you, yet again, to a bunch of them all grouped up. So

It's good!

Today we made a mistake. The mistake caused a number of LGBTQIA+ sites to inadvertently be blocked by the new 1.1.1.1 for Families service. I wanted to walk through what happened, why, and what we've done to fix it.

Today we are announcing that we will double the size of Cloudflare’s summer 2020 internship class.

If you’re looking for a new typeface for that side project of yours then here’s a great website by John D. Jameson that collects a bunch of the latest type

Justin Duke asks if treating code comments like footnotes could help us understand the code in a file better. In his mockup, all the comments are hidden by

While WARP started as an option within the 1.1.1.1 app, it's really a technology that can benefit any device connected to the Internet. In fact, one of the most common requests we've gotten over the last year is support for WARP for macOS and Windows. Today we're announcing exactly that.

is Spotify’s homegrown developer portal. We’ve been using it internally for years, but only recently released the open source version. You can read more about what Backstage does, and our plans for its future, in our previous post, “”

Podcasts are exploding in popularity. Since 2015, we’ve added hundreds of thousands of shows, and users are listening more and more. With the additions of acquisitions including Gimlet and Parcast, we have a whole host of expertly created content, and with the addition of DIY podcasting platform Anchor, now everyone has access to tools to create their own podcast and publish it to Spotify, so the

I like to start the day slowly – I’m not a morning person, so my husband kindly walks the dogs while I enjoy the peace and quiet, and wake myself up with a matcha or kombucha. After that, I’m more ready to get going and start to think about the day ahead of me.

Let’s welcome the new month with some fresh wallpapers. Designed with love by artists and designers from across the globe, they are available with and without a calendar for April 2020.

Laura Kalbag wrote How to read RSS in 2020. This would be a nice place to send someone curious about RSS: what it is, what it's for, and how you can start

This is so cool. I mean, GraphQL is already cool. It's very satisfying to write an understandable-looking query for whatever you want and then use that data


Axios can do a ton of stuff, but here's a simpler solution that can handle most use cases

Rewind to 2015. Back then, as with many other companies, all of Cloudflare’s internally-hosted applications were reached via a hardware-based VPN.

As part of our ongoing compliance efforts Cloudflare’s PCI scope is reviewed quarterly and after any significant changes to ensure all in-scope systems are operating in accordance with the PCI DSS.

Remember Tabletop.js? We just covered it a little bit ago in this same exact context: building editable websites. It’s a tool that turns a Google Sheet into

You don’t need to know your trees from your dangling blobs. If you use Git every day and feel like it’s a juggling act, then here are some tricks and tips to help make your life a bit easier. There’s been a lot written about getting started with git, understanding how git works under the hood or techniques for better branching strategies. In this article, Shane Hudson will specifically target the



Markdown has traditionally been a favorite format for programmers to write documentation. It’s simple enough for almost everyone to learn and adapt to while

A showcase of projects from the Vercel developer community, built during the COVID-19 pandemic.

We started the Bandwidth Alliance in 2018 with a group of like-minded cloud and networking partners. Our common goal was to help our mutual customers reduce or eliminate data transfer charges, sometimes known as "bandwidth” or “egress” fees, between the cloud and the consumer.

With just a simple one-liner of code you can use any emoji as a favicon of your website. 😃

Preventing ongoing deployments from building is now simply a matter of clicking a button.

I bet a lot of us tend to have the production website and the development website up simultaneously a lot. It's almost a developer cliché at this point to

Explore some impactful open source projects being created by teams around the world in response to COVID-19.

With so many people — including our workshop leaders — working from home, we thought we would bring our Smashing workshops from our home offices to yours. We hope we can help you continue to learn and interact with the speakers and each other, and also help out our workshop leaders who are losing income by being unable to run their workshops in person right now.

Take a look at some of the new features in the latest Git release.

We spoke with our latest GitHub Action Hero, Shohei Ueda, about the story behind Hugo setup, mdbook Action, and a few other projects.

Michael Scharnagl:

To add inline styles on an element in JSX, you have to do it in this object syntax, like:

This week, like most of you reading this article, I am working from home. I don’t know about you, but I’ve found it hard to stay focused when the Internet is full of news related to Coronavirus.

You’d think keepalives would always be helpful, but turns out reality isn’t always what you expect it to be. It really helps if you read Why does one NGINX worker take all the load? first.

Get good audio, use gallery view, mute if not talking, and welcome the cat.

#NewYearNewPack winner Frank Matranga shares how the Pack helped him bring his open-source student planner to life.

When it comes to motion and animations, there is probably nothing I love more than particles. This is why every time I explore new technologies I always end

I got myself confused about this the other day, went around searching for an answer and came up empty on finding something clear. The answer actually is quite

Chen Hui Jing notes that when you absolutely position a flex item, it's no longer part of the flex layout. Except... it kinda is a little bit. If you make the


Many teachers are moving to virtual solutions for managing student assignments, projects, and grading. Join webinars hosted by GitHub Education Experts to share how teachers can manage and organize their class with GitHub Classroom.

As the COVID-19 emergency continues and an increasing number of cities and countries are establishing quarantines or cordons sanitaire, the Internet has become, for many, the primary method to keep in touch with their friends and families.

Y'all know WooCommerce: it's a plugin for WordPress that adds robust eCommerce functionality to your site. Notably, like WordPress itself, it's open-source

Learn more about autograding and how it provides students with immediate feedback they can apply before an assignment is due.

Learn more about GitHub for mobile—including highlights of its core features and how to get started.

We’re excited to announce that npm will be joining GitHub.