oweiler·4 месяца назад·discusshttps://github.com/helpermethod/pk/blob/main/pkI have a tiny shell function to kill whatever is listening on that port
oweiler·6 месяцев назад·discussHis first "what" example actually explains "why" clear is called two times. The code perfectly captures the "what".
oweiler·8 месяцев назад·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·8 месяцев назад·discussIt just gets rid of the boilerplate. Never had a problem with ctor injection in Spring.
oweiler·8 месяцев назад·discussUse the builtin Result class and runCatching/fold and be done with it. Yes, it has shortcomings but works well enough in practice.
oweiler·10 месяцев назад·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·3 года назад·discussNot only is it debatable, you never see any type of evidence. And how would you measure it?