Skip to content

Instantly share code, notes, and snippets.

Last active March 6, 2023 18:53
Show Gist options
  • Save AdamBien/3eba2c0cee3c6e2722cd6c3d440d9bef to your computer and use it in GitHub Desktop.
Save AdamBien/3eba2c0cee3c6e2722cd6c3d440d9bef to your computer and use it in GitHub Desktop.
Copy link

"I'm a bit confused with the low level design principle of Liskov substitution principle. I do understand what it is but still not sure how it is useful in any way" [ a question from:]

Copy link

Hi, Adam!

If we look at the Response class(, we will see that it implements the AutoCloseable interface, do we need to explicitly close the responses or use try-with-resources, I have never seen anyone do this, can there be a resource leak here?


Copy link

dwamara commented Mar 2, 2023

Hi Adam,

long time no writing from me, just too busy but always watching the sessions on YouTube after they air.
A quick question: is there an elegant way to find the name of the method one is in?
At the moment I do this
var action = (this.getClass().getSimpleName() + "." + getInstance().walk(frames -> frames.findFirst().map(StackFrame::getMethodName)).get());
but I definitely don't find it elegant and code must be performant and elegant.

Thanks again,

Copy link

dabkhazi commented Mar 6, 2023

Hello! You use the Quarkus framework a lot, it's a fast growing framework with very frequent updates. Do you often return to old projects to upgrade the version of the framework in them?

Copy link

losch commented Mar 6, 2023

Hi Adam,

Thank you for the show!
I recently deployed a small Quarkus application to AWS Lambda as a monolith function and so far it has been working great and it's easy to maintain. Also it's nice that we can switch to Fargate easily if we ever need to. Do you have any experience on how big the monolith functions can be? Is there any limit in practise?

Copy link

dempile commented Mar 6, 2023

Hi Adam,
How could you protect your war from being decompiled ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment