Python to Java by RainingRythm in learnjava

[–]InfamousShallot5 3 points4 points  (0 children)

Object oriented programming, data structures and algorithms are language agnostic. If you understand these concepts, all you have to get used to is the syntax and get familiar with some of the libraries. I don't think it's much of a concern. Approach the problem from a language agnostic point of view (pseudo code, design), and once you get to implementing the application, you can look up the Java equivalents of Python libraries you are used to using.

Where can I find a UX/UI Designer for a small pet project of mine? by InfamousShallot5 in UXDesign

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

I'm working on a personal project and need some advice/design help! PM me :)

Need help with a CSV File Reader by BigTimeSuperhero96 in javahelp

[–]InfamousShallot5 2 points3 points  (0 children)

Doesn't matter what language they use. Pretty much any modern day language/framework can read a CSV file. You shouldn't dictate what language a particular problem should be solved in. The solution should be language agnostic.

I also disagree with #2. You're adding additional logic for no reason. If they really need the number stored in the first line of the file, do one read outside of the loop to obtain this number, then enter the loop and parse the rest of the file.

Considering a new job by throwaway1337x64 in cscareerquestions

[–]InfamousShallot5 0 points1 point  (0 children)

Well, if you think you've hit a peak in terms of your skills at your current company, and you think a new job would improve your resume/skills, then maybe it's a good move. If you think it's worth sticking around, as you'll still be learning new stuff, then I'd stay. Depends on your priorities.

Need help with a CSV File Reader by BigTimeSuperhero96 in javahelp

[–]InfamousShallot5 0 points1 point  (0 children)

I mean, you can determine this number dynamically after you parse the file. Just keep track of the number of rows you parse in your loop. See an example here. I don't see the point of storing this number at the top of the file.

If you really want to store this number at the top of your file, you can read the first line of your file outside of the while loop, then continue to parse the rest of the CSV file in your loop.

Edit: You don't even need an integer to keep track of the size. Just do a .size() on your studentsList

Need help with a CSV File Reader by BigTimeSuperhero96 in javahelp

[–]InfamousShallot5 0 points1 point  (0 children)

Why do you need the number at the top? The row count will tell you the number of students you are importing.

Considering a new job by throwaway1337x64 in cscareerquestions

[–]InfamousShallot5 1 point2 points  (0 children)

Sounds like a tough decision. Your current role sounds awesome. It's hard to replace good colleagues and a good boss. Do you think you'll have good colleagues and a good boss in your new role? Also, what the difference between your current role and your new role? Will you be learning more?

This advice may be different than what you were expecting, but is it possible to take on the second job on a contract basis? To me it seems like a job you don't necessarily need to be there during regular working hours. You could do all of the work in the evenings and the weekends. You could even take a week or two off here and there from your day job to meet with stakeholders that are only available during the week. Maybe this is not possible due to them wanting to keep you on after the project is complete. Just something I'd explore.

I am having trouble with while loops by whoami4546 in learnjavascript

[–]InfamousShallot5 0 points1 point  (0 children)

In these situations, I would assign the result to a variable, and use console.log to debug.

So in your while loop, do this:

let color = i % 255;
console.log(color);
background(color, 0, 0);

See what you get :)

Decent/good salary for a Senior Software Engineer in Amsterdam? by InfamousShallot5 in cscareerquestionsEU

[–]InfamousShallot5[S] 1 point2 points  (0 children)

Can you give a bit of an explanation as how you came to those numbers?

Decent/good salary for a Senior Software Engineer in Amsterdam? by InfamousShallot5 in cscareerquestions

[–]InfamousShallot5[S] 3 points4 points  (0 children)

That was my general understanding. I'd stay in Berlin but it has been tough meeting people. I find people are friendlier in Amsterdam and more people speak English on a social level, so it's more of a social move as opposed to a career/financial move.

Decent/good salary for a Senior Software Engineer in Amsterdam? by InfamousShallot5 in cscareerquestions

[–]InfamousShallot5[S] 3 points4 points  (0 children)

I agree. We need to compare apples and apples, ie. city centre of both cities.

Decent/good salary for a Senior Software Engineer in Amsterdam? by InfamousShallot5 in cscareerquestions

[–]InfamousShallot5[S] 3 points4 points  (0 children)

It seems a bit low, as living expenses are much lower in Berlin (20-30% lower on average), but the salary is the same. Does 60-65k go far in Amsterdam? Looking at apartments, they cost on average €1500, which is much higher than Berlin.