10

I just dealt with a 3 nested "if" statements in SQL. There is no indentation so I am quite frustrated since each "if" spans up to 2-30 lines.

I now understand why Python white space is significant

Comments
  • 0
    @DutchmanDavid the problem is that sometimes some devs are obstinate about keeping their nonstandard indentations. They will scream and yell at you when you change their coding style...
  • 0
    @DutchmanDavid I think I will try that approach. Isn't DataGrip a Jetbrains IDE? I have a total package subscription so maybe it's a good time to try it out. Thanks for the tip there, David.
  • 1
    @dance2die there's also sublime packages that format sql. SQuirreL sql client had an auto format function as well. Many options for fixing garbage sql formatting.
Add Comment