r/ProgrammerTIL•
atsider

[Perl] The ellipsis operator `...` acts as a placeholder for unimplemented code.

Other

The program compiles and runs, but if any of those ... is run, it dies with an "unimplemented" message.

This allows to lay the structure of the program from the beginning and filling the blanks later.

if (something_happens){
    do_whatever;
}else{
    ...; # Hairy stuff, will implement later
}

Posted May 13, 2017, 10:14 PM UTC

7522
Loading comments…