Live data from Hacker News

Ugit - DIY Git in Python

leshenko.net

21–25 of 25 posts

Re: Ugit - DIY Git in Python

#22

I particularly like the iterated development approach to teaching on this site. That is, one starts with some minimal working code, states a goal, and then modifies the code to accomplish that goal --- repeatedly. This is a very powerful way to go through a codebase (when it is possible).

Does anyone know the tool to use used to generate the site?

e.g. Is it using plugin for a static site generator?

Re: Ugit - DIY Git in Python

#23
post #22

I particularly like the iterated development approach to teaching on this site. That is, one starts with some minimal working code, states a goal, and then modifies the code to accomplish that goal --- repeatedly. This is a very powerful way to go through a codebase (when it is possible).

Does anyone know the tool to use used to generate the site? e.g. Is it using plugin for a static site generator?

In the comments on the first page, he says it's custom written in TypeScript and not open source yet.

Re: Ugit - DIY Git in Python

#24

> f'{GIT_DIR}/objects' Never seen a writing style like that. How is it called? I want to read some documentation and history.

Sting interpolation, aka f-string, pep 498. Uses the .format mini-language plus expressions. Python 3.6+

^string of course.
Post reply on HN