I was surprised that the first study note I wrote last night had a comment, but today I am still unable to improve my basic knowledge. Let's take a look at the three books to understand the general process of program development.
Today, I did not know how to wander around and found this website, which is specially used for programming exercises. I can log on with my google account. I simply sorted it out and the free version can be used directly! See the following table:
Programming Language |
Open-source projects |
Number of lines of code |
Source program |
|
Objective-C |
Cheddar |
Lines 419 |
Simple & Instant Task Manager-CDIListViewController. m |
|
C # ASP.net |
|
Lines 486 |
Web Application Framework-CSharpCodeParser. cs |
|
JavaScript |
JQuery |
Lines 237 |
Cross-Browser JavaScript Library-traversing. js |
|
Ruby on Rails |
|
Lines 269 |
Full-stack Web Application Framework-relation. rb |
|
Erlang |
Riak |
Lines 357 |
Distributed Key/Value DB-riak_core_gossip.erl |
|
Scala |
|
Lines 539 |
Static, Functional, Object-Oriented PL-ParArray. scala |
|
Java |
Guava |
Lines 387 |
Google Core Libraries for Java-Collections2.java |
|
Haskell |
Xmonad |
Lines 177 |
X11 Tiling Window Manager-StackSet. hs |
|
Python |
Mercurial |
Lines 465 |
Distributed Version Control-merge. py |
|
Less |
Bootstrap |
Lines 453 |
HTML/LESS/JS Framework-mixins. less |
|
PHP |
Symfony |
Lines 221 |
PHP Web Framework-PhpEngine. php |
|
Perl |
Moose |
Lines 269 |
Object-Oriented Perl-Constructor. pm |
|
C ++ |
WebKit |
Lines 368 |
Web Browser Engine-HTMLDocumentParser. cpp |
|
Shell |
Git |
Lines 330 |
Distributed Version Control-git-mergetool.sh |
|
Clojure |
|
Lines 220 |
Dynamic, Functional, Concurrent Lisp-zip. clj |
|
C |
Redis |
Lines 475 |
Data Structure Server-db. c |
|
C |
Linux0.0.1 |
Lines 213 |
Minix-like kernel for i386-sched. c |
|
I tried C #. It's really different from typing at ordinary times. It's awkward! This is the first test of Lesson Summary:
Typeable characters |
309 |
|
Typed characters |
373 |
|
309 |
Typeable characters |
+ |
10 |
Incorrectly typed |
+ |
7 |
Collaterally typed before backspacing |
+ |
32 |
Backspaces |
|
Unproductive keystrokes |
21% |
373 typed characters-309 typeable characters ----------------------------------------------------- 309 typeable characters |
Elapsed time |
1: 50 |
|
Wpm |
34 |
309 typeable characters 1 --------------------------- × ------------- 5 characters per word |
The second test looks like a slight improvement
Ypeable characters |
376 |
|
Typed characters |
438 |
|
376 |
Typeable characters |
+ |
16 |
Incorrectly typed |
+ |
10 |
Collaterally typed before backspacing |
+ |
31 |
Backspaces |
|
Unproductive keystrokes |
16% |
438 typed characters-376 typeable characters ----------------------------------------------------- 376 typeable characters |
Elapsed time |
1: 59 |
|
Wpm |
38 |
376 typeable characters 1 --------------------------- × ------------- 5 characters per word |
But how long does a 486-line file take? Only 30 rows have been completed twice:
30 |
Lines typed |
456 |
Lines remaining |
The third test has improved, but I'm tired of it. Let's get there and read a book:
Typeable characters |
477 |
|
Typed characters |
519 |
|
477 |
Typeable characters |
+ |
17 |
Incorrectly typed |
+ |
4 |
Collaterally typed before backspacing |
+ |
21 |
Backspaces |
|
Unproductive keystrokes |
9% |
519 typed characters-477 typeable characters ----------------------------------------------------- 477 typeable characters |
Elapsed time |
2: 14 |
|
Wpm |
43 |
477 typeable characters 1 --------------------------- × ------------- 5 characters per word |