r/learnprogramming •

Confused by intermediate Java

[deleted] — view deleted post

0 Upvotes

5 comments sorted by

View all comments

•

u/dkopgerpgdolfg 27m ago

Wtf how does a lambda work?

Do I use get set for everything?

Do i private everything? Do i protect everything? Do i static everything?

These topics exist for Rust too, which you caim to know. Maybe you need to improve more.

And usually there's no single hard answer. Opinion/style play a role too.

When do i abstract instead of using interfaces?

The difference is a very simply google answer away

Why reflection?

Because it's possible. Why not.