Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
RockingGoodNite
on Sept 29, 2022
|
parent
|
context
|
favorite
| on:
Paving the on-ramp to Java
static should be removed from Java. static is bad, not always but because it can be misused and because it makes debugging more difficult and most important of all, it makes testing impossible and PowerMock is to be avoided at all costs.
ahtihn
on Sept 29, 2022
[–]
Right, methods that call Math.min() are literally untestable without PowerMock.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: