Speaking Code – A Complete Review of The Basics

In no way is learning to code a natural or intuitive process. Like any other skill or hobby, the best way to expedite a new learning process is by first familiarizing yourself with the basics; here’s a brief overview. Why is programming sometimes referred to as “Coding”? Because a programmer’s “source code” is like a set of instructions that the CPU cannot initially decipher. That’s why “higher” language – your source code – is often considered to be an “encoded” sequence of instruction for the CPU to read. The “higher” programming language that you choose – and there are many – is then translated from your source code into a “lower language” that your CPU can actually register via a compiler program. Compilers A compiler is essentially the middle-man between you and the CPU that’s included in a Software Development Kit. It takes all of the source code that you’ve written in a higher language and transposes it into a stream of numbers that the CPU can read – machine code. As a rule of thumb, a program is compiled before it’s run. Software Development Kits An SDK is exactly what it sounds like: a package of software that a programmer uses in order to create programs with an integrated programming language. Each kit contains compilers, debuggers, and any other facilities needed to develop apps for a specific platform. For the most part, it’s highly uncommon to simply code using an SDK; it’s typically coupled with something called an Integrated Development Environment. Integrated Development Environments An IDE contains an SDK; most IDEs are tailored to function around a particular SDK. An IDE’s purpose is to make coding with an SDK more manageable. What an IDE is to a programmer is essentially what an instrument is to a musician: although all instruments can play music, certain instruments allow a musician to express him or herself in more desired or preferred format; although all IDEs can be used while coding, one IDE and its included SDK might be preferred or even necessary for creating a program that is compatible with a particular platform. Android and iOS IDEs Java and Objective-C are both programming languages used for coding Android and iOS apps respectively. Developers interested in developing apps for iOS devices should first familiarize themselves with the IDE called Xcode, which uses the iOS-compatible language of Objective-C. As for Android devices, Eclipse and Android Studio are both the go-to IDEs for coding in the Android-compatible language of Java. This also means that Android devices cannot run apps that are coded in Objective-C, and an iOS device cannot run apps that are coded in Java. There are, however, a few up-and-coming IDEs which are considered cross-platform compatible, such as Xamarin. HTML and CSS Both HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets) are programming languages that function in web development. HTML is used to structure a website with links, images, texts, videos and other “elements”; CSS is used in tandem with HTML to further stylize the layout of the webpage by re-arranging the colors, fonts, and positioning of HTML elements. The three control structures of programming *Written in CSS Some languages don’t delegate the semicolon with this purpose, such as HTML and Python, but most do: Xcode, C++, Java, CSS, etc. *Written in C++ Note: variables are assigned in C++ like so: “int denom = 0”. “int” designates the variable “denom” as an integer, and “= 0” sets the variable “denom”‘s value to 0. The variable can be changed at any time once it’s created by typing the variable’s name and resetting its value, such as the conditional statement does above: “denom = 0” *Written in C++ Queue vs Stack (FIFO vs LIFO) Both queues and stacks are ordered arrays (lists), meaning that the order of their contained variables is significant. Ordered arrays are useful tools to have for problem-solving at all levels of coding. Blog Source- https://messapps.com/allcategories/marketing/speaking-code-complete-review-basics/

Speaking Code – A Complete Review of The Basics Read More »