3

I have been going through the Julia docs; and found that it has a feature called optional typing.

But, as I am not from a CS background, I had to google and search on Quora, but haven't found any resources which I can really learn what it is.

So, would a question like "What is optional typing" (along with some details) be on-topic here?

7
  • This would be a good use case for the new proposed Documentation feature.
    – user4639281
    Sep 27, 2015 at 17:53
  • However, a quick search turned up this answer. Does that answer your question?
    – user4639281
    Sep 27, 2015 at 17:56
  • @TinyGiant Thank you for the link. So, if I understood correctly, optional typing is, as the word suggests, is a possibility of assigning types to the values in a dynamic programming language (but doing so is optional). Am I right?
    – Dawny33
    Sep 27, 2015 at 18:08
  • I'd imagine so. I have no experience with Julia specifically.
    – user4639281
    Sep 27, 2015 at 18:12
  • 3
    Hmm, Google has 17 million hits when you query "What is optional typing". Hard to imagine you need one more. Sep 27, 2015 at 18:19
  • @HansPassant I'm sorry, but there aren't any clear explanations in the top 2 search pages, so I had to post this question. Wikipedia gives me this: In programming languages (especially functional programming languages) and type theory, an option type or maybe type is a polymorphic type that represents encapsulation of an optional value; e.g. it is used as the return type of functions which may or may not return a meaningful value when they are applied. But, I'm not sure whether this answers my question.
    – Dawny33
    Sep 27, 2015 at 18:25
  • 2
    @Dawny33 Of course a search for What is julia "optional typing" produces hits that are more relevant ... Sep 27, 2015 at 20:00

0

You must log in to answer this question.

Browse other questions tagged .