Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In a language with a sane syntax, we can do this:

   if (A) {                  if (A) {
     B                         B
     C              -->        C
   }                           D
   D                           E
   E                         }
Imagine that is 300 lines long and BCDE contain their own nesting and such.

We can do a "git diff -w" and just see that the closing brace moved and that there are no changes in D and E.

Do the same in Python and "git diff -w" comes up empty.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: