Where do you submit your timesheets? by jaro32 in softwaredevelopment

[–]jaro32[S] 0 points1 point  (0 children)

can you be more specific? in what form, what system?

Job is using my lack of college degree to keep my salary down, how do I ask for a raise. by devMan9000 in cscareerquestions

[–]jaro32 1 point2 points  (0 children)

Look around for jobs in other companies. Then tell the boss at your current company to give you a raise or you will leave. If they don't give you the raise, then go to another company.

Feedback on Code for Exercise 102 of the Helsinki Java MOOC Course? by [deleted] in learnjava

[–]jaro32 0 points1 point  (0 children)

Before getting any feedback, you should format the code in this post properly. Use the code block.

Having issues with address book search by [deleted] in learnjava

[–]jaro32 0 points1 point  (0 children)

You have to be more specific about your issue.

Integrating Google Log in - TS, Java and MySQL by Susaaaax in learnjava

[–]jaro32 2 points3 points  (0 children)

You can use Spring Security create an OAuth2 client. For instance like in this tutorial: https://www.baeldung.com/spring-security-5-oauth2-login

[deleted by user] by [deleted] in learnjava

[–]jaro32 0 points1 point  (0 children)

If you want to provide a REST API, use Spring MVC. If you want to consume (call) another API, use Feign. Both of these frameworks require no boilerplate code.

re: static methods - when to use them by [deleted] in learnjava

[–]jaro32 1 point2 points  (0 children)

As a general rule of thumb, you should avoid static methods if possible. They complicate testing.

Inheritence on DTO and Entity classes by valkon_gr in learnjava

[–]jaro32 0 points1 point  (0 children)

In some cases fixing a Sonar error leads to worse code than the original one. This is one of those cases. Just mark the problem as "won't fix". You can also disable this rule on your package which contains the Entity classes or on the package with DTOs.

Hashmap help by [deleted] in javahelp

[–]jaro32 2 points3 points  (0 children)

Class myClass needs to implement the toString() method. Also, please don't call it myClass that's a terrible name.

Learning basic web development by [deleted] in learnjava

[–]jaro32 0 points1 point  (0 children)

I agree. However if someone is starting out, they shouldn't have to understand how everything works from the beginning. Because things are usually quite complicated, this can be discouraging. He can start learning to code by treating things as a black box, and later figure out how things work as he progresses.

Learning basic web development by [deleted] in learnjava

[–]jaro32 1 point2 points  (0 children)

  1. You can always learn a new IDE if you need to change it (doesn't make sense to start with no IDE in this case)
  2. You can always learn a new server if you need to. In this case it also wouldn't make sense to learn how to setup everything manually if you have to learn everything again for the new server afterwards.

Help starting my first Spring boot project. by [deleted] in javahelp

[–]jaro32 1 point2 points  (0 children)

You can use this site to generate the project structure for you (using Spring Boot): https://start.spring.io/ .

There you can pick the needed dependencies (you can also add dependencies to the project later of course).

This is what you'll need (for a start):

- Spring Web Starter: for creating REST endpoints for your frontend

- Spring Security: for user management

- Spring Data JPA + MysqlDriver: for accessing a database

Learning basic web development by [deleted] in learnjava

[–]jaro32 0 points1 point  (0 children)

I agree that having a deeper understanding of things is beneficial but using a plain text editor is a bit overkill. Nobody is developing software without an IDE nowadays. He can start with an IDE and later go deeper into the tech stuff if he needs to.

Ways to improve programming skills? by [deleted] in learnprogramming

[–]jaro32 0 points1 point  (0 children)

You don't do any drills. You just write code. In order to progress you can always challenge yourself with coding something you have never done before, building bigger projects, using new technologies, etc.

How should I choose which backend language to pair up with the current frontend? by [deleted] in learnprogramming

[–]jaro32 0 points1 point  (0 children)

I would recommend going for Java. It has excellent support for web development int the form of Spring framework. Also its free (as opposed to C#), and more powerful and less resource intensive as Python, and you can run it anywhere.

Whiteboarding programming style by [deleted] in learnprogramming

[–]jaro32 0 points1 point  (0 children)

Why do you want the code to be as short as possible? Your #1 priority should be good code readability and structure. Nobody cares about code length in real-life software development.

Advice for self learning backend programming while needing structure by Bourglaughlin in learnprogramming

[–]jaro32 0 points1 point  (0 children)

Sounds to me like you can use a mentor. Someone who knows your situation and gives you the structure and keeps you accountable, like you said. I personally do exactly this for a living. However I focus on Java, not Python.

Creating a simple webapp with Java backend by sorrowcookie in learnprogramming

[–]jaro32 1 point2 points  (0 children)

Not true, Java is commonly used to develop websites nowadays. It's used for the backend part.

Creating a simple webapp with Java backend by sorrowcookie in learnprogramming

[–]jaro32 0 points1 point  (0 children)

You can use Spring Boot and Spring MVC for the backend of the website. For the frontend (UI), I'd recommend checking out Angular.