karpathy / ng-video-lecture

3.46k stars 902 forks source link

updated dictionary names #17

Open caaker opened 1 year ago

caaker commented 1 year ago

Using ch is more consistent with the variable name the comprehension already uses internally, which is ch. Also adds more meaning and description, which is the purpose of a name. The purpose is generally not to identify a type as this can be inferred from the language and code itself.

Dimey commented 1 year ago

there's no distinct character type in python, a character is simply a string of length one – the names are fine, imo