• Hot Stories
    • Top Apps
    • Accessories
    • Wearables
  • iOS Apps
  • Robots & Drones
    • Smart Robots
    • Drones
  • Home Automation
  • Support
    • Partners

iPhoneNess

Covering everything iPhone

    • Trending

      All time

    • 20 Best Calendar Apps for iPhone + Videos

      191 Comments

    • 10+ Best iPhone GPS Apps for Car Drivers

      77 Comments

    • Latest Stories

      What is new?

    • 6 Spam Email, Text & Call Blockers for iPhone

      March 25, 2023

    • Lydsto P1 Max App Controlled Wall Climbing Pool Cleaning Robot

      March 24, 2023

    • Comments

      Most Recent

    • Cyrus on:

      Chargerito: Smallest Phone Charger?

    • chargerito on:

      Chargerito: Smallest Phone Charger?

  • Trends
    • 25+ iPhone Compatible Fitness Equipment
    • 30+ Flexible iPhone Mounts & Stands
    • 12 Stylish iPhone Purses & Bags
    • 15+ Awesome Solar Chargers for iPhone
    • 45+ Amazon Alexa-Enabled Smart Home Devices for iOS Users
    • 15 iPhone Garage Door Openers You Should See
    • 35+ Must See Augmented Reality Toys & Gadgets
    • 25+ Star Wars Gadgets & Gizmos for iPhone & iPad Fans
    • 40+ Awesome iPhone Compatible Robots for Kids
    • 15 iPhone Mounts & Accessories for GoPro Users
  • News
    • Guides
    • Cool Items
    • iPhone 5S
    • iWatch
    • iPad 5
    • iPad Mini
    • Kickstarter
  • iOS Apps
    • iPhone Apps
    • iPad Apps
    • Jailbreak
  • Tools
    • Alarm Clocks
    • Board Games
    • Calendars
    • Fitness Apps
    • GPS & Navigation
      • Outdoors
    • iOS Astronomy
  • Accessories
    • iPhone Add-ons
    • iPad Add-ons
  • Disclaimer
  • Contact

iPhone Programming 101, part Three: Languages

0
  • by Mike Smithwick
  • in Guest Posts
  • — 31 May

A guest post by Mike Smithwick, author of Distant Suns 2 for the iPhone/iPad and blogger at distantsuns.com. Mike is a seasoned iPhone/iPad developer who has developed numerous iPhone applications. He has recently released Distant Suns for iPad. Follow Mike’s work on Twitter for more information.

Also check out:
  • 3 Smart Kettlebells & Dumbbells for Your Gym

Credit: Distant Suns

Another in a very occasional series of columns covering the craft of programming and what it takes to create one of those app things.

Even though this article is about computer languages it is not meant at all to teach one how to “speak” in any of these languages, for that is light-years beyond the scope of this article.

A computer program is likened to a recipe. A recipe with potentially millions of steps that could come crashing down in a smoldering heap of code if as much as one of those steps is in the wrong order. The recipe might tell the system that if the user does something, then load in an image, draw it to the screen in green, rotate three times, do the hokey-pokey and fade it out. And that might be just one little task of thousands in a complex web of tasks, actions and behaviors.

As with any kitchen recipe, there is a specific lingo invoked that serves as a precise form of shorthand that the iPhone can understand as well as the programmer. And it is this shorthand that forms the basis of a computer “language.”

The earliest computers were programmed at the lowest level, in bits and bytes; frequently hand-entered by switches on the front of the machine, paper tape or even punch cards. It was a system that was extremely tedious, highly error prone and very hard to read. Back to the kitchen analogy: think of the instruction to take a cup of flour and mix it with one egg. Short and to the point. But the earliest machines didn’t know what flour, a cup or an egg might be. So the recipe would now have to actually instruct how to make a measuring cup, how to grow and harvest wheat, then grind it up into flour, and…well, you get the point. There had to be a better way, and as a result, FORTRAN (FORMula TRANslator) was invented in 1954 at IBM. Considered the first modern computer language, it used a combination of basic mathematical symbols, punctuation and simple English words to describe program flow. Instead of having to describe how to raise wheat, the system now already would understand what “wheat” really was. Very quickly other languages were developed such as COBOL, LISP and ALGOL. And many other that are still in use today.

Trending iPhone, iPad apps:
  • 11 Awesome iPhone App-enhanced Gadgets

Why so many languages? Languages are generally tailored to different tasks. One might be science-oriented such as FORTRAN, and another database-oriented such as SQL. Apple’s OS-X and iPhone OS are programmed in what had generally been a somewhat obscure language called “Objective-C.”

Read the rest of this article…


**Disclaimer: Our articles may contain aff links. As an Amazon Associate we earn from qualifying purchases. Please read our disclaimer on how we fund this site.


Currently trending posts:

  • iPhone Programming 101, part Deux
  • iPhone Programming 101, part Four: Designing your app
  • Distant Suns 3 Giveaway (Contest Is Over!)
  • Yet another iPhone programming article
  • Shooting your vacation, the iPhone 4 way: Pt 2
  • Distant Suns 3.2 Giveaway (Contest Over)

You may want to see:

  • iOS 7 Programming Course on Kickstarter iOS 7 Programming Course on Kickstarter
  • Puzzlets: Learn To Program On iPad
  • Yet another iPhone programming article Yet another iPhone programming article
  • Analyser for iPhone for R & Python Coding

Tags: programming


Add your reaction

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Follow Us

    Facebooktwitterrssyoutube

  • Search & Subscribe

  • Trending Apps

    • 5 Cool Tai Chi Apps for iPad
    • 5 Augmented Reality Moon Finder Apps for iOS
    • 5 Chess Tactics Apps for iPhone
    • Teach Kids Programming with These 7 iOS Apps
    • 10 Killer iPhone Apps for Consultants
    • 7 Awesome Food Guide Apps for iPhone & iPad
  • Current Visits:

    • 4 Robots That Keep Your Tablet or Smartphone Camera Pointed At You
    • 7 Must See iPhone Shower Mounts & Holders
    • 3 App-enabled Gadgets for Surfers
  • Categories

    Admin Apple Watch Accessories Commentary & Predictions Cool Finds DIY & Hacks Drones Events Giveaways Guest Posts Guides & Tools Home Automation Infographics iOS Security iPad accessories iPad Apps iPhone Accessories iPhone Apps iPhone Books iPhone Programming iPhone Thoughts iPhone Tips iPhotography Jailbreak Leaks Lists Mac Accessories News Reviews Smart Robots Uncategorized Videos Virtual Reality Wearables
  • Home
  • Guest Posts
  • iPhone Programming 101, part Three: Languages
  • Tags

    4k ai alexa Android app app enabled Apple apple watch app lists arduino augmented reality battery bluetooth camera case Charger coding drone fitness GPS home automation iOS iPad iPhone iphone 5 iphone 5s iphone 6 iwatch keyboard python robot security camera smart Smartphone smartwatch Solar speaker stand stem top accessories top lists vr wearable wifi wireless charger
  • Current visits

    • Feiyu Pocket 3 Detachable 3-Axis Gimbal Camera (4K) with App Control
    • 7 App Smart Racing & Battle Drones
    • Safeskin for iPhone Stops Theft
    • Citizen CZ Smart YouQ Sport Smartwatch Powered by IBM Watson AI Models
    • Yarbo App Controlled Modular Yard Robot (Lawnmower + Snow Blower + Blower)
  • Search

  • Connect:

    Follow @iphoneness
  •  

  • News
  • Partnerships
  • Our Reviews
  • Terms of Use
  • Privacy Policy
  • Takedown Requests
  • Support Us
  • RSS

© Copyright 2023 iPhoneness. Exxponent Media Network
iPhoneness is an independent website and has not been authorized, sponsored, or otherwise approved by Apple Inc. iPhone and iPhone 3G are among the trademarks or registered trademarks owned by or exclusively licensed to Apple Inc.