Extensions I use or want to use in VS Code.
I add links and explanations so you can use them too if you want.
Such as syntax highlighting and linting.
| { | |
| lib, | |
| stdenvNoCC, | |
| fetchurl, | |
| unzip, | |
| }: | |
| # This cannot be built from source since Hammerspoon requires entitlements to work, | |
| # and codesigning entitlements is unfortunately incompatible with immutability. | |
| stdenvNoCC.mkDerivation (self: { | |
| pname = "hammerspoon"; |
| <style> | |
| /* https://github.com/lonekorean/gist-syntax-themes */ | |
| @import url('https://cdn.rawgit.com/lonekorean/gist-syntax-themes/d49b91b3/stylesheets/idle-fingers.css'); | |
| @import url('https://fonts.googleapis.com/css?family=Open+Sans'); | |
| body { | |
| font: 16px 'Open Sans', sans-serif; | |
| } | |
| body .gist .gist-file { | |
| border-color: #555 #555 #444 |
Inheritance and Virtual Table are often used to create interface in C++ polymorphic class
What if ... there were another way to do this ?
easier, cleaner, faster and more reliable
This article explains how to useCRTP, [std::variant](https://en.cppreference.com/w/cpp/utility/variant andstd::visitto increase code performance.