Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world

14 replies

lemmy.world

Well its public so who knows in what other package is using it. And it's static, so who know what kind if monster is calling it from some inapropriate place. I have seen static methods being called from translation/localization files, because "it works".

37
mbtrhcsreply
feddit.org

IntelliJ finds most uses in my experience unless you're doing something weird with reflection or similar. And if it's a public facing API only used by the library's consumers..– it should be used in tests at the very least! Especially if it's prone to regressions like the comment suggests

15

There are only 7 unit test classes. 2 of which I wrote myself this month.

13
cheddarreply
programming.dev

Somebody should tell Albert and the others, they can let this method go.

29
qazreply
lemmy.world

I already did so an hour ago

UPDATE: It has been merged

29

Alright, this is my first contribution to an open-source project, albeit indirect. I'll drink to that!

12
qazreply
lemmy.world

Found it while refactoring KDE Connect Android.

57

It has a typo

Me about to make my first contribution to KDEConnect Ü

3

I keep telling myself that in the ideal world, phones would be programmed in Forth.

6

You reached the end

`getStorageList()` | Spyke