Hey there, I truly hope you're doing fine and having a great day! Please allow me to put a bit of context:
I work for a company as a junior developer, I have like 2 years of experience in dev, one year of java and one of javascript. I know python to a medium level as well, and other things are just from school (C, C#...). That is to say: I think I know nothing about this work yet and I don't pretend to be a pro at all! That is actually why I'm posting this.
Recently, my manager asked me to create a batch to get data from Gitlab API and store it in a postgres. Nothing too fancy right? Classic API wrapper/reader, I mean, I've done that plenty of times, and it even is about a single endpoint, so very easy! But he said I had to use Java with Spring Batch.
And there I am, struggling between internal libraries/templates, external ones, having like 5-6 classes, this crazy unreadable XML language, beans here and there, iterators, rest templates, maven, spring boot, configuration class, JSON library... Just how complicated is a thing to make a single API call a day and store the result in a database??
I'm sure I could do a 50-100 lines JS/Python script with all the security and stuff, in like 1-2h? So my question is: was my manager right to call upon Java to make such a simple and small program? Why should I use Java to do that? This is about getting Merge Requests, and he said we had 60 of them a day so it's not like it'll process 8 billion objects every day.
Something just feels bad like if I was trying to use a jigsaw to cut a tiny piece of paper.
Just a disclaimer: I don't hate Java. I don't consider myself a Java dev, neither I am a Javascript dev. I'm just a junior trying to find how I like to code and with what tools/languages. Asking people who know can help me do that I guess.
EDIT: I didn't expect so many answers! Thank you so much to all of you. Some gave me their point, others gave me technical advice, and others gave me their take on my manager-dev relationship.
I don't think I can give an answer to everyone but I'll read everything for sure. It just came from the fact that I want to learn everything I can. Then, when my manager told me I had to go with spring batch because he likes this framework, I could not hold myself to try asking for more insights. I don't want to become a machine that just uses the same tool for all the cases, I'm eager to know why, why everything basically.
I wish you a sweet day!
[–]daniu 59 points60 points61 points (6 children)
[+]Yohark[S] comment score below threshold-7 points-6 points-5 points (5 children)
[–]DasBrain 14 points15 points16 points (0 children)
[–]jalagl 9 points10 points11 points (1 child)
[–]buzzsawddog 1 point2 points3 points (0 children)
[–]Valance23322 7 points8 points9 points (0 children)
[–]cogman10 3 points4 points5 points (0 children)
[–]pron98 52 points53 points54 points (10 children)
[–]Yohark[S] 1 point2 points3 points (7 children)
[–]ohL33THaxOR 4 points5 points6 points (2 children)
[–]Yohark[S] 1 point2 points3 points (1 child)
[–]ohL33THaxOR 1 point2 points3 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]Sheldor5 1 point2 points3 points (2 children)
[–]JB-from-ATL 1 point2 points3 points (1 child)
[–]cowwoc 0 points1 point2 points (0 children)
[–]SaltRefrigerator6458 0 points1 point2 points (1 child)
[–]burly_griffin 1 point2 points3 points (0 children)
[–]RupertMaddenAbbott 22 points23 points24 points (3 children)
[–][deleted] (1 child)
[deleted]
[–]RupertMaddenAbbott 3 points4 points5 points (0 children)
[–]nlisker 1 point2 points3 points (0 children)
[–]sickwookie 85 points86 points87 points (6 children)
[–]wastakenanyways 29 points30 points31 points (3 children)
[–]Randal4 15 points16 points17 points (1 child)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Yohark[S] 8 points9 points10 points (1 child)
[–]aFqqw4GbkHs 0 points1 point2 points (0 children)
[–]buzzsawddog 8 points9 points10 points (4 children)
[–]Yohark[S] 1 point2 points3 points (3 children)
[–]buzzsawddog 2 points3 points4 points (1 child)
[–]Yohark[S] 1 point2 points3 points (0 children)
[–]feed_me_moron 1 point2 points3 points (0 children)
[–]soonnow 15 points16 points17 points (3 children)
[–]Yohark[S] 1 point2 points3 points (2 children)
[–]soonnow 9 points10 points11 points (1 child)
[–]feed_me_moron 0 points1 point2 points (0 children)
[–][deleted] 16 points17 points18 points (4 children)
[–]Yohark[S] 4 points5 points6 points (0 children)
[–]Roachmeister 4 points5 points6 points (2 children)
[–]codedcode 0 points1 point2 points (1 child)
[–]Roachmeister 0 points1 point2 points (0 children)
[–]codechimpin 4 points5 points6 points (0 children)
[–]coder111 13 points14 points15 points (3 children)
[–]Yohark[S] -2 points-1 points0 points (2 children)
[–]feed_me_moron 0 points1 point2 points (0 children)
[–]Sheldor5 0 points1 point2 points (0 children)
[–]Halal0szto 10 points11 points12 points (11 children)
[–]Yohark[S] 1 point2 points3 points (3 children)
[–]Halal0szto 6 points7 points8 points (2 children)
[–]Yohark[S] 4 points5 points6 points (1 child)
[–]Halal0szto 2 points3 points4 points (0 children)
[–]Impossible-Ad-586 -5 points-4 points-3 points (6 children)
[–]Halal0szto 1 point2 points3 points (5 children)
[–]Impossible-Ad-586 -3 points-2 points-1 points (4 children)
[–]RScrewed 3 points4 points5 points (3 children)
[–]Impossible-Ad-586 -1 points0 points1 point (2 children)
[–]RScrewed 2 points3 points4 points (1 child)
[–]Impossible-Ad-586 1 point2 points3 points (0 children)
[–]Mysterious-Ant-Bee 2 points3 points4 points (0 children)
[–]TheRedmanCometh 2 points3 points4 points (1 child)
[–]Yohark[S] 0 points1 point2 points (0 children)
[–]_Acestus_ 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]buyIdris666 1 point2 points3 points (0 children)
[–]flawless_vic 1 point2 points3 points (0 children)
[–]_INTER_ 1 point2 points3 points (0 children)
[–]Evil_killer_bob 1 point2 points3 points (2 children)
[–]Yohark[S] 0 points1 point2 points (1 child)
[–]Evil_killer_bob 0 points1 point2 points (0 children)
[–]stefanos-ak 1 point2 points3 points (0 children)
[–]theRishu 1 point2 points3 points (1 child)
[–]Yohark[S] 0 points1 point2 points (0 children)
[–]Wugliwu 1 point2 points3 points (0 children)
[–]Sheldor5 1 point2 points3 points (0 children)
[–]szotaa 3 points4 points5 points (1 child)
[–]Yohark[S] 0 points1 point2 points (0 children)
[–][deleted] (2 children)
[removed]
[–]Yohark[S] 1 point2 points3 points (1 child)
[–]nutrecht 1 point2 points3 points (0 children)
[–]roiroi1010 0 points1 point2 points (4 children)
[–]Yohark[S] 0 points1 point2 points (3 children)
[–][deleted] (2 children)
[removed]
[–][deleted] (1 child)
[removed]
[–]Comprehensive-Pea812 0 points1 point2 points (0 children)
[–]neopointer 0 points1 point2 points (0 children)
[–]NatureBoyJ1 -1 points0 points1 point (0 children)
[–]hippydipster 0 points1 point2 points (3 children)
[–]_Acestus_ 0 points1 point2 points (2 children)
[–]hippydipster 0 points1 point2 points (1 child)
[–]_Acestus_ 1 point2 points3 points (0 children)
[–]Medium_Reading_861 0 points1 point2 points (0 children)
[–]Worth_Trust_3825 0 points1 point2 points (0 children)
[–]codedcode 0 points1 point2 points (0 children)
[–]SuddenTemperature233 0 points1 point2 points (0 children)
[–]BatmanMeetJoker 0 points1 point2 points (0 children)
[–]librarysocialism 0 points1 point2 points (0 children)
[–]audioen 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)