3,261 reputation
11430
bio website about.me/missingfaktor
location Pune, India
age 24
visits member for 3 years, 10 months
seen Jun 28 at 19:44

profile for missingfaktor on Stack Exchange, a network of free, community-driven Q&A sites

A long time stackoverflower who owes a lot to this site and tries to give back as much as he can. :-)

I am mainly active in the Scala tag, but sometimes also participate in other tags, especially the ones related to programming languages and functional programming.

Check out my about.me page to know more about me.


WE'RE HIRING!

Would you like to work for ThoughtWorks and have got what it takes? Drop me an email on missingfaktor at thoughtworks dot com with your CV and I will try to get in touch asap.


Oct
6
awarded  Good Answer
Oct
6
comment What are the biggest differences between F# and Scala?
@Landei: Yes, I did mention typeclasses. :-)
Oct
6
comment What are the biggest differences between F# and Scala?
@JonHarrop: I find F# syntax very close to that of OCaml's. I am familiar with Haskell and Python as well, and I don't see the similarity. Yes, the syntax (and semantics) of F# when it comes to OOP differs completely from that of OCaml's. Still IMO their syntaxes are close enough to justify my statement.
Oct
6
comment What are the biggest differences between F# and Scala?
@JonHarrop: I picked the keyword count from this blog post. Show me an authoritative source that differs with this, and I'll update my answer accordingly.
Oct
6
comment What are the biggest differences between F# and Scala?
@JonHarrop: The lack of TCO in JVM hasn't bothered many Scala developers. Trust me, it's not as big an issue as you seem to think. Most of the time, we are using higher order functions, instead of explicit recursion. And most higher order functions in Scala are implemented in terms of loops, and not recursion. So, lack of TCO becomes close to immaterial.
Oct
6
comment What are the biggest differences between F# and Scala?
@JonHarrop: Scala doesn't treat ADTs specially. They are treated just like regular classes. Thereofre Some(2) in Scala has type Some[Int] and not Option[Int] which is undesirable IMO. F# on other other hand has a special syntax and treatment for ADTs, and can thus correctly infer type of Some 2 as int option. So F# encoding of ADTs is better than that of Scala's (IMO, of course). I did not try to imply that it's inferior, and I am sorry if it came across that way.
Oct
6
revised What are the biggest differences between F# and Scala?
added 9 characters in body
Sep
16
awarded  Yearling
Aug
5
comment What would you change about C# if you could?
@Ed: Thanks for the education. I was unaware of the term. Apologies. The problem of overloaded methods exists in Scala too, in which case the correct version is chosen by the compiler by matching signatures of various overloaded methods with the expected signature. In cases where this is not possible, an explicit type annotation needs to be provided.
Aug
5
comment What would you change about C# if you could?
@Ed: I have been using Scala and functional programming for long, and trust me, the placeholder syntax works quite well for Scala, and is a great readability aid. The feature you are referring to is called partial application, not method grouping, and in my experience, when using object-functional languages, you end up using on-the-fly anonymous functions far more often than partial application.
Aug
5
comment What would you change about C# if you could?
@Ed: Placeholder syntax is an alternative syntax, that is not applicable to all cases. For the specific example you provide, it would be written as _.first contains _.second in Scala (because in Scala, a b c is parsed as a.b(c). In other non trivial cases, placeholder syntax is not available. For example, you cannot write x => x * x in the placeholder syntax.
Aug
5
comment What would you change about C# if you could?
@Ed: That would be (_ + _). Look up the placeholder syntax for lambdas in Scala (that is what I have recommended here for C#). By the way, what are the method groups? I have never heard that term before.
Jul
15
comment What are the drawbacks of Python?
See @mipadi's answer.
Jun
15
awarded  Guru
Jun
15
awarded  Nice Answer
May
27
awarded  Nice Answer
May
26
awarded  Nice Answer
May
13
answered Functional Programming in Commercial Software
Apr
25
awarded  Popular Question
Apr
18
awarded  Good Question