oweiler·4 tháng trước·discusshttps://github.com/helpermethod/pk/blob/main/pkI have a tiny shell function to kill whatever is listening on that port
oweiler·6 tháng trước·discussHis first "what" example actually explains "why" clear is called two times. The code perfectly captures the "what".
oweiler·8 tháng trước·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 tháng trước·discussIt just gets rid of the boilerplate. Never had a problem with ctor injection in Spring.
oweiler·8 tháng trước·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 tháng trước·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 năm trước·discussNot only is it debatable, you never see any type of evidence. And how would you measure it?