Instituto Superior Técnico

MEIC-A · Instituto Superior Técnico

Advanced Programming

PAvaCourse Page
  • 6 ECTS
  • P3
  • Exam: Optional
Overall
5
1
4
3
3
3
2
1
1
0
3.5
★★★★★★
8 ratings
Workload
Very light
2
Light
1
Moderate
0
Heavy
0
Very heavy
0
Very light3 ratings

Feedback

2025/2026
★★★★★
Workload:Light

4 months ago

The project is decently easy.
The theoretical materials are incredibly boring and hard to slog through.
The teacher will go over the slides, and I recommend going to the theoretical classes so you don't suffer as much with the slides. The information he adds does make it faster to understand.

★★★★★
Workload:Very light

7 months ago

Awesome teacher. Passionate, friendly, and explains well. Probably the only reason I liked the course, given as the subjects covered are probably obsolete (could be wrong and ignorant). The course focuses on Lisp and Java, and in my year the project was in Julia. We had to implement an extension to the Julia language. If you're looking to really do it yourself, it's not too challenging and if you apply yourself you'll learn along the way (although I must be honest and say that with 0% AI help, it would've probably been more challenging/hard). The course teaches you about extremely specific architectural design decisions in the aforementioned languages and unless you are a complete nerd like me you won't like it at all. Theoreticals = important, labs = irrelevant. The exam felt fair but you definitely had to know your ins and outs around the subjects. I did go to many theoretical classes so that definitely helped, but, even so, I had to pull out a fair amount of cramming towards the end. Since the slides, albeit not terrible, are super hard to digest, what I did was give them to claude code and ask it to create summary files. This had its shortcomings, being too superficial sometimes, and I tried to improve on that by solving past exams.

Overall I'm just not giving it a 5 due to the limited applicability of what we've learned.

2024/2025
★★★★★

last year

✅ The workload is very light, and the course is well organized.

✅ The exam was almost 50% repeated questions from previous years.

✅ The project was fun and connected to what was taught in theory classes. Julia is a very interesting programming language (and so is Lisp, though Lisp very quickly becomes incredibly hard to read).

❌ The theoretical classes are incredibly tiring, with gigantic PowerPoints and slide after slide of written code. For example, some concepts were just a title followed by many slides of code. Either a more practical (live code-writing) approach, or a more theoretical (detailed explanations) approach would be better.

❌ At times I didn't even understand what the purpose of what we were learning was. Me and a couple of friends all felt that some concepts seemed like 'fun facts' or just more convoluted, alternative implementations of things that shouldn't be that complicated. They probably have their uses, but I don't think the teacher did a good job of showing their practical utility.

❌ The theoretical classes focus mainly on Lisp, and the project was written in Julia. Both languages have some very interesting capabilities (especially around meta-programming), but it's worth keeping in mind that both are less commonly used than Prolog according to the TIOBE index.

❌ I wish more practical classes had been dedicated to learning or experimenting with Julia. We were basically only introduced to the very basics — then all practical sessions became just Q&A or doubt-solving.

★★★★★

last year

By the name you think you are going to keep improving as a programmer, by improving your knowledge in Java, by understanding how some frameworks work, or how certain topics of programming work. In the classes you learn about Lisp, an old programming language that is not used (you will understand why) and Julia, another language that is not much used.

Some topics of the class are interesting but for the most part I don't think that it lives up its name.

★★★★★
Workload:Very light

last year

The reviews below this point may be outdated. Course content, teaching methods, and requirements may have changed since then.

2021/2022
★★★★★

4 years ago

There’s no exam.

I had high hopes for the course and ended up a bit disappointed, since the professor didn't cover half the material. He just wasn’t prepared to keep up with MEPP’s pace.

The projects were simple and interesting, but the assignment briefs were very vague. You’d ask in the lab if something would be graded, the professor would say no, and then you’d lose 4 points for it.

Also, he doesn’t say how much the presentation is worth, but if he doesn’t like it, your grade somehow drops 4 points.

In short, grades feel based on whatever he decides to evaluate after submission, not on what the brief actually says.

Still, the course is interesting overall.

2020/2021Pre-MEPP
★★★★★

5 years ago

It’s an interesting course.

You can watch videos of the lectures on the course page, it’s pinned in #pava.

The projects can be done in 2–3 days each, so the workload is minimal, and you get to learn some pretty cool stuff about Lisp and related topics.

Professor António Leitão is really chill. He used to work at SISCOG back when they used Lisp in production, so he actually has real-world experience with it.

About the course

Objectives

Understand advanced programming techniques and their domain of application. Understand programming language limitations and ways to overcome those limitations. Forecast the impact of the use of advanced programming techniques in the development, execution, and maintenance of software. Understand the reflective capabilities of programming languages regarding introspection and intercession at compile-time, load-time, and execution-time. Understand the differences between programming and meta-programming and the usefulness of code models. Understand meta-classes, meta-object protocols, and their intercession capabilities. Understand aspect-oriented programming and its application to cross-cutting requirements. Understand linguistic abstraction, evaluators, and meta-circular evaluators. Understand the implementation of meta-programming, lazy-evaluation and non-deterministic evaluation.

Syllabus

Reflection, introspection and intercession. Reification. Reflexive architectures. Meta-programming and code models. Reflection in modern programming languages. Meta-object protocols. Generic functions, methods and multiple dispatch. Classes and metaclasses. Protocols for making instances, for accessing instance members and for redefining classes. Aspect-oriented programming. Linguistic abstraction, evaluators and meta-circular evaluators. Macros. Lazy evaluation. Continuations. Direct and continuation-passing style. Non-local control transfer. Non-deterministic evaluation.

Prerequisites

Basic understanding of functional programming and object-oriented programming.

Cross Competence Component

The assessment includes a publicly presented group project in which students develop critical thinking, problem solving strategies and creativity; intrapersonal skills such as proactivity, initiative, productivity and time management; interpersonal skills such as teamwork, oral communication and leadership; and media literacy as a result of using development environments and creating digital presentations. Finally, the rules of the discipline create global citizenship skills, namely work ethics. These skills are mainly assessed in the implementation of the project, which make up 60% of the evaluation.

Laboratorial Component

Practice regarding the tools used for the project, namely, programming languages, development environments and tools for version control and build automation. Support during the project's development. Public presentations and discussion of the project.

Programming And Computing Component

The degree where this course is offered ensures the programming and computing components according to MEPP 2122.

Ethical Principles

All members of a group are responsible for the group’s work In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Something missing or out of date?

Assessment

Exam (40%) and Project (60%), minimum grade of 7.0 on each component.

Has the assessment changed, or is something missing?

Bibliography

Main Bibliography

  • Java Reflection in Action: Ira R. Forman 2004 Manning Publications Co.
    • The Art of the Metaobject Protocol : G. Kiczales, J. Rivieres, D. Bobrow 1991 MIT Press
    • Aspect-Oriented Software Development: R. Filman, T. Elrad, S. Clarke, M. Aksit 2005 Addison Wesley Professional
    • Structure and Interpretation of Computer Programs: Harold Abelson, Gerald Jay Sussman 1996 MIT Press

Missing a book or some materials?