In React's terminology, there are five core types that are important to distinguish:
React Elements
| ackage main | |
| import "github.com/go-redis/redis" | |
| import "github.com/go-martini/martini" | |
| import "crypto/md5" | |
| import "fmt" | |
| var client *redis.Client | |
| func main() { |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Windows; | |
| using System.Windows.Media; | |
| using System.Windows.Media.Imaging; | |
| using News.Controls; |
In React's terminology, there are five core types that are important to distinguish:
React Elements
Given a big domain of types that don't implement IEquatable, e.g (simplified here):
class A {
public int a;
public string b;
public IEnumerable<int?> c;
public IEnumerable<B> d;
}I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| var cluster = require('cluster'); | |
| var http = require('http'); | |
| var numCPUs = require('os').cpus().length; | |
| if (cluster.isMaster) { | |
| // Fork workers. | |
| for (var i = 0; i < numCPUs; i++) { | |
| cluster.fork(); | |
| } | |
| cluster.on('exit', function(worker, code, signal) { |