Live data from Hacker News

Beads: Computer language and toolchain

beadslang.org

81–90 of 235 posts

Re: Beads: Computer language and toolchain

#81
post #48

- promises far fewer bugs - promises to replace entire stack - ...and Excel - "declarative languages have almost no bugs" - built-in database Yeah color me skeptical. I love experiments, but I prefer those that under-promise and over-deliver. People have been promising unification languages since there were only two languages. People have been promising cross-platform since there were two platforms. And people have b…

The thing that really bothered me was the FizzBuzz example [0]. The core logic is: cell // this routine will be called 100 times, and the implied block variable // b will hold values, like the sequence number b.cell_seq var ss : str case mod(b.cell_seq, 15) | 0 ss = "FizzBuzz" draw_rect(fill:LIGHT_SKY_BLUE) | 3, 6, 9, 12 ss = "Fizz" draw_rect(fill:LIGHT_GREEN) | 5, 10 ss = "Buzz" draw_rect(fill:YELLOW) else ss = to_s…

I don't understand your objection.

Re: Beads: Computer language and toolchain

#82
post #48

- promises far fewer bugs - promises to replace entire stack - ...and Excel - "declarative languages have almost no bugs" - built-in database Yeah color me skeptical. I love experiments, but I prefer those that under-promise and over-deliver. People have been promising unification languages since there were only two languages. People have been promising cross-platform since there were two platforms. And people have b…

The thing that really bothered me was the FizzBuzz example [0]. The core logic is: cell // this routine will be called 100 times, and the implied block variable // b will hold values, like the sequence number b.cell_seq var ss : str case mod(b.cell_seq, 15) | 0 ss = "FizzBuzz" draw_rect(fill:LIGHT_SKY_BLUE) | 3, 6, 9, 12 ss = "Fizz" draw_rect(fill:LIGHT_GREEN) | 5, 10 ss = "Buzz" draw_rect(fill:YELLOW) else ss = to_s…

In his defense: I think the logic of his programming language and the pattern match works just fine: it's a mod over bounded linear range checking a remainder. He's just showing off that he can check "mod 15" against a list of potential values, or at least that's my reading of it.

Re: Beads: Computer language and toolchain

#84
post #81

Earlier quoted context omitted.

The thing that really bothered me was the FizzBuzz example [0]. The core logic is: cell // this routine will be called 100 times, and the implied block variable // b will hold values, like the sequence number b.cell_seq var ss : str case mod(b.cell_seq, 15) | 0 ss = "FizzBuzz" draw_rect(fill:LIGHT_SKY_BLUE) | 3, 6, 9, 12 ss = "Fizz" draw_rect(fill:LIGHT_GREEN) | 5, 10 ss = "Buzz" draw_rect(fill:YELLOW) else ss = to_s…

I don't understand your objection.

A lot of the rosetta code examples show the simple and the more complex example or less use of built-in functions to show they can express it with the core language.

Re: Beads: Computer language and toolchain

#85
post #84
post #81

Earlier quoted context omitted.

I don't understand your objection.

A lot of the rosetta code examples show the simple and the more complex example or less use of built-in functions to show they can express it with the core language.

Sure, but I think that's a different objection?

Re: Beads: Computer language and toolchain

#87
post #36

I like this, the constructs in the ref card look really powerful, it looks like a batteries included language. Downloading it now to take it for a spin. Edit: Nevermind Beads only works on Windows and Mac, It needs Wine to work on Linux.

I think it's written in ActionScript. That might have something to do with it.

Re: Beads: Computer language and toolchain

#88
post #61
post #12

Ah, youth.

Funnily enough; the last time I tried something like that I was 25, had barely 6 months of experience, and somehow convinced a friend I had introduced to programming not more than two months earlier. Waaay in over our heads. Since then, I’ve realised it’s been tried and is being tried an inordinate number of times and seems to usually fail for some reason or another. Kind of a wild goose chase for some (supposed) hol…

How did you convince your friend?

Re: Beads: Computer language and toolchain

#89
I don't get it. The pitch is about... 64bits? I've been writing cross platform 64bit software for years, why would I need a new programming language for that? What a strange thing to lead with.

The home page doesn't do a good job at explaining what its about and why I should care. I then looked at the sample code and I still don't think I get it.

> The next generation of languages is now possible: Declarative languages,

Ok, but declarative languages have existed for a looong time too.

Post reply on HN