In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article focuses on "how to learn the web programming language quickly". Friends who are interested may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to learn the web programming language quickly.
Programming analysis
There are many programming languages in the world, and more than 5000 can be listed at once, but it is not surprising that the top 20 programming languages on the list have similar standard libraries.
In Xiao Xin's view, getting rid of all the extra things about "material" is a good way to think about programming, so you are exposed to only the necessary things related to programming.
Atom
Every aspect of every programming language can be viewed in true and false (boiled down to true or false). Why? Because that's how electricity works-- either with or without charge. Memory stores value in the form of 0 and 1 binary codes, and the bits (binary information units) are either charged or uncharged.
Eight bits are equivalent to one byte, which is enough for you to list any character on the ASCII table. Bits are such a flip order, which provides a representation of decimal characters that a computer can convert into letters.
(how to create a basic binary representation of Hello)
Once you understand the reasons for this concept, it is easier to understand what follows.
Tools
The tools are all the same, although everyone may learn them in a different order. Here is the order in which Xiao Xin learns them.
Variable
It seems very simple, but seriously, how do you create variables?
Operator
What is an operator? How do I use the operator? Suppose you already have a basic knowledge of mathematical operators, but what is the logical operator? should the operator "AND" be spelled "and" or "AND,"? Or the use of words such as "&?" A symbol like this?
Conditions
Surprisingly, what Xiao Xin reads most about Swift and Python is related to decision-making. The next step you need to learn is how to make decisions in your own program. Will the programming language you are trying to learn use the traditional "if/elseif/else" judgment structure, or something such as "if/elif/else?" A more Pythonic programming language? Does your programming language have "switch" or "guard" statements?
Cycle
How do I cycle through repetitive tasks? Does the programming language contain for loops, while loops, do-while loops, or for-each statements?
Function
Is it possible to create a function? If you could, how would you deal with it? How do I include parameters in a function? Knowing how to use these functions will save time and make life easier.
Category and structure
Can the programming language you learn understand the concepts of categories and structures? It sounds like a stupid question, but some programming languages don't have it, or there is only one category and structure. If the language really doesn't exist, how do you create categories and structures? Does this category need to use methods of building functions or initialization?
Error handling
Mistakes are inevitable. Does the language have a safe way to deal with problems when errors occur? How would you use the language at this time? Will you use "try/catch", "try/except" or some other method? Does the programming language have clauses like "else" or "finally" that allow error selection?
test
How to test the code? Do you use a built algorithm library or do you have to download a separate tool to test it?
All of these tools should be suitable for the most modern programming languages, and even older programming languages such as COBOL have them, but they may be called differently, such as paragraphs or carbon books.
Step by step optimization
Once you understand these tools, the next step is to use the tools and write an application. You can learn about a programming language by reading the literature, but you can only understand it by actually writing some applications.
By writing a program, you have to think like a programmer. Xiao Xiao can say that she knows the language of C++ because she has taken relevant courses and read the literature, but she didn't really understand the language until she finished a program with the unique characteristics of the programming language C++.
21:00 (Blackjack) of playing cards is a good beginner's project, which requires variables, operators, conditions, loops (based on many players), functions, categories / structures, and error handling. You can include potential failures in the test case, such as when the cards are used up.
Other items such as shooting (Shoots), ladder (Ladders), speedboat dice (Yahtzee) or vending machine (SlotMachine) are also good beginners.
For some advanced projects, you can try to create another game like Monopoly, focusing more on how it works and making it text-based.
It is important to remember that if you are lazy in the face of difficult tasks (such as skipping double-down or separating blackjack features), you will only limit your understanding of the programming language.
At this point, I believe you have a deeper understanding of "how to learn the web programming language quickly". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.