my.huang


  • Home

  • Categories

  • Archives

  • Tags

javascript_recap

Posted on 2018-01-19 |
General 在JS中,对象相当于大部分语言的map,以键值对的形式存在 如果将值赋给为申明的变量,该变量将自动作为全局变量,即使在函数内执行。 1carname="Volvo"; // carname will be treated as global variable ==与===区别 ...
Read more »

leetcode 297. Serialize and deserialize binary tree

Posted on 2018-01-16 |
For example, you may serialize the following tree 12345 1 / \2 3 / \ 4 5 as "[1,2,3,null,null,4,5]". 这道题看似简单,写起来真是费劲。。。要注意如下几点: 如何 ...
Read more »

Gobs: why defining a new encoding?

Posted on 2018-01-15 |
Gobs work with the language in a way that an externally-defined, language-independent encoding cannot. At the same time, there are lessons to be lear ...
Read more »

UML

Posted on 2018-01-12 |
好好学一下系统设计中经常用到的UML示意图。 类图类图(Class Diagram)是显示出类、接口以及他们之间的静态结构与关系的图。其中最基本的单元是类或接口。类图不但可以表示类(或者接口)之间的关系,也可以表示对象之间的关系。下面是一个典型的类图。 类图一般分为几个部分:类名,属性,方法。 - ...
Read more »

并发模型中的CSP模型

Posted on 2018-01-11 |
CSP模型CSP模型是上个世纪七十年代提出的,用于描述两个独立的并发实体通过共享的通讯 channel(管道)进行通信的并发模型。 CSP中channel是第一类对象,它不关注发送消息的实体,而关注与发送消息时使用的channel。 除了CSP模型之外,还有另一种叫做actor的模型,完全没有接触过 ...
Read more »
123
Moyuan Huang

Moyuan Huang

manners maketh man.

11 posts
5 tags
LinkedIn GitHub
© 2018 Moyuan Huang
Powered by Hexo
Theme - NexT.Pisces