General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
Computerphile
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "Brian Kernighan Qu0026A 3/3 - Computerphile" video.
4:09 Python enforces indentation, too. But it allows you to use either tabs or spaces, just so long as you are consistent. Forcing you to use only tabs is a step backwards, in my view.
4
Has that table off to the side, behind him, had one of its legs sawn off?
1
Why do I keep reading that as “Luau”?
1
3:54 I started out using tabs, too. But I used a reconfigurable editor which let you specify the width of a tab. So setting tab stops every 4 columns worked out nicely. Then, after many years, I realized that forcing everyone to reconfigure their editing/viewing tools away from the default of tabs every 8 columns was getting a bit wearying. So I switched to explicit spaces. Nowadays a I use an editor (Emacs) that can automatically sniff every file it opens. So if the file has tabs, then the TAB key inserts tabs. But if there aren’t any tabs, then the TAB key is automatically set up to insert spaces for that file. Also, having keystrokes to quickly adjust the indentation of blocks of text is very helpful.
1