Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
605rant1437yJust teach what is. Be a good coach. You will never know the future, you can help someone to be more happy with their work and they will not forget that.
-
The problem with working with Laravel is I've never figured out who to get it to use breakpoints properly.
-
I think this heavily depends on language and application.
I have not had xdebug installed since PHP7. If you need to step through PHP code iteratively to find a problem I don't even want to know what you're doing.
All problems can be discovered and fixed faster with unit tests and small, typehinted methods. Same goes for Javascript, testing frameworks and structure will probably do more for you.
In Haskell, the concept of a breakpoint doesn't even make sense, once your code finally compiles its usually correct, your issues tend to be performance / benchmark related.
Now, if you were talking to a systems programmer writing a video codec in Rust and he's wondering why it crashes on a specific keyframe, I can imagine that he would need to know about break points. -
ganey957y@gitlab just put in a PR for @break. It seems any pointless helper gets accepted these days, so surely something useful should get accepted
-
Xirate3217y^ Same here bro (learned debugging at work, but still, at least I knew a little bit about breakpoints :P)
-
px0622427yThis was me coming from eclipse to visual studio, that's the moment I realised how fucking shit eclipse is and how amazing VS is compare to every single other IDE. Not just breakpoints but everything combined.
- "Have you ever used breakpoints?"
- "Umm.."
- "You ever saw a breakpoint?"
- "You mean like... "break;"?"
...
undefined