Join Simon Allardice for an in-depth discussion in this video The right level of abstraction, part of Code Clinic: Swift.
- Our goal as programmers, not just in Swift,…but in any language should be to work…at as high a level of abstraction as we can.…Now, this is one of those phrases you keep hearing…but you've never been that comfortable with.…It simply means that where we can avoid…getting into details and specifics,…we should try to avoid them.…Now, we won't always be able to but we should.…Lower abstraction means more details,…higher abstraction, fewer details.…For example, with programming languages…a low level of abstraction is…Assembler or assembly language,…but you have to live and breathe…in the specifics of memory registers,…operations and call stacks.…
You must know how one CPU differs…even slightly from another.…You step the language one level of abstraction higher,…you have a language like C.…Some of those details are abstracted away, they're hidden,…you don't have to know as much about…CPU differences any more,…all the details of memory registers…but you still need to do a lot of…manual allocation and deallocation.…Another level of abstraction higher…
Simon introduces challenges and then provides an overview of his solutions in Swift. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided <a href="https://github.com/lyndadotcom/LPO_weatherdata">here</a> for lynda.com members outside of the U.S
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4 - Accessing Peripherals
5. Problem 5 - Recursion and Directories
6. Problem 6 - Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.