Skip to content

Field report, 2025 September #65

@rkdarst

Description

@rkdarst

This was a long time ago so I don't remember details.

11:08 ( 0 min) START 9.2 Modular Code Development
11:08 ( 1 min) . . Introduction to modular code development
11:10 ( 3 min) . . Example of non-modularized code ("curse of bad code design")
11:12 ( 1 min) . . Overview of lesson structure (demo, exercise, live coding)
11:13 ( 3 min) . § Starting with an example code in a Notebook
11:17 (11 min) . . Demo - Initial Jupyter notebook setup and walkthrough
11:27 ( 2 min) . . Exercise introduction (discussion track + coding track)
11:30 (19 min) EXERCISE
11:49 (11 min) . . Post-exercise discussion of modular code concepts
12:00 (10 min) BREAK
12:10 ( 1 min) . § Live coding session begins: one possible solution
12:11 ( 1 min) . . Addressing suggestions from coding track - replace comments with functions, remove redundant comments
12:12 ( 6 min) . . Plotting also February and March data
12:18 (11 min) . . Abstracting the plotting part into a function
12:29 ( 3 min) . . Testing refactored code and need for Jupyter kernel restart
12:32 ( 5 min) . . Small improvements: adding a function for the statistics
12:37 ( 1 min) . . Towards functions without side-effects: adding a main() function
12:38 ( 4 min) . . Further modularization - move from notebooks to scripts
12:42 ( 2 min) . . Static code checking in IDEs
12:44 (23 min) . . Further modularization - move from notebooks to scripts (continued)
13:06 ( 9 min) BREAK
13:15 ( 1 min) . . Post-break reflection on modular code development
13:16 ( 6 min) . § Revisiting exercise and questions from discussion track
13:22 ( 7 min) . . Questions from notes
13:29 STOP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions