oweiler·há 4 meses·discusshttps://github.com/helpermethod/pk/blob/main/pkI have a tiny shell function to kill whatever is listening on that port
oweiler·há 6 meses·discussHis first "what" example actually explains "why" clear is called two times. The code perfectly captures the "what".
oweiler·há 8 meses·discussYou can also check in an .sdkmanrc into each respective project which defines the required Java version.Then SDKMAN! will perform the switch automatically when you enter the directory.https://sdkman.io/usage/#env-command
oweiler·há 8 meses·discussIt just gets rid of the boilerplate. Never had a problem with ctor injection in Spring.
oweiler·há 8 meses·discussUse the builtin Result class and runCatching/fold and be done with it. Yes, it has shortcomings but works well enough in practice.
oweiler·há 10 meses·discussThis is honestly the main reason I prefer Playwright to Cypress. Playwright leans heavily into using POs, while for some reason Cypress doesn't.So in almost every project the Cypress tests are a procedural mess, while the Playwright tests are mostly well structured.I know that Cypress has other patterns for dealing with this but they never seem to get applied.
oweiler·há 3 anos·discussNot only is it debatable, you never see any type of evidence. And how would you measure it?