I will use both of your examples to talk briefly about the issues I see with them being posted here.
How could I implement a simple blog in PHP?
This would not be a good question for the site, not necessarily because it is about design, but because it is too broad. There are many aspects of design that would go into designing a blog. Web design, database design, application logic, cross cutting concerns, etc... Even if this were language agnostic this doesn't change. A better question for example would be:
"I am trying to design a database schema that can properly capture domain model elements of a blog, here is what I tried. Any improvements or suggestions to do this better?"
Questions should always demonstrate the problem where possible, be clearly worded and focused to something that is clearly and completely answerable. It should also demonstrate what you are thinking might be a solution or what you have tried.
How could I structure a Tic-Tac-Toe game in a Pythonic way?
Ways to structure a Tic-Tac-Toe game might be considered a matter of opinion. This would probably be closed as Primarily opinion-based. Wherever possible a question should be answerable. Questions that have 100 equally acceptable answers do not help anybody derive what the best solution is. Going by the most highly upvoted answer doesn't tell you as this might be the first answer posted, or the person answering might be popular or the solution described is a popular one but might not be the best solution. Even if this was language agnostic it probably doesn't change. A better question might be:
Here is how I was thinking of structuring my Tic-Tac-Toe game in a Pythonic way. Does this particular design choice make sense for Python and what specifically could I improve or do better?
Here is how I was thinking of representing the data structure for my Tic-Tac-Toe game. Is this a good data structure that lends itself to an efficient algorithm for Tic-Tac-Toe? If not how can I improve this?
I want to benefit from discussing the problem on terms that are relevant to the technology stack I'm using.
There is absolutely nothing wrong with wanting to ask questions about the "Pythonic way" or the "Java way", pending that the question follows these guidelines:
- Properly scoped (not too broad to be effectively answered). If an entire book can be written about or has been written about a topic then it is probably not a good question for this site.
- Good questions have answers, not opinions. Opinions lead to discussions and debates and this format doesn't lend itself well to this.
- Have a clearly defined problem that you are trying to work through
- Demonstrate prior effort or thought into solving it on your own. This can be achieved simply by stating some ideas that are currently in your head.
If you follow these guidelines and the question is on topic for the site then you shouldn't have any problems.
Please read the articles in the Help Center for more details.