cwchen

Cwchen's Pastebin

Taiwan    16,885 1,080,949 0 12 years ago
Name / Title Added Expires Hits Comments Syntax  
[Go] Comparison operators Sep 9th, 2017 Never 772 0 Go -
[Go] Arithmetic operators Sep 9th, 2017 Never 707 0 Go -
[Go] arithmetic operation between two different types. Sep 7th, 2017 Never 644 0 Go -
[Go] Overflow demo. Sep 7th, 2017 Never 647 0 Go -
[Go] Declaring a constant Sep 7th, 2017 Never 667 0 Go -
[Go] short variable declaration Sep 7th, 2017 Never 831 0 Go -
[Go] Using a variable Sep 7th, 2017 Never 700 0 Go -
[Go] Hello World (with comments) Aug 20th, 2017 Never 624 0 Go -
[Go] Hello World Aug 20th, 2017 Never 672 0 Go -
[Rust] Call Vector class from main. Sep 14th, 2017 Never 1,422 0 Rust -
[Rust] Implement Add trait for Vector class. Sep 14th, 2017 Never 1,421 0 Rust -
[Rust] Implementing fmt::Debug trait for Vector class. Sep 14th, 2017 Never 1,426 0 Rust -
[Rust] custom from_slice constructor of Vector class. Sep 14th, 2017 Never 1,403 0 Rust -
[Rust] Implementing Clone trait for Vector class. Sep 14th, 2017 Never 1,532 0 Rust -
[Rust] Vector class Sep 14th, 2017 Never 1,417 0 Rust -
[Rust] Using generics in objects Sep 8th, 2017 Never 1,427 0 Rust -
[Rust] Using generics in functions Sep 8th, 2017 Never 1,377 0 Rust -
[Rust] Using Result objects Sep 8th, 2017 Never 1,370 0 Rust -
[Rust] Pseudocode with generics Sep 4th, 2017 Never 1,361 0 Rust -
[Rust] Pseudocode without generics Sep 4th, 2017 Never 1,394 0 Rust -
[Rust] Calling Rational class Sep 4th, 2017 Never 3,739 0 Rust -
[Rust] Implementing Display trait for Rational Sep 4th, 2017 Never 3,756 0 Rust -
[Rust] Implementing Add trait for Rational Sep 4th, 2017 Never 3,859 0 Rust -
[Rust] The constructor of Rational class Sep 4th, 2017 Never 3,759 0 Rust -
[Rust] Rational class Sep 4th, 2017 Never 3,801 0 Rust -
[Rust] Calling Basketball class. Sep 4th, 2017 Never 3,864 0 Rust -
[Rust] Basketball class, implementing both Color and Shape Sep 4th, 2017 Never 3,873 0 Rust -
[Rust] Ball class, which implements Shape trait Sep 4th, 2017 Never 3,844 0 Rust -
[Rust] Orange class, which implements Color trait Sep 4th, 2017 Never 3,891 0 Rust -
[Rust] Inheriting traits Sep 4th, 2017 Never 3,924 0 Rust -
[Rust] Using Creature and Character classes Sep 3rd, 2017 Never 3,963 0 Rust -
[Rust] Character class Sep 3rd, 2017 Never 3,942 0 Rust -
[Rust] Creature class Sep 3rd, 2017 Never 3,946 0 Rust -
[Rust] Priority trait Sep 3rd, 2017 Never 3,960 0 Rust -
[Rust] Using Drive trait Aug 28th, 2017 Never 4,046 0 Rust -
[Rust] Implementing Drive trait in different car classes Aug 28th, 2017 Never 4,053 0 Rust -
[Rust] The Drive trait Aug 28th, 2017 Never 4,053 0 Rust -
[Rust] Using Color class Aug 28th, 2017 Never 4,025 0 Rust -
[Rust] The RGB getter of Color class. Aug 28th, 2017 Never 4,061 0 Rust -
[Rust] The HSL model constructor of Color class Aug 28th, 2017 Never 4,127 0 Rust -
[Rust] The CYMK model constructor of Color class Aug 28th, 2017 Never 4,092 0 Rust -
[Rust] The RGB model constructor of Color class Aug 28th, 2017 Never 4,154 0 Rust -
[Rust] Color class (which is an enum) Aug 28th, 2017 Never 4,163 0 Rust -
[Rust] Using Point class. Aug 28th, 2017 Never 4,101 0 Rust -
[Rust] The (public) getters of Point class Aug 28th, 2017 Never 4,163 0 Rust -
[Rust] The (private) setters of Point class Aug 28th, 2017 Never 4,178 0 Rust -
[Rust] The constructor of Point class Aug 28th, 2017 Never 4,182 0 Rust -
[Rust] Point class with private fields Aug 28th, 2017 Never 4,241 0 Rust -
[Rust][Console] Error message when accessing private methods Aug 28th, 2017 Never 4,187 0 Bash -
[Rust] public and private methods Aug 28th, 2017 Never 4,290 0 Rust -
[Rust] Point class demo Aug 28th, 2017 Never 4,170 0 Rust -
[Rust] static lifetime in a constant Aug 27th, 2017 Never 1,986 0 Rust -
[Rust] explicit static lifetime Aug 27th, 2017 Never 1,962 0 Rust -
[Rust][excerpt] struct with explicit lifetime Aug 27th, 2017 Never 1,969 0 Rust -
[Rust][excerpt] Lifetime with mutation Aug 27th, 2017 Never 1,981 0 Rust -
[Rust] Explicit lifetime Aug 27th, 2017 Never 1,978 0 Rust -
[Rust] Implicit lifetime Aug 27th, 2017 Never 1,981 0 Rust -
[Rust] Lifetime error demo Aug 27th, 2017 Never 1,987 0 Rust -
[Rust] Borrowing with modification demo Aug 27th, 2017 Never 764 0 Rust -
[Rust] Borrowing demo (with error) Aug 27th, 2017 Never 776 0 Rust -
[Rust] Borrowing demo Aug 27th, 2017 Never 748 0 Rust -
[Rust] Ownership issues in functions Aug 27th, 2017 Never 751 0 None -
[Rust] Copying a value, no moved value Aug 27th, 2017 Never 769 0 Rust -
[Rust] Moved vector (with error) Aug 27th, 2017 Never 732 0 Rust -
[Rust] Pointer to interger Aug 27th, 2017 Never 723 0 Rust -
[Rust] String formatting Aug 26th, 2017 Never 1,253 0 Rust -
[Rust] Writing to standard error Aug 26th, 2017 Never 1,148 0 Rust -
[Rust] Concatenating two Rust string objects Aug 26th, 2017 Never 1,172 0 Rust -
[Rust] Concatenating a Rust string Aug 26th, 2017 Never 1,241 0 Rust -
[Rust] Iterating a Rust string with chars method Aug 26th, 2017 Never 1,204 0 None -
[Rust] Indexing a Rust string (error) Aug 26th, 2017 Never 1,183 0 None -
[Rust] Creating Rust strings. Aug 26th, 2017 Never 1,181 0 Rust -
[Rust] A complex module calling demo. Aug 23rd, 2017 Never 1,843 0 Rust -
Convert from zh-TW to zh-CN Dec 24th, 2018 Never 8,313 10 Perl -
[Haskell] Lazy evaluation in Haskell. Nov 8th, 2017 Never 15,925 2 Haskell -
[Go] Functions with multiple returning values. Sep 30th, 2017 Never 1,101 0 Go -
[C++] lifetime error demo (undefined behavior) Aug 27th, 2017 Never 1,932 0 C++ -
[C++] Reference demo Aug 27th, 2017 Never 762 0 C++ -
[C] Dangling pointer demo Aug 27th, 2017 Never 682 0 C -
[Rust] Modifying a vector in-place Aug 27th, 2017 Never 793 0 Rust -
[C] Modifying a vector in-place Aug 27th, 2017 Never 765 0 C -
[C] Pointer to interger Aug 27th, 2017 Never 776 0 C -
[Console] A Rust error message when indexing a Rust string Aug 26th, 2017 Never 1,207 0 Bash -
[Console] Checking Go (golang) version Aug 25th, 2017 Never 687 0 Bash -
[Rust] module alias demo Aug 23rd, 2017 Never 1,895 0 Rust -
[Rust] Implementing hello in chinese::greeting module Aug 23rd, 2017 Never 1,813 0 None -
[Rust] Implementing hello in english::greeting module. Aug 23rd, 2017 Never 1,804 0 Rust -
[Rust] Declaring a submodule. Aug 23rd, 2017 Never 1,794 0 Rust -
[Rust] Declaring two modules. Aug 23rd, 2017 Never 1,824 0 Rust -
[Console] The overall archetecture of our phrase project. Aug 23rd, 2017 Never 1,827 0 Bash -
[Console] Creating the Rust library project phrase Aug 23rd, 2017 Never 1,811 0 Bash -
[TOML} dependent on local library phrase Aug 23rd, 2017 Never 1,807 0 None -
[Rust] Calling a function from a nested module Aug 23rd, 2017 Never 1,863 0 Rust -
[TOML] Call a Rust library from a Git repo Aug 23rd, 2017 Never 1,821 0 None -
[TOML] A sample Rust config with local library Aug 23rd, 2017 Never 1,794 0 None -
[Rust] Writing an application in a Rust application project. Aug 23rd, 2017 Never 1,864 0 Rust -
[Rust] Writing a function in a Rust library project. Aug 23rd, 2017 Never 1,838 0 Rust -
[Console] Create a Rust library project. Aug 23rd, 2017 Never 1,835 0 Bash -
[Console] Create a Rust application project Aug 23rd, 2017 Never 1,800 0 Bash -
[Rust] nested module demo. Aug 23rd, 2017 Never 1,841 0 Rust -