4 ms·
What are “hoisted curlies”?
by layer8 2y ago
What are “hoisted curlies”?
- stronglikedan 2y agoIf I had to guess, it's putting the opening curly bracket on the same line as the function definition, instead of the next line. And if I'm correct, then I also agree.
- patrickmay 2y agoAllman style FTW!
- tempodox 2y agoif (condition) { // <- hoisted curly do_it(); }