1

line breaks after 100 or so characters suck. function chaining will look bad in one line, but it doesn't mean we need to limit all our lines to a hard length.
ex:

config.logger.e(TAG, "func() called with: p1 = $p1, p2 = $p2, p3 = $p3, p4 = $p4, p5 = $p5")
this is a standard log that i add at the start of my functions . its easy to autogenerate in intellij , even if my class and variable names are much long (like mVideoAnalyticsManager) . when these variables and their string names add up, they will easily go out of the screen and i won't mind scrolling a few seonds to the left to ensure everything is correct (which 99.9% is)

but a fucking ctrl+alt+l and all strings are broken with a fucking +
+
+
+
+)

AAGh its just irritating ://////

Comments
  • 2
    While I agree that hard limits aren't great

    - just use a marking line as guide -

    . . .

    you are sick.
  • 0
    I think you can adjust the wrap line in Intellij. You can adjust it to how many characters you want.
  • 0
    Here it is
  • 0
    @daniel-wu yes i can, but i will have to unnecessarily convince with my 9 other team mates, seniors and bosses to do the same, for which i don't have any reasonable argument to prove my point. Some famous ass bob uncle gave some guidelines and those are the building blocks of every system design today, and i am a nobody who just doesn't like to see line breaks
Add Comment