Every document you write in a TeX derived language---every document---is a program. TeX and LaTeX are Turing complete, the problem is to get the desired output, and as such these questions are not out of place on StackOverflow (and we already have 200+ questions there, most of which are pretty good).
I've been fighting this battle for a while and simply won't quit.
Personally, however, I do see a distinction between. "I [can't remember|never learned] the command for Foo in LaTeX." on one hand and "My university doesn't provide a dissertation style and I need to achieve Bar obscure [layout result|front-matter arrangement|bibliographic convention]. What do I do?" on the other.
The former might be better on SuperUser, but the later definitely belong on StackOverflow.
Such is my $0.02.