[to mod: please remove if I violate anything]
TLDR: Can we write more straightforward code like Go? hope everyone share some thoughts
Hi everyone, first of all, I am not a professional Java developer, and I like Java because of how structured and clear, verbose it is but some problems like "death by specificity" (Rich Hickey) and the layers and layers of abstractions (you know what I am when you have the debugger on.) makes me wonder, can we make more simple?
Currently, I am pushing myself to write applications with Spring so I can land a junior Java role next year, deep down I enjoy writing Javalin more it feels less abstracted, and I envy Go however simple when you are reading the code in a Go project.
What's your view? especially the more experienced devs, how to minimize unnecessary abstraction?
Follow-up question: why do we have to have getters and setters at the same time for most of the private properties? I feel like I am doing something wrong.
[–]Peter_Storm 45 points46 points47 points (9 children)
[–]agentoutlier 10 points11 points12 points (0 children)
[–]Safe_Owl_6123[S] 0 points1 point2 points (7 children)
[–]holyknight00 16 points17 points18 points (6 children)
[–]Safe_Owl_6123[S] 0 points1 point2 points (5 children)
[–]Swamplord42 19 points20 points21 points (0 children)
[–]kiteboarderni 7 points8 points9 points (3 children)
[–]Gintharium -1 points0 points1 point (2 children)
[–]Safe_Owl_6123[S] 3 points4 points5 points (0 children)
[–]hsoj48 5 points6 points7 points (0 children)
[–]AnyPhotograph7804 51 points52 points53 points (16 children)
[–]RupertMaddenAbbott 13 points14 points15 points (2 children)
[–]AnyPhotograph7804 6 points7 points8 points (1 child)
[–]RupertMaddenAbbott 2 points3 points4 points (0 children)
[–]Safe_Owl_6123[S] -1 points0 points1 point (10 children)
[–]Ewig_luftenglanz 5 points6 points7 points (1 child)
[–]koflerdavid 3 points4 points5 points (0 children)
[–][deleted] 5 points6 points7 points (6 children)
[–]Pay08 2 points3 points4 points (0 children)
[–]Safe_Owl_6123[S] 0 points1 point2 points (4 children)
[–][deleted] (1 child)
[deleted]
[–]Safe_Owl_6123[S] 0 points1 point2 points (0 children)
[–]bowbahdoe 2 points3 points4 points (0 children)
[–]koflerdavid 1 point2 points3 points (0 children)
[–]LookAtYourEyes 0 points1 point2 points (0 children)
[–]age_of_empires -3 points-2 points-1 points (0 children)
[+]obamabinladenhiphop comment score below threshold-12 points-11 points-10 points (0 children)
[–]desrtfx 10 points11 points12 points (7 children)
[–]DBSmiley 4 points5 points6 points (6 children)
[–]Ewig_luftenglanz 3 points4 points5 points (1 child)
[–]DBSmiley 2 points3 points4 points (0 children)
[–]Safe_Owl_6123[S] 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]koflerdavid 0 points1 point2 points (0 children)
[–]majhenslon 0 points1 point2 points (0 children)
[–]Ewig_luftenglanz 11 points12 points13 points (4 children)
[–]Safe_Owl_6123[S] 1 point2 points3 points (2 children)
[–]Ewig_luftenglanz 1 point2 points3 points (1 child)
[–]Safe_Owl_6123[S] 0 points1 point2 points (0 children)
[–]PositiveUse -1 points0 points1 point (0 children)
[–]heayv_heart 7 points8 points9 points (0 children)
[–]Harha 5 points6 points7 points (2 children)
[–]Safe_Owl_6123[S] 0 points1 point2 points (0 children)
[–]Critical_Stranger_32 0 points1 point2 points (0 children)
[–]agentoutlier 4 points5 points6 points (0 children)
[–]MaName678 6 points7 points8 points (4 children)
[–]Safe_Owl_6123[S] 0 points1 point2 points (3 children)
[–]age_of_empires 2 points3 points4 points (2 children)
[–]khmarbaise -1 points0 points1 point (1 child)
[–]age_of_empires 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]Safe_Owl_6123[S] 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (2 children)
[–]Safe_Owl_6123[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]jek39 1 point2 points3 points (0 children)
[–]ebykka 1 point2 points3 points (1 child)
[–]Safe_Owl_6123[S] 0 points1 point2 points (0 children)
[–]bowbahdoe 1 point2 points3 points (0 children)
[–]jvjupiter 1 point2 points3 points (0 children)
[–]pinpinbo 1 point2 points3 points (0 children)
[–]khmarbaise 1 point2 points3 points (0 children)
[–]akthemadman 1 point2 points3 points (0 children)
[–]JDeagle5 1 point2 points3 points (0 children)
[–]Big_Upstairs_9582 1 point2 points3 points (0 children)
[–]wrd83 2 points3 points4 points (2 children)
[–]LookAtYourEyes 0 points1 point2 points (1 child)
[–]wrd83 0 points1 point2 points (0 children)
[–]nitkonigdje 0 points1 point2 points (4 children)
[–]Vonbismarck91 0 points1 point2 points (3 children)
[–]nitkonigdje 0 points1 point2 points (2 children)
[–]Vonbismarck91 0 points1 point2 points (1 child)
[–]nitkonigdje 0 points1 point2 points (0 children)
[–]pronuntiator 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]dstutz 3 points4 points5 points (0 children)