AboutMSc in Computer Science student
Joined devRant on 10/9/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
On a personal project, running some tests.
I had errors in specific tests, I just removed them and added a comment:
// We assume the user will use it as intended1
I recently started learning Erlang. This is the story of how I got trapped into it.
When I code, I usually use my trusty text editor and a terminal to either compile my code or run tests in the language interpreter. The interpreter, erl, works fine, but when I wanted to close it, I ran into a small issue.
Because I never know what the command is to close an interpreter, I usually use the EOF character (^D), that is widely recognized. Except erl does not react to it, not even a tiny message saying it won't close or doesn't recognize the output.
Alright then, let's try quit. That's an atom, it does not behave how I want.
quit() is an undefined shell command, exit() terminates the shell process but the interpreter automatically starts a new one...
But I get the welcome message, telling me to abort with ^G! Some progress, finally... except ^G redirects from Erlang interpreter to user switch command. Damn, another interpreter...
I ended up killing the process from an other terminal.4
Ok, here we go, a rant about devRant: I just discovered the service, had a bad experience recently and wanted to share it, so I decided to join devRant.
But apparently, to create a rant you need to validate your email, but of course they don't tell you that before you submit your rant, that you have to re-type entirely.1