If you're using the content of this Repostory, please consider to Watch or Star it in order to help tracking how many people are drawing on it.
Foundation of Informatics T2
This repository contains all the code developed during lessions of Foundation of Informatics T2, which is a teaching of Computer Engeneering's degree (Alma Mater Studiorum, University of Bologna).
All the code is written in Java. All projects and exercises are developed using Eclipse.
Some useful guides about Git usage
Lombok is a really useful and powerful tool (and it's also used in this repository's code).
It introduces a lot of features which make the code way more cleaner and readable.
The annotation @Getter is a cool example. Check all its features out!
Java Streams: what a cool feature!
With a view to smart coding, Java Streams are a very powerful tool. Here it is a synthetic and effective italian guide about Streams.
An example:
int sum = widgets.stream()
.filter(w -> w.getColor() == RED)
.mapToInt(w -> w.getWeight())
.sum();