“There’s a whole bunch of techniques that you have to do when building compilers and those are techniques that you don’t learn at school, this is something that you learn by doing” @ahejlsberg #typescript
Аневризма retweeted
The Lowdown on :before and :after in CSS designshack.net/articles/css… #CSS
1
3
Аневризма retweeted
A high-level Rust API is now available in crates.io for creating Deno workers (with the same TypeScript support and ops as is available in the CLI) docs.rs/deno_cli/0.18.4/deno…
2
23
63
fn main() { let a = String::from(“borrowing”); let b = &a; // “&” means borrow printLn!(“{}”, b); } Only one reference can own a piece of data at a time #rust
Аневризма retweeted
🎉🎉🎉
5
82
325
Аневризма retweeted
🌟💫Introducing⭐✨VeoLuz🎉🥳🎊 a #generative art tool built with @rustlang, #wasm, and @reasonml 💖 Play with light in a way you never have before 🎇 I hope it will give you as many hours of creative exploration as it has given me 🤩 jaredforsyth.com/veoluz/ (sound on)
8
105
445
Аневризма retweeted
Image Processing using the Jimp Library: codingshiksha.com/javascript… (Jimp is an image processing library written entirely in JavaScript with no external dependencies.)
4
96
366
Аневризма retweeted
Keep UI components as minimal as you can. If you isolate business logic and side-effects from UI, everything gets easier.
9
117
538
useCallback: memoize a function useMemo: memoize any value #react #javascript
If your #component has more than 600 lines of code, you should talk to your parents #javascript #react
2
3
Аневризма retweeted
TIL: A module can import itself to get access to all it's exports wrapped in a neat little object (thanks to the module cache) Use case: migrating legacy code that put their exports onto a global object to ES modules.
4
27
109
Аневризма retweeted
Since GraphQL is a contract that allows the client to only request the data it needs, it opens up interesting possibilities like sending responses with the relevant `link rel=preload` headers of relevant assets.
8
53
317
бесточечная нотация (Point-Free Style) a(function (x) { b(x); }); // то же самое: a(b); #javascript #функциональноепрограммирование
Layout trashing occurs when #javascript violently writes, then reads from the DOM, multiple times causing document reflows