Code Must Be Clean. And Clear.

There is a famous book by Robert Martin called Clean Code . The title is an obvious call to all of us: the code must be clean . Clean, like a kitchen, I suppose—there are no dirty dishes, no garbage on the floor, no smelly towels. Dirt to be cleaned in a code base, according to Martin, includes large methods, …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Wednesday September 12, 2018

Forge: Bitbucket API v2 Changes

Beginning tomorrow, Forge will begin using Bitbucket’s 2.0 API by default, since the 1.0 API will be removed from service at the end of this year. Bitbucket’s 2.0 API does not have feature parity with their old API; therefore, after creating new servers, you will need to manually add the server’s SSH key to your …

Continue reading »

Written by Taylor Otwell - - Aggregated on Tuesday September 11, 2018

300 Multiple Choices

300 Multiple Choices is the first of the 3xx series, which are all used for redirection. 300 should be emitted specifically when a resource can redirect to more than one location, and it wants the user to decide which one. Support for 300 is scarce. In the past both the URI and Alternates HTTP …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday September 11, 2018

Final classes by default, why?

I recently wrote about when to add an interface to a class . After explaining good reasons for adding an interface, I claim that if none of those reasons apply in your situation, you should just use a class and declare it "final". PHP 5 introduces the final keyword, which prevents child classes from overridin…

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday September 11, 2018

The Effectiveness of Publicly Shaming Bad Security

Here's how it normally plays out: It all begins when a company pops up online and makes some sort of ludicrous statement related to their security posture, often as part of a discussion on a public social media platform such as Twitter. Shortly thereafter, the masses descend on said organisation and express their …

Continue reading »

Written by Troy Hunt - - Aggregated on Tuesday September 11, 2018

Web Design Weekly #332

Headlines The ‘Capable Web’: A 10 Year Retrospective The Chrome team highlight some of the major changes they have helped bring to the web in the last 10 years. ( Accessibility is not a feature Ethan Marcotte shares some strong thoughts about how we should be treating accessibility within …

Continue reading »

Written by Web Design Weekly - - Aggregated on Tuesday September 11, 2018