Welcome Guest, Not a member yet? Register   Sign In
Something like laravel "dd" function
#4

That post seems to be saying that dd is a PITA.

I admit that when debugging very large arrays it is a pain to decipher the content sometimes. But I just do not understand the need for dd at all. I suppose it might be handy in some contexts. It reminds me of exploring objects in a browser console, which I always find a pain. Probably because I do not do it enough.

There is no equivalent of DD in CI. Perhaps you could write one. It does not seem to be a particularly complex function, although I bet it gets complicated when you start taking into account edge cases.

Personally, if you are analysing an array of substantial size to debug something, I would always break code down into smaller chunks which are more manageable.

Quote:we should recognize the good work in another frameworks.

I totally agree with you on this. But I am still failing to see the benefit of dd

https://laracasts.com/discuss/channels/g...-of-shitty
Reply


Messages In This Thread
RE: Something like laravel "dd" function - by PaulD - 12-10-2016, 07:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB