What should one do in the case of duplicitous programming languages. Some languages, not saying any names ahem... java, seem particularly awful to the eye and the users of those languages write domain specific languages (DSL) that effectively replace the original language so that they read like Python e.g. Kotlin.
In the case that the original language and the DSL that replaces it are quite tightly coupled it seems that there will be a large number of questions that overlap with one another. This would include queries about syntax, common idioms and the like. If one encounters such questions should one encourage the original OP to request his answer in both dialects ?
Personally I arrived at the getOrDefault question with Kotlin as the search term and not Java and was initially tempted to provide an answer in Kotlin before adding it as a comment to the question. I have seen similar done elsewhere before. Should I have asked to OP to amend his question to include Kotlin ? Should the OP include, say, Jython too ? Should I have asked a new question myself reading identically to the OPs' but replacing all occurrences of Java with Kotlin ?
Now there will be complex questions in both the original language and the DSL that supersedes it that are not interchangeable and these rightly warrant separate questions but what should one do for the trivial cases ?