I have asked a question about an issue I had while developing code for a Drupal module, but the question was closed as off-topic. Still, questions about programming are allowed.
Why was my question closed as off-topic?
Programming questions are allowed, as long as are about Drupal and require specific Drupal knowledge to answer them. This means that a programming question is off-topic, even if it is about Drupal code, if:
Questions about Drupal doesn't mean all the questions I have about problems I have while developing for, or using, Drupal; it means questions that require a specific Drupal knowledge to give the correct answer. This is also valid for programming questions.