You can also hide parts of codes or skip typing them using comments like @hide
and @skip.
Get feedbacks from mistakes.
Everyone's got different learning style. So it might not help you at all, but awesome if it did. It defintely helped me memorize syntax and methods when I was learning Rust.
Say in this code, you want to hide int
and bar
for training purposes.
var foo: int = bar(boo);
You can do this:
// @hide int
// @hide bar
var foo: int = bar(boo);
Resulting:
var foo: ___ = ___(boo);
Note: the @hide
will hide all the word (regx /g
) within the same code block. Code blocks are separated by at least one line of comments including the inline ones.
Sometimes you don't want to type out everything. Like this one
var hash = 'f3cf2c3eca9a2c2c088e27e6a696a272';
You can use @skip
to make it just appear during the practice
// @skip
var hash = 'f3cf2c3eca9a2c2c088e27e6a696a272';
I'm into desktop dApps built in electron and Tauri, true serverless/lambdaless interconnected apps.
Please visit: Electron React Boilerplate