Skip to content

Commit

Permalink
Adding a few notes for first lab
Browse files Browse the repository at this point in the history
  • Loading branch information
dcdelia committed Feb 27, 2023
1 parent e1d989c commit 8d1825d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Laboratorio di Architetture Software e Sicurezza Informatica [AAF1569]
=============

This repository hosts class material for the 2022-2023 edition of the course.

Instructors: [Leonardo Querzoni](https://sites.google.com/diag.uniroma1.it/querzoni/) and [Daniele Cono D'Elia](https://www.diag.uniroma1.it/~delia/) (Sapienza University of Rome)

Teaching assistants: Giacomo Priamo and Nicola Bottura

### Contents
*Listed as: class date, enclosing folder, topic*
- 28/02/2023 `ruby-intro/` Ruby essentials
4 changes: 4 additions & 0 deletions ruby-intro/book-lab/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Ruby Intro
=============

This material is taken from the [GitHub repository](https://github.com/saasbook/hw-ruby-intro) for the Ruby introductory homework of the *Engineering Software as a Service* book we use for this class.

Organized in three parts, it gives some basic practice in Ruby as well as getting you accustomed to making testing a regular part of your workflow. Make sure `rspec` is available in your environment (otherwise: `gem install rspec`).

Learning Goals
--------------

Expand Down
14 changes: 14 additions & 0 deletions ruby-intro/examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Ruby Examples
=============

This directory contains exemplary Ruby toy programs to get acquainted with basic features of the language.

Outline of the `class_example_X.rb` files:
1. Example of class usage (as in the slides for the lecture)
2. Verbose vs. concise declaration of getter/setter/initialization methods
3. Subclasses and getter/setter methods
4. Subclasses and polymorphism
5. Side-effects from a method
6. Variable-length argument list

The material was prepared by Prof. Giovanni Farina for last year's edition of this course. Thanks, Giovanni!

0 comments on commit 8d1825d

Please sign in to comment.