Bing Yan Blog

我干了什么 究竟拿了时间换了什么

Erlang learning (11) - Functions

Functions & Tail recursion

Preface     Although we have used functions, modules, etc. in the previous start chapter learning, but for the specific details, let’s further clear in this study.     And in this study, get more ...

Erlang learning (10) - Data Types (2)

Types & Type Conversions

Preface     After learning the basic knowledge and examples of Erlang according to Getting Started in the manual in blog Erlang learning (3) - Data Types (1), let’s learn other knowledge points in...

Erlang learning (9) - Larger Example Devided into Files

Records & Marcros

Preface     Let’s continue to learn the next part of Getting Started with Erlang - Records and Macros.     In this chapter, I deeply feel the benefits of contrast learning. It will be easier to u...

Golang says Hello World

Install & Example

Preface      After trying Erlang for a while, I want to see what Golang looks like, because both languages are usually used to write system-based applications.      I learn and use Java and Python...

How to write high quality code

Software development learning (1)

Preface      As one who wants to be a good programmer, besides learning a rich and solid programming skills, I need to think about how to write high quality and elegant code.      To be frank, I ...

Erlang learning (8) - Robustness (1)

Time-outs & Error Handling

Preface      When learning other programming languages, such as Java, I know that the amount of code required to complete a good robust program is likely to be three times amount of function code....

Erlang learning (7) - Concurrent Programming (3)

Message Passing System Example

Preface     Through the last two learning Blog of Erlang concurrent programming, I master the basic ideas and principles of concurrent programming.     This time learning, by reading and analyzin...

Erlang learning (6) - Concurrent Programming (2)

Register Process & Distributed Programming

Preface     Last time I have learned process and how to communicate between process - passing messages in Erlang concurrent programming.And practise a simple ping-pong example to achieve the sendi...

Erlang learning (5) - Concurrent Programming (1)

Process & Message Passing

Preface     One of the main reasons for using Erlang instead of other functional languages is Erlang’s ability to handle concurrency and distributed programming. By concurrency is meant programs t...

Erlang learning (4) - Sequential Programming

Module & Guard & BIFs & High-Order Func

Preface     This study is based on the chapter of the Guide - Sequential Programming. This chapter is dedicated to the reader’s basic knowledge of Erlang programming by writing and modifying simpl...