Skip to content

Instantly share code, notes, and snippets.

@maxf
maxf / example.py
Last active October 28, 2025 17:57
Code example
# This code has been written by a junior developer. It works but as a senior developer
# do you have some suggestions on how to improve it?
# Think about edge cases, file sizes growing, efficiency, resilience to change,
# how it can better use Python's built-in features and be made more Pythonic and why this would be more helpful
import csv
import json
from datetime import datetime
### Keybase proof
I hereby claim:
* I am maxf on github.
* I am maxf2001 (https://keybase.io/maxf2001) on keybase.
* I have a public key ASDjlY5nsK2J4E0CSnndNxLd9XzGzghHAMREOj8-bzywGAo
To claim this, I am signing this object:
title
Using Node.js at GDS

This document describes how we write Node.js code at GDS. It is a list of guidelines that developers should follow in order to standardise code across all Node.js projects, making it easy for developers to change projects or start new ones.

Keybase proof

I hereby claim:

  • I am maxf on github.
  • I am maxf2000 (https://keybase.io/maxf2000) on keybase.
  • I have a public key ASBYkyopjuR7isyjo5YfB0d9LxO3WfOIzbDEZtDM2TfQlwo

To claim this, I am signing this object:

@maxf
maxf / Main.elm
Created October 11, 2016 10:52
Elm checkbox checked bug
import Html exposing (..)
import Html.App as App
import Html.Attributes exposing (..)
import Html.Events exposing (onClick)
main =
App.beginnerProgram { model = model, view = view, update = update }