I’d Like you to Meet my associate. What are PHP Associative Arrays? If you’re familiar with other programming languages, an associative array is pretty much a dictionary. Instead of accessing the array by using an index value, you’ll access it by using a key. That key points to a value. Keys in PHP can be integers or strings. If you attempt to store a floating point number as a key, it will be cast to an integer. Boolean value true will be case to 1 and false will be cast to 0. We can access a regular array with the index value of the
Articles
There are many causes of burnout. We’ve all experienced the Covid burnout: not being able to cope with the new lifestyle. Something just feels uneasy and your work degrades. You’re bombarded with negative news day and night. You lived in constant fear. There was no clear light at the end of the tunnel. The constant stress and anxiety caused your mind and your body to exhibit an elevated response and you crashed, hard. Now that we’ve returned to some sense of normalcy, we can get back to our normal burnout cycle. Burnout Cycle Each person is different with their tolerance,
The Imposter Syndrome. It’s so common of a term in software development that it’s not even necessary to define, but we’re still going to for the readers that may not have been exposed to the term. The imposter syndrome sums down to feeling like a fraud. You’re constantly doubting your abilities and you believe that you don’t deserve the position that you just received. If this sounds like you, don’t worry, everyone in software development goes through this phase. The Various Syndromes Exhibited by Developers If you haven’t started exhibiting the imposter syndrome, it’s most likely because you’re still too
If you’ve ever worked for a software development agency, you know that it can be challenging. Software Development Agencies have a “churn-and-burn” stigma attached to them, and rightfully so. Most agencies have a high developer turnover rate. What is it about that particular business model that drives such high turnover? And should you work for a software development agency? Those are the questions that we’ll tackle in this article. The Software Development Agency Model Working for a business that has its own product and development team is different than working for an agency. The agency does not have their own
Once you understand PHP Arrays, they really do become simple. What is an array? In layman’s terms, it’s a way to store multiple items together under one variable. You could create different variables for everything, but sometimes that’s just not practical. Imagine that you’re pulling thousands of records from a database. You can’t, or shouldn’t, create thousands of different variables to store each record. You would use an array and store all of the records under one variable. You could then loop through the array (I know we haven’t covered loops yet) and display each array element. There are different
If you’re anything like me, you’re looking at your stock portfolio getting destroyed. Crypto is way worse. Bitcoin is below $19k as of this writing. Ethereum just hit below $900. I’m not even going to mention the other alt-coins. It seems that there are key players taking advantage of the situation for eventual gain. Celsius froze everyone’s accounts. It’s just mayhem out there. What can you do about it? When it comes to your portfolio, it depends on what your risk tolerance is. Mine is relatively high. I’m in it, even if it hits $0. Talk of recession went from
This is one of my absolute favorite topics to discuss in software development: Definition of Done in Software Development. While my approach is not fully flushed out for every environment, it’s gets you 90% there. This will help with creating a team and setting expectations. When is each team member actually done during the software development lifecycle? Have you found yourself saying, “well I know I said it was done, but it’s not really done?” Before we can start looking at each individual’s Done definition, we have to outline the members involved. Business Analyst Project Manager Development Manager UI/UX Engineer
What do you use your Strings for? I know that for the past few articles we’ve looked at strings, but we never actually talked about them. A string is just a sequence of characters surrounded by quotes; strings in PHP are placed inside either single or double quotes. In other programming languages, like Java, strings are surrounded by double quotes and individual characters are surrounded by single quotes. <?php $string_1 = ‘This is an acceptable string’; $string_2 = “String with double quotes”; echo $string_1 . “<br>”; echo $string_2 . “<br>”; ?> You don’t have to store PHP Strings
Going through Instagram, you’ll see thousands upon thousands of reels just related to #softwaredevelopment. Go to TikTok and it’s even worse. It could be that every single developer posts a reel every single day, but I doubt that’s true. Looking through tech company employee stats, you’ll realize that there are an insane amount of developers working at each firm. If there are that many developers, then why did everyone used to say that software development is hard? I started working as a developer in 2009, completely self-thought. Not having the developer support around me, or at least not knowing which
Time to take a dip in the Pool. Where’s my PHP Float? Floats and doubles are the same thing in PHP. The following numbers are considered floating point numbers. <?php $a = 1.234; $b = 1.2e3; $c = 7E-10; ?> PHP Floats have precision for up to 14 digits. That includes the cumulative digits, before and after the period. We’ll create two variables with 14 total digits and one with 15 digits. We’ll add them and see the results that we get. <?php // 14 digits $a = 1.0000000000001; $b = 0.0000000000001; // 15 digits $c =