Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Can you program Android Apps in a functional language?

I meant is it possible to program for Android in a language that was designed from the ground up to be functional? I'm aware that you can use the functional components of an OO or a procedural language to program in a functional style, I was asking whether it would be applicable to use one of the "functional languages" on Android.

share|improve this question
5  
Could you be more specific? –  Jeremy Heiler Jun 9 '12 at 2:33
1  
It depends. Most high level languages, Python for example, support multiple programming paradigms, including functional programming. Your question, as it stands is pretty vague and in order to receive a better answer, you'll need to clarify what you mean. –  Joel Cornett Jun 9 '12 at 2:37
3  
@mattnz: From the same article "Programming in a functional style can also be accomplished in languages that aren't specifically designed for functional programming." Does the OP want to know if it's feasible or possible? It definitely helps to have more context with which to answer a question. –  Joel Cornett Jun 9 '12 at 3:39
2  
@mattnz, I know what functional languages are. Just because I commented, doesn't mean I downvoted or voted to close. (I've done neither.) I was simply trying to tease out more information from the OP to get a better idea of what (s)he is really asking. The obvious answer to the question is "yes", but that isn't very useful. The OP hasn't brought anything to the table other than the question itself. I'm sure the OP has a motive for asking, and I think that information would be important when answering. –  Jeremy Heiler Jun 9 '12 at 3:39
2  
@Cassy 1) Requests for clarifications are a good thing, we can't always guess what the OP has in mind (and we have a ton of questions asking about functional languages, when they mean something else entirely), 2) I've moved your last comment into the question (well, not all of it, just the good parts), 3) Even if a question is closed, you can still edit it, add the missing info and have it removed, 4) Questions that ask for a "yes" or "no" answer usually show lack of research and are discourage. –  Yannis Rizos Jun 9 '12 at 9:10

1 Answer 1

up vote 5 down vote accepted

Yes. You can build Android apps in both Scala and Clojure. The question is would apps produced with these languages be up to "production" standards and I think right now the consensus answer is "not yet"

share|improve this answer
    
+1: At least you won't have voted to close it..... –  mattnz Jun 9 '12 at 3:35
1  
Thanks It was a simple question and I only wanted a simple anwer. Thanks mattnz too, for making me feel like I'm not going insane. –  Cassy Jun 9 '12 at 5:24
2  
There is also an option: MonoDroid + Fsharp. –  SK-logic Jun 9 '12 at 9:53
    
@Cassy - Unfortunately you have stumbled is a reason this site is gaining the nickname closers.stackexchange.com –  mattnz Jun 10 '12 at 22:13
    
I think right now the consensus answer is "not yet": Some explanation regarding this would be useful. What is missing? –  Giorgio Nov 25 '12 at 21:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.