Programmer self-discipline--to lead you to become a true programming God

Source: Internet
Author: User
Tags python sqlite

recommendation :

Do not buy books, do not chase new technologies, the foundation of things after a long time to accumulate and will be at least 10 years in the future GM.

If you look back on history and see the evolution of the technology on the timeline of history, you can see what tomorrow will be like.

Be sure to do it, no matter how simple it may be, suggest at least one hand to see if you understand the details.

Be sure to learn to think and think about why, not that. and extrapolate to think.

Note : You may be wondering why the following things are very biased, because I feel that programming under Windows may be unix/linux in the future for the following reasons:

Now the user interface is almost dominated by two things, 1) web,2 mobile device iOS or Android. The graphical interface of Windows is not popular.

More and more companies are using low-cost, high-performance Linux and a variety of open source technology to frame their systems, Windows is too expensive.

Microsoft's stuff is getting too fast, it's not going to last, and they're totally playing with programmers.

So, I personally think the trend is the front end is web+ Mobile, back end is linux+ open source. The development side basically does not have windows what matter.

1. Learn a scripting language, such as Python/ruby

Allows you to get rid of the fear of the underlying language, and the scripting language allows you to quickly develop a small program that you can use. Practical projects:

Work with text files, or CSV (keyword python csv, python open, Python sys) to read a local file, row by line (for example, Word count, or process log)

Traverse the local file system (SYS, OS, path), e.g. write a program to count all the file sizes in a directory and sort them by various criteria and save the results

Dealing with the database (Python sqlite), writing a small script statistics the number of entries in the library

Learn to debug in a simple, rough way with all kinds of print

Learn to use Google (phrase, domain, using reader to follow tech blogs)

Why learn scripting language, because they are so convenient, many times we need to write some gadgets or scripts to help us solve the problem, you will find that the formal programming language is too difficult to use.

2. Use a programmer's editor (not the IDE) and some basic tools

vim/emacs/notepad++, learn how to configure code completion, appearance, external commands, etc.

Source Insight (or Ctag)

The use of these things is not for cool, but these editors in view, modify code/configuration article/log will be faster and more efficient.

3, familiar with unix/linux shell and common command line

If you use Windows, or at least learn to use Linux in a virtual machine, VMware Player is free to install Ubuntu.

Be sure to use less graphical interfaces.

Learn to use man to see Help

File system architecture and basic Operation Ls/chmod/chown/rm/find/ln/cat/mount/mkdir/tar/gzip ...

Learn to use some text manipulation commands Sed/awk/grep/tail/less/more ...

Learn to use some management commands ps/top/lsof/netstat/kill/tcpdump/iptables/dd ...

Learn about the various configuration articles in/etc directory, learn to view the system log under/var/log, and the system operation information under/proc

Learn about regular expressions and use regular expressions to find files.

For programmers, Unix/linux is much simpler than Windows. Learn to use Unix/linux and you'll find that the graphical interface is really hard to use at some point, and considerably reduces productivity.

Recommended by US:

    • Technology Blog: A brief introduction to the security analysis of a social app to prevent anti-compilation by the app
    • Tech Blog: How to prevent Android apk from being cracked ahead of Android APK reinforcement is key!
    • Technology Blog: take Flappy Bird hack as an example to introduce Andriod apk Packers method

Programmer self-discipline--to lead you to become a true programming God

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.