Wow, that's impressive... I'll have to rip off your technique there for my 
code! ;-)  Like I said, my objections to string interpolation in Julia came 
from the syntax, using $ and having two forms, not from the feature.

On Monday, June 1, 2015 at 6:32:22 PM UTC+2, Shashi Gowda wrote:
>
> String interpolation is a powerful thing. Especially since it extends to 
> string macros such as md"...". Check out line 20 in the attached image, 
> that single line essentially generates the API docs in the left pane.
>
> I tried teaching functional programming to a bunch of people from college 
> using Julia. It went pretty well. I found Julia poses the least resistance 
> in teaching pretty much anything. Also multi-methods are a pretty natural 
> thing for people who haven't written a lot of Java/Python style OOP code or 
> become accustomed to such things. So is the type system. People who do have 
> experience with traditional OOP tend to take longer to really internalize 
> Julia types, but when they do, it's like a light bulb just went off.
>
> On Mon, Jun 1, 2015 at 9:37 PM, Stefan Karpinski <[email protected] 
> <javascript:>> wrote:
>
>> Jeff notoriously hates string interpolation, although he did implement it.
>>
>>
>> On Monday, June 1, 2015, Scott Jones <[email protected] <javascript:>> 
>> wrote:
>>
>>> To Jeff's dismay?  I'd thought this came from him... was it one of your 
>>> contributions to Julia?
>>> It dismayed me at first, to see how much my son liked it ;-)
>>>
>>> On Monday, June 1, 2015 at 4:59:09 PM UTC+2, Stefan Karpinski wrote:
>>>>
>>>> There's something psychologically powerful about string interpolation, 
>>>> much to Jeff's dismay.
>>>>
>>>> On Mon, Jun 1, 2015 at 10:51 AM, Scott Jones <[email protected]> 
>>>> wrote:
>>>>
>>>>> It's funny, I didn't care too much about string interpolation at first 
>>>>> (as you know!), but after I saw how Alex took to it, I've reconsidered... 
>>>>> he thought it was the coolest thing.
>>>>>
>>>>> On Monday, June 1, 2015 at 4:07:33 PM UTC+2, Stefan Karpinski wrote:
>>>>>>
>>>>>> This is really cool to hear about!
>>>>>>
>>>>>> On Sun, May 31, 2015 at 7:12 PM, Keith Campbell <[email protected]> 
>>>>>> wrote:
>>>>>>
>>>>>>> Hey Scott,
>>>>>>>     Just bumped across an old IJulia Notebook my 9-year old and I 
>>>>>>> did last year.  He was getting '24' problems (use +,-,*,/ with 4 
>>>>>>> numbers to 
>>>>>>> make 24) and got one he swore couldn't be solved.   We put together a 
>>>>>>> little brute-force solver to test that out -- he was right.
>>>>>>>
>>>>>>>      Anyway, I spruced it up a little and presented to his class, 
>>>>>>> where they had a good time playing with it.  You can see the notebook 
>>>>>>> at: 
>>>>>>> https://github.com/catawbasam/catawbasam_sandbox/blob/master/Julia_24.ipynb
>>>>>>>
>>>>>>> We actually started off with Python, but switched to Julia, largely 
>>>>>>> because Julia's syntax is a little closer to the math notation the kids 
>>>>>>> are 
>>>>>>> used to seeing.
>>>>>>> regards,
>>>>>>> Keith
>>>>>>>
>>>>>>
>>>>>>
>>>>  
>

Reply via email to