Hi, I've tried Io and found that it's interesting language. I want to port my in-house application (which uses DLL provided by other vendor) to Io. The main...
13198
dennisf486
Jun 6, 2012 2:37 am
Just read Jan-Paul's threads on the mailing list from 2011 about coroutines and Io debuggers. Rather than necro both old threads, I thought I'd start a new...
13199
Kurtis Rainbolt-Greene
me@...
Jun 6, 2012 4:00 pm
Alright, so I've got a particularly interesting problem to solve. Lets say I have 3 files: ``` io # haml.io Haml := clone ``` ``` io # sass.io Sass := clone ...
13200
Jeremy Tregunna
jeremy.tregunna@...
Jun 6, 2012 4:31 pm
Yes. Haml doFile("Compressor.io") Importer really needs a filePathFor(…) method which takes a string, and returns you the path that Importer's FileImporter...
13201
Jan-Paul Bultmann
janpaulbultm...
Jun 6, 2012 5:06 pm
The problem was not with coroutines in general, but some flaws with their implementation. It was pretty easy to fix, I still have the patches lying around in...
13202
Steve Dekorte
stevedekorte
Jun 6, 2012 7:07 pm
Kurtis, I'm guessing Jer's answer is what you're after but just to be clear, unlike C or some other languages, Io doesn't have any notion of a file context...
13203
dennisf486
Jun 7, 2012 12:01 am
I've decided the best way to implement a featureful Io debugger would be to extend GDB. Either a wrapper around GDB, a GDB plugin, or a binary that combines...
13204
Kurtis Rainbolt-Greene
me@...
Jun 9, 2012 7:23 pm
One of the cool things about SmallTalk, and other languages including Ruby in v2, was the keyword argument syntax sugar (pseudo-code): define help(title,...
13205
Jan-Paul Bultmann
janpaulbultm...
Jun 9, 2012 7:53 pm
With single args and proxy objects ;P Color clone red:50 green:19 blue:100 Cheers Jan...
13206
Jeremy Tregunna
jeremy.tregunna@...
Jun 9, 2012 8:32 pm
This discussion goes back many years, and Steve's always said something along these lines: Tell me how this parses: a: b c d: e: f Smalltalk had 3 precedence...
13207
Kurtis Rainbolt-Greene
me@...
Jun 9, 2012 8:36 pm
Jeremy, you bring up a good point, but I wonder if you have anything to ... doesn't reduce any cognitive load I'd be interested on any data on this, because it...
13208
Jeremy Tregunna
jeremy.tregunna@...
Jun 9, 2012 9:20 pm
Sure, consider the Smalltalk method ifTrue:ifFalse: You can't reverse those, since the selector is of course, ifTrue:ifFalse: You also have to remember their...
13209
Kurtis Rainbolt-Greene
me@...
Jun 9, 2012 9:42 pm
That's an interesting example, but I'm not sure if I'd consider it backing up your claim. Consider this counter example: if(1 == 1, print "Yep, that's right",...
13210
Jeremy Tregunna
jeremy.tregunna@...
Jun 9, 2012 9:51 pm
... As someone who writes code for a living, I cannot remember a single instance in the last 24 years I've had to do this. So I consider this a red herring. ...
13211
Kurtis Rainbolt-Greene
me@...
Jun 9, 2012 10:07 pm
You've never refactored your code before in a way that changed the arguments in your method? Fine, ok, I might be able to see that happening, but that doesn't...
13212
Jeremy Tregunna
jeremy.tregunna@...
Jun 9, 2012 10:13 pm
... Changed the arguments? Yes of course, reordered them? Not once, ever. ... Only if it's actually telling the truth. I've run into a lot of code that is...
13213
Kurtis Rainbolt-Greene
me@...
Jun 9, 2012 10:49 pm
... Still doesn't make it a red herring. ... It doesn't solve that problem, but then I don't think I said it did. Here's the problems it solves: 1. I have to...
13214
Jeremy Tregunna
jeremy.tregunna@...
Jun 9, 2012 11:10 pm
... Then we should agree to disagree on this point and move on. ... If you aren't doing this already, I don't think you have what it takes to be a programmer....
13215
Kurtis Rainbolt-Greene
me@...
Jun 9, 2012 11:23 pm
Thanks for the discussion Jeremy, but I don't think there's much else for me to say. I tried to be civil, but you make things difficult when you continually...
13216
Jeremy Tregunna
jeremy.tregunna@...
Jun 9, 2012 11:31 pm
Sorry you see it as an attack, I'm merely trying to have a discussion with technical merit. Regards, Jeremy Tregunna...
13217
Jan-Paul Bultmann
janpaulbultm...
Jun 10, 2012 1:27 am
... This is what metaprogramming is about, instead of having a giant language designed by committee where _everything_ is integrated, you get a small...
13218
Jan-Paul Bultmann
janpaulbultm...
Jun 10, 2012 2:34 am
... Huh, so you are that mysterious person that uses Io at Pixar ^^, to bad that blog post disappeared I'd really love to read it :D ... And thanks for the...
13219
Jan-Paul Bultmann
janpaulbultm...
Jun 10, 2012 4:17 am
Dear Kurtis, Saying Io needs more literals and syntax and everything, because other languages need them is like saying it needs gotos and label because...
13220
Kurtis Rainbolt-Greene
me@...
Jun 10, 2012 7:53 am
Dear Jan-Paul, I would have written a response correcting many of the points where you misunderstand, misinterpret, or plain straw-man my argument. I was...
13221
Jan-Paul Bultmann
janpaulbultm...
Jun 10, 2012 11:18 am
... Not if those are known. And they are known. What we tend to do when we have a problem we look into the ML archives and every point (beside that : :: :::...
13222
William Tanksley, Jr
wtanksle
Jun 10, 2012 1:59 pm
Moderator, please explain the list rules to these two. -Wm...
13223
Jeremy Tregunna
jeremy.tregunna@...
Jun 10, 2012 2:28 pm
So, I had a wild thought yesterday: Exposing the host language in the source language, without having the source language act as a compiler to translate its...
13224
Jan-Paul Bultmann
janpaulbultm...
Jun 10, 2012 5:04 pm
When compiling down, what keeps you from using a DSL to C-Source compiler? Although I certainly understand that this introduces a huge DSL ^^ Also would this...
13225
Jeremy Tregunna
jeremy.tregunna@...
Jun 10, 2012 5:27 pm
... Technically nothing, however the idea would be to avoid having to compile any code ahead of time, and interoperability with the host language at runtime. ...
13226
Steve Dekorte
stevedekorte
Jun 13, 2012 8:08 pm
As objects are about coupling data and logic, if you're passing a lot of arguments(data) around to methods (logic), then it looks suspiciously like you've...