Your Common Sense (@shrapnelcol) 's Twitter Profile
Your Common Sense

@shrapnelcol

I seldom post, mostly on my activity on @StackOVerflow or updates for #phpdelusions
I follow only accounts that post on the technology, to keep the feed sane

ID: 732267646771724288

linkhttps://phpdelusions.net/ calendar_today16-05-2016 17:53:06

300 Tweet

316 Followers

20 Following

Your Common Sense (@shrapnelcol) 's Twitter Profile Photo

stackoverflow.com/a/65950036/285… It is OK to use a PHP file to store database credentials/ sensitive keys/whatever. What is really important is to remove such a config file from a repository/version control. Whereas a particular format, be it env, json, yaml or whatnot is not important

Your Common Sense (@shrapnelcol) 's Twitter Profile Photo

stackoverflow.com/q/36882149/285… Stack Overflow is a horrible site, full of quick and dirty hacks written by noobs a decade ago and then endorsed by other noobs. Here is another example: on the the **fourth** answer ranked by score is a correct one.

Your Common Sense (@shrapnelcol) 's Twitter Profile Photo

Four stages of getting error reporting: 1. No errors reported, no idea what happens if code fails; 2. All errors on-screen, woohoo! 3. The site goes live and all errors revealed to the world => whoops! Switching reporting off! 4. Finally, the differential approach is adopted.

Your Common Sense (@shrapnelcol) 's Twitter Profile Photo

That feeling of enormous relief when you'e finally manage to get an error!.. A clear, reproducible and understandable error message that explains some weird behavior you were investigating for hours.

Your Common Sense (@shrapnelcol) 's Twitter Profile Photo

An interesting backslash is going on regarding the recent PHP features.Such as this tweet from Taylor or this article by Joe, reddit.com/r/PHP/comments… and I must say I tend to agree with them.With only one exception - one never can tell whether an addition is worthy without trying

Sarah Drasner (@sarah_edo) 's Twitter Profile Photo

When debugging, don’t change multiple things before evaluating the result. I know debugging can make us all impatient, but I promise even though it seems slower, you’ll get through it faster and have a better understanding of how everything is working together to boot.

Your Common Sense (@shrapnelcol) 's Twitter Profile Photo

Gamification is killing Stack Overflow. It is not yet visible on the main site but regional sites are dying. Solely because gamification is only focused on providing new answers and never encourages editing existing information.

Andrew Edstrom (@andrewedstrom) 's Twitter Profile Photo

Extreme Programming Explained by Kent Beck 🌻 is basically the bible for teams that pair program. Its reputation is well-deserved. Even though helped popularize the idea of pairing, it actually only has two pages on the subject! You'll probably be surprised by what it says: