rspec/rules/S2436/comments-and-links.adoc

19 lines
731 B
Plaintext

=== on 20 Jan 2015, 15:41:40 Ann Campbell wrote:
\[~nicolas.peru], you're going to have to help me out with the whys and wherefores on this one.
=== on 20 Jan 2015, 16:00:01 Freddy Mallet wrote:
This rule seems to duplicate RSPEC-107 ???
=== on 21 Jan 2015, 17:39:38 Nicolas Peru wrote:
\[~freddy.mallet] This is about Type parameters not parameters.
\[~ann.campbell.2][~freddy.mallet] For me this is the same reasons as for RSPEC-107 : if you have too many type parameters then your class/method is probably doing too many things.
Another reason to avoid too many type params is readability :
----
<S, T, U, V> void foo() {} //not really readable
<String, Integer, Object, String>foo(); // especially on invocations
----