News for hackers. Stuff that matters.
Re:Python with Braces by zzo38computer on Monday July 08, 2024 @06:55PM (#40910655)
Deliberately, both in order to mark it in a special way to stand out clearly, as well as to avoid having to add indentation for such a code where it is unnecessary and not helpful. That line of code will soon be deleted anyways, so it does not matter much if other people dislike it.
Re:Python with Braces by necovek on Wednesday July 10, 2024 @01:57PM (#40929565)
Can you share an example where you non-temporarily add braces around a code block but then keep the indentation the same level as before the block? What do your collaborators think of it?