learn assembly - introduction to programming

35
Dev Intro Learn Assembly

Upload: fabien-charbit

Post on 03-Sep-2014

175 views

Category:

Internet


15 download

DESCRIPTION

This presentation has been done for LearnAssembly. It's a brief introduction to programming. We start with a bit of History, then move to create our first instructions in Ruby.

TRANSCRIPT

Page 1: Learn Assembly - Introduction to programming

Dev IntroLearn Assembly

Page 2: Learn Assembly - Introduction to programming

http://sush.io @fabiencharbit [email protected]

Page 3: Learn Assembly - Introduction to programming

So easy!

• launch Interactive Ruby

• puts ’’Hello World’’

• 3+2

• Math.sqrt(9)

Page 4: Learn Assembly - Introduction to programming

History

Page 5: Learn Assembly - Introduction to programming

Joseph Marie Jacquard

1752 - 1834

Page 6: Learn Assembly - Introduction to programming

Ada Lovelace1815 - 1852

Page 7: Learn Assembly - Introduction to programming

Herman Hollerith

1860 - 1929

Page 8: Learn Assembly - Introduction to programming

« Hollerith Punched Card »

Page 9: Learn Assembly - Introduction to programming

• Tabulating Machine Co. (1896)

• International Business Machines Corporation

Page 10: Learn Assembly - Introduction to programming

Allan Mathison Turing

!1912 - 1954

Page 11: Learn Assembly - Introduction to programming

• Turing machine

• Algorithm

• Computation

Page 12: Learn Assembly - Introduction to programming

Languages

Page 13: Learn Assembly - Introduction to programming

Tabulating Machine Company

1896

Assembly Language

1896

Plugboard

1954

Fortran

1960

Data Storage Devices

Page 14: Learn Assembly - Introduction to programming

Types

• Interpreted / Compiled

• Object , Imperative, events …

• Web Oriented

Page 15: Learn Assembly - Introduction to programming

• Action Script

• C, C++, C#

• Java

• Objective C

• Perl

• HTML

• PHP

• Java, JavaScript

• Python

• Ruby

WebDevice/GUI

Page 16: Learn Assembly - Introduction to programming

Framework?

Set of Libraries or classes for a Software Sys.

• Support programs, compilers, code libraries, tool set, APIs

Page 17: Learn Assembly - Introduction to programming

• CSS: Bootstrap, YAML

• Ajax/JavaScript: YUI

• Application: Cocoa, Mozilla, Eclipse, Microsoft Foundation, .net, Rails

Page 18: Learn Assembly - Introduction to programming

Good Code

• Reliability

• Efficiently/performance

• Maintainability

• Portability

• Usability/Ergonomic

• Robustness

Page 19: Learn Assembly - Introduction to programming

ReadabilityHuman reader must comprehend the purpose

• Indentation:

Page 20: Learn Assembly - Introduction to programming

• Comments:

Page 21: Learn Assembly - Introduction to programming

• Decomposition:

Page 22: Learn Assembly - Introduction to programming

• Naming Convention

Page 23: Learn Assembly - Introduction to programming

Keep Calm & Code

Page 24: Learn Assembly - Introduction to programming

Variables

Page 25: Learn Assembly - Introduction to programming

Functions

Page 26: Learn Assembly - Introduction to programming

Formatting

Page 27: Learn Assembly - Introduction to programming

Class Definition

Page 28: Learn Assembly - Introduction to programming

Create Object

Page 29: Learn Assembly - Introduction to programming

Use It!

Page 30: Learn Assembly - Introduction to programming

Instance Methods

Page 31: Learn Assembly - Introduction to programming

Instance Attributes

Page 32: Learn Assembly - Introduction to programming

Instance Attributes

Page 33: Learn Assembly - Introduction to programming

Loop & Iterations

Page 34: Learn Assembly - Introduction to programming

Conditions

Page 35: Learn Assembly - Introduction to programming

http://sush.io @fabiencharbit [email protected]