4 ms·
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
by mitchi 14y ago
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.
- peteretep 14y agoYou don't know where to find the backtick on your keyboard?!
- dietrichepp 14y agoI'm guessing you live in the US...
- peteretep 14y agoNo. But I /do/ occasionally use bash, or call out to the shell from scripting languages...
- mguillemot 14y agoBUT=$(echo So do I...)
- gosub 14y agoI''l give you an example: http://en.wikipedia.org/wiki/File:KB_Italian.svg 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-è.
- threedaymonk 14y agoThat 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 È.
- kokey 14y agoIt 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.
- fceccon 14y agoI'm Italian and nearly everyone I know (who's a programmer) uses an US layout.
- anonymous 14y agoAnd this, ladies and gentlemen, is why all programmers, sysadmins and so on use a US keyboard layout.
- yarrel 14y agoThe scripting language is Perl, apparently.
- fuzzix 14y agoDoes Perl make us of a lot of characters you can't find on your keyboard? Sure, you can use backticks shell style, but you'll probably have better luck with IPC::Open3. Perl's strings look pretty much the same as everyone else's strings.