Welcome to Software Wisdom, my place for divulging knowledge on software development and programming knowledge both old and new.
I’ve been wanting to write out knowledge about technologies and software development that I am familiar with for a number of years. From the most mundane and basic how-to all the way to super-advanced skills. Without actually committing to writing a full book, I wanted to be able to pick and choose what I talked about, even the most basic tutorials, if written clearly and succinctly, on doing something as mundane as sorting an array of numbers, will be useful to someone just starting out.
There are many resources on the internet dealing with every conceivable software development technology and programming language you can think of, but who says there should only be a single source of information? If you subscribe to that philosophy there would only ever be one book on C# programming, one book on PHP programming, one book on graphics programming, and so forth, which is patently absurd. I have found, over the many years I have been developing software and programming computers, that a great way to learn something is to study the techniques of other more knowledgeable practitioners, but even better is to study the techniques of many practitioners. There are so many ways, both simple and clever, to solve a particular problem, and possibly even more so in software development than in any other discipline, that studying several solutions to a single problem teaches you so much about the sub-problems that compose and make-up the bigger problem.
You are currently browsing the second page of "Software Wisdom".
Looking for something specific? Try the search box at the top of the page.
Instance variables belonging to an Objective-C 2.0 class are declared protected by default, unlike regular C++ or even C# whereby all declared member variables are private by default. This always confuses C++/C# programmers who are new to Objective-C so if you are familiar with either of those two languages, be aware of this point. Protection… Craving to get the remainder of “Objective-C Access To Instance Variables?” Click here!
Replacing text in a mySQL database table is trivial thanks to the built-in SQL command REPLACE() that lets you manipulate text data within a table that matches a particular string, and replace it with another string. I have been playing extensively with the theme on this website recently and one of the cute little hacks… Click to continue reading the rest of the post
The built-in array() data type has many ways that it can be manipulated. One of those ways is through the array_shift() function that treats an array as a queue, taking array elements from the front of the queue and moving up all of the other items in the array. When you define an array that… Click this link to continue reading the rest of the post
PHP has a built-in array() data type which can be easily treated as though it were a list or a queue data type. The way to do this is through the use of the array_shift() function which takes the element at the beginning of the array and returns it, and in the process, shortens the… Looking to get the rest of “PHP array_shift() Function Definition?” Click this!
Even though PHP has an intrinsic array data type you as the programmer have the ability to manipulate arrays in several different ways. PHP can manipulate the array() data type as though it were a stack data structure through two simple functions, array_push() and array_pop() which just reinforces how versatile PHP can be. This article… Needing to read the remainder of “PHP array_push() Function?” Click this!
This short article covers Objective-C 2.0 property accessors that do not have an associated instance variable. Objective-C 2.0 offers the ability to automatically declare and implement class properties via the @property and @synthesize compiler directives. For the most part, these two compiler directives, part of the Declared Properties feature, go hand in hand with each… Craving to get the rest of “Objective-C Property Accessors?” Click here!
Objective-C 2.0 offers some neat new features that make life easier for programmers. If you’re familiar with Java programming you are used to declaring getter and setter functions to access the instance variables of a class, and similarly in C#, you have the ability to declare property functions, get and set, which do the same… Needing to read the rest of “Objective-C Class Properties?” Click this!
Objective-C supports inheritance (but not multiple inheritance) like any good object oriented language. However, like many newer OOP languages, such as C# and Ruby, Objective-C 2.0 also supports extension methods, which in Objective-C parlance are called Categories. If you are at all familiar with C# (3.0 and on) you might have created extension methods, extending… Click to read the remainder of the article
PHP provides incredibly rich and diverse functionality for manipulating arrays. The word “array” and the data type array() in PHP is a bit of a misnomer because the built-in functionality of PHP is quite capable of treating arrays as though they were many other data structures from simple arrays such as regular single-dimension arrays, regular,… Continue reading the rest of the article
PHP provides the built-in ability to randomly sort, i.e. shuffle, an array of values in place. The PHP shuffle() function takes a standard array of values and swaps each element randomly with another element in the array. The shuffle terminology comes from what you would do if you needed to shuffle a deck of playing… Hankering to get the remainder of “PHP shuffle() Function?” Click this link!