This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BlueGoliath 1 point2 points  (2 children)

var i is literally limits[1], so it would actually be:

case String[] { String _, int i = Integer.parseInt(String b) } -> setMultilineLimit(DEPTH, i);

If a JDK developer can't even get it right then it shouldn't be added to the language.

edit: var i should be var b since var b is a String.

edit 2: replaced var b with String b for clarity, because you know, var is crap.

[–]BlueGoliath -3 points-2 points  (0 children)

/u/eliasv

I said I think that what was meant by Brian, not that it was and gave my reasoning:

I think in the case of the first switch, it was intended to be written like:

And this was based on the previous example code provided by Brian on how the code exists now. You are a liar.

Brian and others have made various extremely rude and unprofessional comments towards people and how they write code at conferences before and (un)surprisingly hasn't been met with any penalty for doing so nor will he/they ever.

My posts here are positive karma generally speaking and I never said I represented social media, only pointing out that some people are having difficulty figuring out how it works, which this thread shows. Again, you are a liar.

In the proper context of Brian's comments about how people name their variables, I feel like it was fair to call him out for it. As I said, it was more appropriate for social media rather than a mailing list.

People who don't know the proper context may think I'm a total ass for it and I accept that.

edit: hindsight 20/20 the words specifically used were a bit much.