Re: [DISCUSSION] MaxLineLength checkstyle rule

2021-05-18 Thread Nikolay Izhikov
Hello. > BTW, was there any progress with this? Patch is ready, please, join the review - https://github.com/apache/ignite/pull/9106 > 10 мая 2021 г., в 09:47, Ivan Pavlukhin написал(а): > > +1 for 140 lines compromise. > +1 if someone is ready to fix everything to fit 120. > > BTW, was ther

Re: Re[2]: [DISCUSSION] MaxLineLength checkstyle rule

2021-05-09 Thread Ivan Pavlukhin
+1 for 140 lines compromise. +1 if someone is ready to fix everything to fit 120. BTW, was there any progress with this? 2021-04-15 21:41 GMT+03:00, Maxim Muzafarov : > Folks, > > I've briefly checked the total amount of the max length violations: > > 120 line length - 5540 violations > 130 line

Re: Re[2]: [DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Maxim Muzafarov
Folks, I've briefly checked the total amount of the max length violations: 120 line length - 5540 violations 130 line length - 1891 violations 140 line length - 895 violations 150 line length - 478 violations I think the 140 max line length might be the best option for us. On Thu, 15 Apr 2021

Re: Re[2]: [DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Ivan Daschinsky
But super long lines are a real problem while merging. It is super inconvenient. 120 chars is a good compromise. чт, 15 апр. 2021 г. в 14:39, Zhenya Stanilovsky : > > Python is not so verbose as java ) > +1 for 140 > > >Hi! > >Personally, I suppose that 120 chars per line is OK. Moreover, many >

Re[2]: [DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Zhenya Stanilovsky
Python is not so verbose as java ) +1 for 140   >Hi! >Personally, I suppose that 120 chars per line is OK. Moreover, many >codestyles suggests less chars per line. >For example PEP8 recommends 80 (but we use 120 in pyignite and flake8 >codestyle checks it). Google java codestyle insists on 100. >

Re: [DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Nikolay Izhikov
> I think that we should keep the "soft" 120 chars limit in CC, but introduce a > hard limit of 140 in checkstyle Works for me. > 15 апр. 2021 г., в 14:21, Ilya Kasnacheev > написал(а): > > Hello! > > Let me clarify: I think that we should keep the "soft" 120 chars limit in > CC, but introdu

Re: [DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Ilya Kasnacheev
Hello! Let me clarify: I think that we should keep the "soft" 120 chars limit in CC, but introduce a hard limit of 140 in checkstyle, since it should not be too much work or annoy too much. In the future we may wish to harmonize the two. Regards, -- Ilya Kasnacheev чт, 15 апр. 2021 г. в 12:37

Re: [DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Ivan Daschinsky
Hi! Personally, I suppose that 120 chars per line is OK. Moreover, many codestyles suggests less chars per line. For example PEP8 recommends 80 (but we use 120 in pyignite and flake8 codestyle checks it). Google java codestyle insists on 100. More than 120 chars is too long as for me and is not co

Re: [DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Nikolay Izhikov
Hello, Ilya. Thanks for the feedback. 140 characters is fine for me. > 15 апр. 2021 г., в 12:25, Ilya Kasnacheev > написал(а): > > Hello! > > Please find attached the distribution of line lengths in the project, in the > form of (count, line length). > > I think that we can enforce a hard

Re: [DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Ilya Kasnacheev
Hello! Please find attached the distribution of line lengths in the project, in the form of (count, line length). I think that we can enforce a hard limit of 140 chars per line. I think that having longer lines is excessive and does not benefit readability. Having a limit of 150 or 180 does not

[DISCUSSION] MaxLineLength checkstyle rule

2021-04-15 Thread Nikolay Izhikov
Hello, Igniters. Right now, we have a code style rule [1] - the line should fit in 120 characters. But, this rule violated in many and many places through code. I have a plan to add a check style rule to force maximum line length. For me, personally, 120 characters a bit old-fashioned restrictio