Live data from Hacker News

The Crack Programming Language

code.google.com

11–20 of 33 posts

Re: The Crack Programming Language

#11
post #8

import crack.io cout; x := 'test'; cout `This is a $x\n`; # prints "this is a test" to standard output. Really weird strings... I don't even know how to type this character with my keyboard layout. Nice job for this language. It has a lot of things for so few versions. I couldn't build something like this. But who would use this? D is 10 times better and mature and almost no one uses it.

You don't know where to find the backtick on your keyboard?!

I''l give you an example: http://en.wikipedia.org/wiki/File:KB_Italian.svg

edit: a couple of funny things for italian keyboards, if you are a programmer or use linux/unix: there is no backtick, there is no tilde, '/' is shift-7, '/' and '?' are on different keys, '{}' are on altgr-shift-è.

Re: The Crack Programming Language

#13
post #11

Earlier quoted context omitted.

You don't know where to find the backtick on your keyboard?!

I''l give you an example: http://en.wikipedia.org/wiki/File:KB_Italian.svg edit: a couple of funny things for italian keyboards, if you are a programmer or use linux/unix: there is no backtick, there is no tilde, '/' is shift-7, '/' and '?' are on different keys, '{}' are on altgr-shift-è.

That keyboard layout doesn't seem particularly well-suited to programming. Then again, it doesn't seem particularly well-suited to typing Italian, either, though I now understand why Italians often write E' instead of È.

Re: The Crack Programming Language

#18
post #14

I am inclined to dismiss the language for this: i++

Why?

I'd venture into guessing that the parent reason is that ++ and -- operators tend to make easy to bury side-effects where they're not obvious, like in the provided code sample:

__raw[args[i++]] = 1;

(C programmers would disagree about this, of course :) )

Re: The Crack Programming Language

#19
post #8

import crack.io cout; x := 'test'; cout `This is a $x\n`; # prints "this is a test" to standard output. Really weird strings... I don't even know how to type this character with my keyboard layout. Nice job for this language. It has a lot of things for so few versions. I couldn't build something like this. But who would use this? D is 10 times better and mature and almost no one uses it.

The scripting language is Perl, apparently.

Re: The Crack Programming Language

#20
post #11

Earlier quoted context omitted.

You don't know where to find the backtick on your keyboard?!

I''l give you an example: http://en.wikipedia.org/wiki/File:KB_Italian.svg edit: a couple of funny things for italian keyboards, if you are a programmer or use linux/unix: there is no backtick, there is no tilde, '/' is shift-7, '/' and '?' are on different keys, '{}' are on altgr-shift-è.

It might go a long way to explaining why I don't come across many Italian Unix sysadmins, and the few I have come across coded their system scripts in php.
Post reply on HN