|
I'm going to roll in and ask a super-rookie question. I'm trying to follow this: http://egarson.blogspot.com.au/2008/03/real-erlang-hello-world.html I eventually resorted to just copy-pasting his code, I'm running it from erlide in eclipse. It compiles and runs without errors, but when you get to the point of going Pid ! hello. It does nothing. Nothing returns, the print statement doesn't fire, no crashes either. I'm stumped, what have I messed up? edit: MononcQc, if you wrote "learn you some erlang", that's fantastic, that's where I found out about erlang! Sir_Substance fucked around with this message at 12:05 on Feb 8, 2014 |
# ¿ Feb 8, 2014 12:03 |
|
|
# ¿ May 14, 2024 19:46 |
|
Hrm, seems you're right, it works fine when I run it from the command prompt. Well that's mighty infuriating, there's little point working in an IDE but compiling and running separately. Is there a known fix, or alternatively another IDE for erlang that offers similar conveniences?
|
# ¿ Feb 8, 2014 14:05 |
|
Erlang conveniently integrates with the windows shell, at least in the version I'm using. You can right click the .erl files and there's a compile option. I don't know how much erlide is getting me, I'm literally 5 minutes into my first time using erlang. In general, I start with the assumption that IDE's are better. If nothing else, the eclipse run button and project management are super-handy, and there's always the chance of a proper breakpoints based debugger and memory interrogation, as well. On the other hand, if the IDE is flat out broken and there are no alternatives... Sir_Substance fucked around with this message at 14:28 on Feb 8, 2014 |
# ¿ Feb 8, 2014 14:25 |
|
This language is hilarious. I reserve judgment on useful until I know what the gently caress I'm doing, but it's funny as all hell to work with.
|
# ¿ Feb 13, 2014 11:42 |