Is there anywhere I can post specific examples of code and their contexts so others can verify if they are bad practice?

I’d really like to have a whole section on Stack Overflow dedicated to asking if something is a bad practice. For example: I recently stumbled upon the issue of how to persist state on a React app I was writing. I came up with a solution that, although it worked, may (or may not, I don’t know) become a problem in the future due to it being a bad practice. Since I’m relatively new to React, I lacked the knowledge to figure it out myself. Another example is when I used a singleton in a specific scenario in a Swift app I was developing.

submitted by /u/FieryBlaze
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/2NQoidF

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close