In the overall API lifecycle, it is important to first align APIs with business capabilities, turn this into a clear and business-aligned value proposition for the API, and to also produce some API stories that demonstrate how to use that new digital building block.
Software Engineering
However, as APIs become increasingly crucial for running a business, it's critical to provide reliable and consistent service while protecting APIs from misuse or exploitation. An API gateway provides a layer of security and control essential for protecting your data and keeping your APIs highly available. In this blog post, we'll explore the benefits.
Over the last year, I've become more thoughtful about the code I write and how quickly it gets merged. Wanting to improve on this process, I re-evaluated some of my soft skills such as how I write pull requests. Instead of focusing on how fast I could write, I worked towards making the review process easier. The goal of a PR is to introduce a change and this is my guide to making a good first impression.
Anyway, the basic points of that article still stand, but if you’re working on a variety of projects and some of them require different configurations, settings, and standards, then the way you go about installing and configuring PHP CodeSniffer may be different than how you configure it on a system-level.
Every friend I have with a job that involves picking up something heavier than a laptop more than twice a week eventually finds a way to slip something like this into conversation: “Bro,1 you don’t work hard. I just worked a 4700-hour week digging a tunnel under Mordor with a screwdriver.”
They have a point. Mordor sucks, and it’s certainly more physically taxing to dig a tunnel than poke at a keyboard unless you’re an ant. But, for the sake of the argument, can we agree that stress and insanity are bad things? Awesome. Welcome to programming.
[ via: @tomhermans ]
This hit home. Programming can be a grueling task on it's own and if you are doing it on the support or agency side of things the pace can be break neck more often than not. Burn out is real and the amount of things we are required to "think" our way through can be so taxing, mentally. Some days I just have nothing left after work. There's more I want to do but I'm just spent. This weekend I took naps, went to be early and slept in all weekend! If you know me that's highly unusual. But the last few weeks have been tough on a personal level and super busy on the coding / job level. So I've needed a break and got some rest. It's ok to slow down and take time for yourself. I'm just saying that out loud to remind me to it more often.
Named arguments allow passing arguments to a function based on the parameter name, rather than the parameter position. This makes the meaning of the argument self-documenting, makes the arguments order-independent, and allows skipping default values arbitrarily.
[ via: @justCarakas ]
Another RFC proposed for PHP 8. Not sure exactly how I feel about this one yet. I like the idea but Jeremy also pointed out that then params become part of the public API. Need to think about this one some more. -Chrispian
Short circuiting refers to skipping the evaluation of an expression based on some given condition. Two common examples are the operators && and ||. There are three ways the nullsafe operator ?-> could implement short circuiting. We’ll look at the same code snippet for every option.
[ via: @markjaquith ]
I like this idea. I usually don't like things that makes code less easy to understand and favor being more verbose. In this case I think this one actually makes it easier to read and might make it a little easier to avoid making silly mistakes. -Chrispian
Remember the first time you solved an algorithmic challenge by yourself without looking up the solution, only to be told to solve it again using a recursive function?
As this appears to be a common scenario, especially in a tech interview setting, I am putting together a list of classic algorithm challenges to help flex our recursive brain muscles, as this appears to be a common scenario, especially in a tech interview setting.....
[ via: chrispian ]