Title

Subtitle

10. January 2025

First Slide

  • 1: Write code that works on your machine
  • 2: Break everything on someone else’s machine
  • 3: Blame the compiler.

You can change the header

Tabs vs. Spaces: The Eternal Battle

Left Column: Where all the good code lives.
// TODO: Refactor this mess later.

Right Column: Definitely not full of commented-out hacks.
/* If you’re reading this, no you’re not. */

Automatic incremental slides

  • Press Space to see the next point
  • Press Space again to see the next point
  • Good job!

Manual incremental slides

Is there anything else on this slide?

Yes there is!
:o

Surprised?

Code with highlighted lines

model Module {
 id Int @id @default(autoincrement())
 credits             Int
 degreeProgram       DegreeProgram @relation(fields: [degreeProgramId], references: [id])
 degreeProgramId     Int
...

model DegreeProgram {
  id                 Int           @id @default(autoincrement())
  modules            Module[]
...

Growing / animated code

@ApiTags('Degrees')
@Controller('degrees')
export class DegreeController {
  constructor(
    private degreeService: DegreeService
  ) {}

Growing / animated code

@ApiTags('Degrees')
@Controller('degrees')
export class DegreeController {
  constructor(
    private degreeService: DegreeService
  ) {}

  @Get(':id')
  findOne(@Param('id') id: string, @Req() request: Request): Promise<any> {
  }
}

Tables


Bootstrap PrimeNG
Weekly Downloads 424,283 355,443
Component count ~25 ~100

Mermaid Diagrams

pie title When you forget someones name
    "Wait until someone else says the name" : 80
    "Guess their name wrong" : 15
    "Guess their name right" : 4
    "Ask for the name" : 1

Uncounted slide

Header Text