Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!

Adrian Grabowski

Rancher
+ Follow
since Jun 22, 2018
Adrian likes ...
Mac OS X IntelliJ IDE
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
14
In last 30 days
0
Total given
0
Likes
Total received
48
Received in last 30 days
0
Total given
40
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Adrian Grabowski

Ali Mustafa wrote:just to learn how ppl make these types of applications



It's good that you're trying to write your own stuff instead of just following tutorials, that's the best way to learn. But at this stage it would be good to go back to the basics. I suggest you google stuff like:

* Object Oriented Design
* Code Smells
* Design Patterns
* SOLID principles

(I can help with recommending books or other resources if you wish)

but also some low level stuff like:
* how primitives like int or double work in Java (or other languages)
* how to compare floating point values
* when not to use floating point variables

And then slowly try to fix your code step by step. Start with the design, try first to describe the problem in plain English, then you'll come up with ideas of which classes you need and how they should interact with each other.  Separate gui code from business logic. Actually, as others have said, don't write GUI just yet, just the business logic and add simple unit tests to check if the code is working correctly.
1 month ago

Tim Holloway wrote:To do well at Spring Boot, you must first do well at Spring.

To do well at Spring, you must first do well at Java.

It's also a good idea to become familiar with how webapps work, since Spring Boot operates via an embedded webapp server.



I see your point but also, there nothing wrong with playing with Spring Boot straight away after learning basics of Java. It's also much less painful than "normal" Spring. And it doesn't have to be anything web related. You can use it for writing console apps - check out this module https://spring.io/projects/spring-shell , pretty fun to use.
2 months ago
I always tune my CV for a specific job and remove keywords and technologies which I'm sure that either won't be relevant or that can be implied. In some countries recruiters use tools that could discriminate against CVs with too many keywords (or not enough matched ones). My rule of thumb is to look at the job advert and see what they mention there. You basically want to have just the right number so the AI/non-technical person won't bin it but at the same time doesn't look weird to the rest of us.
6 months ago
When should we not consider using lambdas and streams while writing new code or refactoring?
6 months ago
Welcome Venkat!

I remember watching your talk on Devoxx Youtube video on lambdas and streams when I was just starting to learn how to program back in 2016, I had already covered basics of OOP by then and wanted to understand functional programming so I watched the whole video in a gym, while running on a treadmill! I think I passed my Oracle exam thanks to that video and consequently was able to get my first job. So, a big thank you!

6 months ago
What exactly are you trying to achieve?
8 months ago
Other technologies to consider:

jHipster - used to quickly generate the whole app using any of the common front and back-end frameworks
Flutter - uses Dart language (which is very nice) and allows to create mobile/web/desktop apps from single code base
8 months ago
I'm not sure if that's allowed but I think it is...

There is a pretty good deal on Humble Bundle (includes OCP books and some other interesting ones)

https://www.humblebundle.com/books/sybex-certification-prep-wiley-books
8 months ago
Out of curiosity... what is the reasoning behind mixing camel case, snake case and whatever 'getTSHELFLIFE' is?
9 months ago
I'm not sure if that (or any other) microservices certification would be worth anything. I think it would be much more useful to start using it in your own projects. And it will probably be useful to understand the theory behind microservices and reactive programming. I've never used it professionally so hopefully somebody with more knowledge will respond soon but here are some resources that I found helpful:

https://martinfowler.com/articles/microservices.html

https://reflectoring.io/reactive-architecture-with-spring-boot/

https://www.amazon.co.uk/Microservices-Spring-Boot-Cloud-microservices/dp/1801072973/ref=sr_1_12?crid=3FZ3KK7ME2D2U&keywords=microservices&qid=1677433391&sprefix=microservices%2Caps%2C359&sr=8-12
11 months ago
Wow, I didn't know about that at all, I've never received any notifications from github so I wrongly assumed that there was nothing happening there! Looks like I need to catch up, thanks!
11 months ago
Ok, this project disintegrated quicker than Liz Truss's cabinet. Should we maybe resurrect it?
11 months ago
How will you update the prices? Manually? If that's the case I predict you'll get bored after a while. Also, it would not bring much value to your portfolio, if you wanted to use it to showcase your front-end skills then that's different.

For a back-end project, you want something that, ideally:

- is unique and interesting to you and potentially others, cannot be something generic that the recruting manager saw 50 times already (many people put stuff that they "created" while following some tutorials, that will not impress anybody)

- is an app/service that will work with minimal user input, it could periodically hit some API, scrape the web or use some other way to obtain data. Let's say that you want to apply for a job at a company that deals with IoT - then invest £30 in Raspberry Pi and some sensors, hook it up to your service using MQTT (so you can put another keyword on your CV   ) and process it in some way.

- implements security in some, even basic, way

- is live and can be used straight away and is easy to use. If it's just an API then is has to have documentation (you might find Swagger useful)

- shows that you can write reasonably clean code, OOP, SOLID, KISS, DRY and know at least some design patterns, data structures and Java ecosystem, 9/10 times nobody will look at your code but if they will that means that they're already interested and you don't want them to have a heart attack

Bonus tip: when you start sending your CV out, in each one add a unique ref key to the link to your portfolio/app. Process it on the backend and save the stats so you can see which companies are interested. Not only useful but if they notice then at least it will make them chuckle and they'll remember you


1 year ago
People keep recommending here Head First book but I didn't like it at all. My first book was Java: A Beginner's Guide by Herbert Schildt and I really loved it. I also liked Objects First with Java: A Practical Introduction Using BlueJ which is really great if you don't mind using BlueJ. So, I think, the best way is to buy a few books and see which one you like best (you can save a lot of money by buying older versions for 1/10 of the price, not a lot has changed since Java 8). Once you go through the basics, Effective Java by Joshua Bloch is a must imho.
1 year ago