What to do today: Brief history of Ruby General qualities/info

Slides:



Advertisements
Similar presentations
John Pinney Ruby in 20 minutes John Pinney
Advertisements

Haverford Cascade Mentoring Program Computer Programming: C++ to Python Conversion Professor: Dave Wannacott Student: Kris Brower Dobbins Vocational Tech.
Language of the Month If it’s December, it must be Ruby! Adam Coffman and Brent Beer.
Ruby on Rails Tutorial Peter Mosca April, Ruby on Rails Tutorial Ruby History Invented 12 years ago in Japan by Yukihiro Matsumoto Spent first 5.
Perl Practical Extraction and Report Language Senior Projects II Jeff Wilson.
Object-Oriented Programming OOP John Gilligan School of Computing DIT Kevin St.
Software Language Levels Machine Language (Binary) Assembly Language –Assembler converts Assembly into machine High Level Languages (C, Perl, Shell)
Python By Steve Wright. What is Python? Simple, powerful, GP scripting language Simple, powerful, GP scripting language Object oriented Object oriented.
Ruby The Gem of new programming languages. An interpreted scripting language.
Scripting Languages CS351 – Programming Paradigms.
Introduction to Ruby CSE 413 Autumn 2008 Credit: Dan Grossman, CSE341.
A TOUR OF RUBY 2011 ACM Class, Dong Xie. What is Ruby?  Dynamic programming language  Complex but expressive grammar  A core class library with rich.
By Timothy Sparks. Yukihiro Matsumoto wanted “a scripting language that was more powerful than Perl, and more object- oriented than Python. That's why.
SCRIPTING IN RUBY By Amber Bennett “Ruby is simple in appearance, but is very complex inside, just like our human body.” --Yukihiro Matsumoto.
Chapter 1. Introduction.
BIT 1003 – Presentation 7. Contents GENERATIONS OF LANGUAGES COMPILERS AND INTERPRETERS VIRTUAL MACHINES OBJECT-ORIENTED PROGRAMMING SCRIPTING LANGUAGES.
1 JavaScript. 2 What’s wrong with JavaScript? A very powerful language, yet –Often hated –Browser inconsistencies –Misunderstood –Developers find it painful.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormack 3rd floor 607.
Prof: Dr. Shu-Ching Chen TA: Samira Pouyanfar Spring 2015 C Tutorial CIS5027.
Ruby! Ronald L. Ramos. What is Ruby? Ruby is a scripting language designed by Yukihiro Matsumoto, also known as Matz. It runs on a variety of platforms,
1 Programming Language History and Evolution In Text: Chapter 2.
Ruby. Quick History Name chosen because it was the birthstone of the colleage of the creator Yukihiro Matsumoto First public release Dec Created.
A very basic overview of Server-Side Scripting Or what is PHP, Perl, Python, Ruby and what can they do for me?
Trends in Scripting Languages History For me the purpose of life is partly to have joy. Programmers often feel joy when they can concentrate on the creative.
Copyright © 2010 Certification Partners, LLC -- All Rights Reserved Perl Specialist.
JavaScript Syntax, how to use it in a HTML document
Be the Garbage Man of your team Alex Kogon Dima Kovalenko.
+ Ruby and other programming Languages Ronald L. Ramos.
Copyright © 2003 ProsoftTraining. All rights reserved. Perl Fundamentals.
RUBY by Ryan Chase.
CMSC 330: Organization of Programming Languages Theory of Regular Expressions NFAs  DFAs.
1 Getting Started with Ruby. 2 What’s Ruby? Ruby is an OO, dynamic, agile language –Everything’s an object For example, try puts -1.abs –Derives strengths.
ST Intro to R programming Big picture language features -- just a brief description here -- more later:
HIGH-LEVEL LANGUAGE PROGRAMMING PARADIGMS. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.
Ruby Tien Ho and Brandon Hostetter. Overview ▸ Object-oriented, functional, imperative, and reflective ▸ Interpreted language ▸ Influenced by Perl, Smalltalk,
Presented By P.SRIVIDYA 085D1A0552 Programming Language.
JavaScript Luke Withrow Nathan Kempner. ! Why JavaScript? Why not? Most popular language on the web Dynamic client-side Web applications Simple, powerful.
Programming Language History and Evolution
Chapter 1. Introduction.
Python analysis Group Four Siy, Sherwin Cagaoan, Allen Sanidad, Rizzi
COMP 2100 From Python to Java
CSE 374 Programming Concepts & Tools
The language focusses on ease of use
Programming Languages Dan Grossman 2013
Basic 1960s It was designed to emphasize ease of use. Became widespread on microcomputers It is relatively simple. Will make it easier for people with.
Why study programming languages?
Ruby Getting started & Ruby.New Presented by Mario Tayah
NOCTI Study Guide #2.
Basic 1964 PC general purpose Imperative Small Easy to use.
Ruby: An Introduction Created by Yukihiro Matsumoto in 1993 (named after his birthstone) Pure OO language (even the number 1 is an instance of a class)
Scope History of Ruby. Where can you use Ruby? General Features.
Programming Language Design Concepts
Pamela Moore & Zenia Bahorski
Ruby Demo Code Guide to filenames.
Types of Programming Languages
Engineering Innovation Center
Programming Language History and Evolution
AUTOMATED SESSION PLANNING. In the present world, everything has become automated. By, a click everything is being processed. But the preparation of the.
SVTRAININGS. SVTRAININGS Python Overview  Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed.
Henning Schulzrinne Advanced Programming
1 Python Lab #1 Intro to Python Adriane Huber Debbie Bartlett.
CS190/295 Programming in Python for Life Sciences: Lecture 1
High Level Programming Languages
Introduction to Python
Ruby Testing 2, 11/9/2004.
Support for Object-Oriented Programming
Tonga Institute of Higher Education IT 141: Information Systems
Lab 4: Introduction to Scripting
Tonga Institute of Higher Education IT 141: Information Systems
Introduction to JavaScript
Presentation transcript:

What to do today: Brief history of Ruby General qualities/info Start programming syntax needed to program

RUBY! Ruby was created in 1993 by Yukihiro Matsumoto in Japan He created it out of the drive to create “a language more powerful than Perl and more object-oriented than Python”

Ruby is a scripting language Ruby is a scripting language(like Perl), so that means(usually) that it is interpreted Ruby uses an interpreter instead of a compiler Advantages: can program on the fly no compile time, so many things are dynamic(typing, scoping, etc)‏ Disadvantages: interpreted languages tend to be slower

Ruby is Object-Oriented Ruby is a purely object-oriented language “Everything you manipulate is an object, and the results of those manipulations are themselves objects” EVERYTHING is an object Start out with classes, then instances of classes, then instance variables, then methods, then method variables, etc... Message passing is used to call methods

Let's start

Lets add some more...

More...

That was ugly, this is pretty...

Inheritance

Arrays/Hashes

Loops...

For...

Code Blocks

Code Blocks

Scoping Issues

Regular Expressions

Regular Expressions

Regular Expressions

Practice