Nostradamic vs Nostr-java #71
Replies: 3 comments 8 replies
-
I have not read the full article yet, but I'll say this:
1) he's right about lombok
2) and 3) is interesting feedback and pertinent, indeed. 4) he's right about in-house json (and this what the latest release addresses)
I'll probably have more to say after reading the article, and thanks for sharing. --
Sent with Tutanota, enjoy secure & ad-free emails.
12 Jul 2023, 13:56 by ***@***.***:
…
I was searching on internet and I found this > article <https://nostradamic.com/how-i-built-a-nostr-relay-with-java>> where the author talk a little about nostr-java.
Well, the author was really hard about Nostr-java, but there are some importants points. They said that "don't like it very much", but it was the only library available, so they made the following comments:
>
> it uses >> lombock <https://github.com/fiatjaf?tab=repositories>>> which has no future after Java introduced records (I used lombok in the past, but now it is obsolete)
>
>
> too much inheritance in the domain model (this is a sin of the academic world - in real projects, the composition is preferred)
>
>
> the way the project is structured, the maven sub-project is also not the best (it is better to be structured on NIPs)
>
>
> in-house JSON encoder/decoder is needed?
>
>
Well, some points are really pertinents.
I'd like to know what everyone here thinks about it.
—
Reply to this email directly, > view it on GitHub <#71>> , or > unsubscribe <https://github.com/notifications/unsubscribe-auth/ABQMG7BMJLGPKJ5PR3AEQ6DXP2NGFANCNFSM6AAAAAA2HOLTYQ>> .
You are receiving this because you are subscribed to this thread.> Message ID: > <tcheeric/nostr-java/repo-discussions/71> @> github> .> com>
|
Beta Was this translation helpful? Give feedback.
-
OK, just finished reading and I don't have much to add, but I'll say this: The author makes some valid points, specifically points 1 and 4, as mentioned earlier today.
PS: I'm not bothered or feel insulted by the "don't like it very much." It sounds harsh, but I think it's honest, candid, and argued in good faith. Overall, it gives me a lot to think about in terms of improving the project. |
Beta Was this translation helpful? Give feedback.
-
Hey buddy, In my opinion, the most importants points was the 3 and 4 And I will explain why.
...
So, although records are an interesting way to reduce code, but it doesn't solve all the scenarios that Lombok works with. I recommend taking your time and only where it makes sense.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was searching on internet and I found this article where the author talk a little about nostr-java.
Well, the author was really hard about Nostr-java, but there are some importants points. They said that "don't like it very much", but it was the only library available, so they made the following comments:
Well, some points are really pertinents.
I'd like to know what everyone here thinks about it.
Beta Was this translation helpful? Give feedback.
All reactions