Bernardo Sulzbach

Results 60 issues of Bernardo Sulzbach

According to YourKit this is a hotspot. We are using it in Matches and it is fairly expensive to create (and this is done a lot). We should instead just...

enhancement

I've come to the conclusion that having less static variables would be a great way to reduce problems that arise from method invocations side-effects. More "pure functions" could simplify several...

suggestion
code standard
design
tests

It doesn't emphasize what the String has that the Java String does not have. Should be something similar to ColoredString. RichString is better. It could include more visual style changes...

code standard
design

Something to remove weak creatures without killing them.

enhancement
content

I think that the following curve is good enough. ![curve](https://user-images.githubusercontent.com/8271090/28488919-f3fadaee-6e8b-11e7-98d1-442316ccf003.png) It is min(1.0, 4 * (1 - x)^2) from x in [0, 1]. 0 is fresh, 1 is rotten.

enhancement
content

There is a quite easy to remove line wrap in that file.

code standard
easy

Apparently, there are two ColoredString classes.

enhancement
suggestion

We must have something working before we can decide how it should look like.

enhancement
content
design
modding

Comments get out-of-sync quite easily, this does not improve the codebase in any way.

enhancement
code standard