Home Backend Development PHP Tutorial A very correct and powerful method of learning programming

A very correct and powerful method of learning programming

Jul 30, 2016 pm 01:30 PM
dom git html javascript jquery


Once you find a learning tool that takes a top-down approach, what is the best way to learn? I have a controversial opinion on this: I think it is absolutely necessary for beginners to memorize the basics as quickly as possible. As you become more advanced learners, memorization quickly becomes a discarded method. You've probably heard people say it dismissively ("Don't memorize, digest internally", "I'm digesting what I've memorized", "I hate tests, I have to recall things from memory").

On the other hand, when you were in elementary school, you were forced to spend time memorizing the multiplication tables. Why carry it? Because your basic multiplication tables can be the basis for building more complex multiplication and division. This is no different than when you memorize the syntax of a programming language: the more natural it is for you to write if or for loops, the easier it will be for you to write more complex blocks of statements.

I also admit that memorization is not always the best way to learn everything, but I believe that for beginners in programming, it is an absolute must to practice programming. why? Because it reduces resistance, and if there's one thing that can frustrate beginners, it's resistance.

With that in mind, here are some specific tips for beginners who are learning or preparing to learn web application development. In fact, speaking further and more abstractly, this is a good plan for how to start learning software development. Obviously, this isn't a plan for everyone, but I think it will certainly work for most beginners.

  1. Learn a weakly typed programming language, don’t first learn an object-oriented programming language with mandatory typing. Strictly speaking, if someone mentions class or inheritance to you, then you should choose another path. While I agree that techniques related to classes and inheritance are essential in software development, I strongly feel that they should not be an option for beginners.
  2. In view of this, I think JavaScript is the most ideal programming language for beginners because: (a) the JS interpreter is available on most browsers, (b) its object-oriented nature is not mandatory Type, (c) is widely used in industry (yes, even for clients outside of the web, even I, now a device engineer, do work embedding JavaScript.)
  3. To be more specific , I suggest you learn to use JavaScript. How to learn to do the following things, especially in this order:
  4. Learn how to print something, learn how to declare and define variables, learn basic arithmetic operations (including remainder operations), learn Loops (especially for loops), learn to write abstract repeated codes into functions, learn strings and use loops to manipulate strings, learn arrays and array loop methods (especially foreach loops), and learn to create and manipulate object data sets.
  5. Remember the above and write a program to practice every day until these are easy to remember.
  6. Learn the basic operations of Git and learn to use Git through the command line. This means learning four Unix/Linux commands first (ls, pwd, mkdir, cd). When you learn these commands, you will also learn to query the file system in a "tree" or hierarchical structure.
  7. Once you have mastered the above Unix/Linux commands and can enter the file system from the command line, you should learn a few basic Git commands. Mainly git init, git status, git add and git commit.
  8. Once you have mastered the basic operations of Git, integrate it into your workflow as you learn the techniques below.
  9. Learn the basics of HTML and be able to create simple HTML pages from memory. Learn about the DOM and how to understand HTML as a specified hierarchical tree structure. Take a moment to think about how this relates to the layered file system you learned about in the previous steps.
  10. Learn CSS selectors and how they let you select parts of the DOM. Understand the relationships between DOM elements. Understand what it means for a DOM element to be a parent or child of another DOM element. Understand how this differs from the relationship between descendants and ancestors. Remember that selectors allow you to select certain elements through these relationships.
  11. Learn jQuery and focus mainly on DOM manipulation capabilities. Learn to use jQuery to insert or delete elements from the DOM, and practice visualizing how it affects the tree structure defined in the DOM.
  12. Practice event handling and DOM manipulation in jQuery (for example, practice manipulating the DOM when the user clicks something, or at a specified time interval).
  13. Practice more with JavaScript objects and think of them as mutable aggregators. Learn how to use JavaScript to represent more complex data instead of basic data types. Learn to apply and manipulate these data structures. Understand and define JSON and understand how it relates to JavaScript objects.
  14. Learn to use jQuery’s getJSON function to get data from a file into a JavaScript object. Using similar techniques, use a simple JSONP API to practice pulling data with AJAX. Practice inserting and deleting this data into the DOM.

At this stage, make a simple slideshow that loops through Flickr images, this will be an incredible project that will really test your ability to use the basic techniques you learned before to make it happen.

If you’ve made it this far, you’ve mastered a number of essential programming and computer science concepts. Specifically, you have mastered the most important elements of computer programs (if-else statements, loops, variables, objects, functions, arrays, etc.) and you have learned chain or tree data structures. At this point, you're undoubtedly ready to move on to more advanced topics.

Thank you for following websitesblog!
This article was originally published on codecloud.net. The content of the article is the personal opinion of the author and does not represent the position of this site.

Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.

The above introduces a very correct and powerful programming learning method, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What are the Grayscale Encryption Trust Funds? Common Grayscale Encryption Trust Funds Inventory What are the Grayscale Encryption Trust Funds? Common Grayscale Encryption Trust Funds Inventory Mar 05, 2025 pm 12:33 PM

Grayscale Investment: The channel for institutional investors to enter the cryptocurrency market. Grayscale Investment Company provides digital currency investment services to institutions and investors. It allows investors to indirectly participate in cryptocurrency investment through the form of trust funds. The company has launched several crypto trusts, which has attracted widespread market attention, but the impact of these funds on token prices varies significantly. This article will introduce in detail some of Grayscale's major crypto trust funds. Grayscale Major Crypto Trust Funds Available at a glance Grayscale Investment (founded by DigitalCurrencyGroup in 2013) manages a variety of crypto asset trust funds, providing institutional investors and high-net-worth individuals with compliant investment channels. Its main funds include: Zcash (ZEC), SOL,

Delphi Digital: How to change the new AI economy by parsing the new ElizaOS v2 architecture? Delphi Digital: How to change the new AI economy by parsing the new ElizaOS v2 architecture? Mar 04, 2025 pm 07:00 PM

ElizaOSv2: Empowering AI and leading the new economy of Web3. AI is evolving from auxiliary tools to independent entities. ElizaOSv2 plays a key role in it, which gives AI the ability to manage funds and operate Web3 businesses. This article will dive into the key innovations of ElizaOSv2 and how it shapes an AI-driven future economy. AI Automation: Going to independently operate ElizaOS was originally an AI framework focusing on Web3 automation. v1 version allows AI to interact with smart contracts and blockchain data, while v2 version achieves significant performance improvements. Instead of just executing simple instructions, AI can independently manage workflows, operate business and develop financial strategies. Architecture upgrade: Enhanced A

As top market makers enter the crypto market, what impact will Castle Securities have on the industry? As top market makers enter the crypto market, what impact will Castle Securities have on the industry? Mar 04, 2025 pm 08:03 PM

The entry of top market maker Castle Securities into Bitcoin market maker is a symbol of the maturity of the Bitcoin market and a key step for traditional financial forces to compete for future asset pricing power. At the same time, for retail investors, it may mean the gradual weakening of their voice. On February 25, according to Bloomberg, Citadel Securities is seeking to become a liquidity provider for cryptocurrencies. The company aims to join the list of market makers on various exchanges, including exchanges operated by CoinbaseGlobal, BinanceHoldings and Crypto.com, people familiar with the matter said. Once approved by the exchange, the company initially planned to set up a market maker team outside the United States. This move is not only a sign

Bitwise: Businesses Buy Bitcoin A Neglected Big Trend Bitwise: Businesses Buy Bitcoin A Neglected Big Trend Mar 05, 2025 pm 02:42 PM

Weekly Observation: Businesses Hoarding Bitcoin – A Brewing Change I often point out some overlooked market trends in weekly memos. MicroStrategy's move is a stark example. Many people may say, "MicroStrategy and MichaelSaylor are already well-known, what are you going to pay attention to?" This is true, but many investors regard it as a special case and ignore the deeper market forces behind it. This view is one-sided. In-depth research on the adoption of Bitcoin as a reserve asset in recent months shows that this is not an isolated case, but a major trend that is emerging. I predict that in the next 12-18 months, hundreds of companies will follow suit and buy large quantities of Bitcoin

Significantly surpassing SFT, the secret behind o1/DeepSeek-R1 can also be used in multimodal large models Significantly surpassing SFT, the secret behind o1/DeepSeek-R1 can also be used in multimodal large models Mar 12, 2025 pm 01:03 PM

Researchers from Shanghai Jiaotong University, Shanghai AILab and the Chinese University of Hong Kong have launched the Visual-RFT (Visual Enhancement Fine Tuning) open source project, which requires only a small amount of data to significantly improve the performance of visual language big model (LVLM). Visual-RFT cleverly combines DeepSeek-R1's rule-based reinforcement learning approach with OpenAI's reinforcement fine-tuning (RFT) paradigm, successfully extending this approach from the text field to the visual field. By designing corresponding rule rewards for tasks such as visual subcategorization and object detection, Visual-RFT overcomes the limitations of the DeepSeek-R1 method being limited to text, mathematical reasoning and other fields, providing a new way for LVLM training. Vis

Euzi Coin (EOS) price forecast: analysts' forecast for EOS prices in 2025-2050 Euzi Coin (EOS) price forecast: analysts' forecast for EOS prices in 2025-2050 Mar 03, 2025 pm 10:30 PM

EOS price forecast and investment analysis: Outlook for 2025-2050 EOS, as a blockchain platform aimed at promoting the development of decentralized applications (dApps) and smart contracts, has attracted much attention since its launch in 2018. It adopts a delegated proof of stake (DPoS) mechanism, which significantly improves transaction speed and network bandwidth. This article explores the future trend of EOS prices in depth and analyzes the factors that affect their prices to help investors make smarter decisions. Key Points: As of February 24, 2025, the EOS price was $0.6134. The highest price of EOS is $22.8904 (April 29, 2018), the lowest price

What libraries are used for floating point number operations in Go? What libraries are used for floating point number operations in Go? Apr 02, 2025 pm 02:06 PM

The library used for floating-point number operation in Go language introduces how to ensure the accuracy is...

Altcoin Investment Guide: Teach you how to pay money on the DEX Exchange, now is a good time to build positions at low prices Altcoin Investment Guide: Teach you how to pay money on the DEX Exchange, now is a good time to build positions at low prices Mar 05, 2025 am 09:45 AM

In the cold winter of 2018, I inspected the photovoltaic power station in the Gobi in Qinghai. In the cold wind of minus 20 degrees Celsius, the engineer pointed to the shutdown photovoltaic panels and said, "These are the legacy of the previous round of expansion. Only when the market is cleared will new technologies rise." Now looking at the Binance altcoin list, those long-term sideways K-line charts are very similar to the photovoltaic panel arrays that were back then. The crypto market is undergoing the same cycle as traditional industries. Just like the knockout match of the photovoltaic industry from 2012 to 2016, the CEX altcoin market has entered a cruel liquidation stage: the daily trading volume of many star projects in 2021 fell below 10 million US dollars, and the median market value shrank by more than 70% from its peak. This is just like the trajectory of photovoltaic, Internet and coal giants falling from high-priced stocks to low-priced stocks. But behind the cyclical cruelty,

See all articles