

I just realized today: learning to program and learning a programming language are two different things
Most programmers and beginners think that they are learning programming. In fact, they are not, but they are taking a detour.
You may be learning a programming language, not programming itself
Computer science is not about learning computers. Shockingly. Rather, it is about solving problems automatically with the help of computers. Solving problems is computer science, not writing code. This is why many computer science students don't seem to understand why they study algorithms and mathematics.
If you’ve taken a computer science class before, this won’t surprise you. Because you will notice that programming has very little to do with programming languages. Think about why pseudocode is so common in these courses.
But most programmers always fall into the trap. We learned programming languages for more than ten years before we realized that what we really needed to learn was programming, and I was the victim.
I have spent more than ten years learning various programming languages. The more programming languages I learned, the harder it became to build simple things and I felt like I couldn't find the right tools. But the problem is, when I don't know where to start, I forget to explore what to do instead of looking for the right tools.
The strange thing about programming languages is that they are always changing. Programming languages change almost every day, and keeping up is very difficult. And most good programs use only a small part of the programming language.
The problem with prioritizing learning a programming language is like learning how to use a woodworking saw, hammer, and various cutting machines before learning carpentry. Carpenters need to pay attention to: ideas, feasibility analysis, measurement, testing, and user habits. Old carpenters pay more attention to these. Instead of hammers and nails.
During the scientific study of the work, he will also spend time checking the quality of nails, stains, wood, etc.
What is the difference between learning programming and learning a programming language?
"Programming" Make the system run automatically by giving an instruction. We do it every day, we teach it to our kids, our soldiers, our customers. We give or receive instructions to act freely or independently in a prescribed manner. Your parents don't need to follow you around and guide you every step of the way; they have already given you guidance (instruction) in many areas of your life before.
Most schools and educational websites teach the syntax of programming languages. They also add some design patterns (and you may have just missed what design patterns are), some math, how to declare variables and how to use them, data types and how to declare and create them.
The knowledge of programming languages mentioned above will not teach you programming. When you find out, you will feel that learning programming is a waste of time, a lot of time.
We use programming to solve problems, and programming languages are tools that help us solve problems.
They are like toolboxes, we call them frameworks. They can make your thoughts more organized.
If you are learning programming but still cannot design and write an actual application, it means that you have to spend more time learning programming rather than programming languages.
We meet many people who still don’t know how to design a program.
For programmers, a program is a problem that needs to be solved. Before involving any programming language, you need to think carefully and understand the problem first. You can actually code in any programming language no matter what problem you want to solve (the important thing is to think about the problem you want to solve).
Let’s take calculating squares as an example. Calculates the square of a number, multiplying itself multiple times. We can implement it in multiple languages, for example:
Using C language
1 2 3 |
|
Using PHP
1 2 3 |
|
Learning recommendation: php programming introductory video tutorial
Using JavaScript
1 2 3 |
|
Learning recommendation: javascript Video tutorial
Using Scheme (a Lisp dialect)
1 |
|
You will notice that the syntax only determines the specific implementation, not the solution to the problem The method is the same. This is one of the main reasons why you can build any kind of software in almost any language you care to use.
It is easier to understand a language through programming
Human language is a problem because human language is full of limitations and errors, so machines cannot directly understand it.
When you learn to program, you will learn new terminology and new tools to write logic so that computers or other programmers can also understand and agree on it.
Typically, you will start with a simple, human-like language called pseudocode. It is a great transition tool from human languages to computer programming languages and is done to prevent you from wasting time on programming languages.
In this way, you can completely focus on the problem itself and the logic of the solution. Through this process, you will discover the core parts of a good programming tool (language), and you will know what is important and what you need (if you need to use a hammer to smash things, learn to smash things first, and hammer nails temporarily) If you don’t need it, don’t learn it first).
In this way, you will learn a programming language without knowing it (completely master the use of the hammer)
Translation original text: Learning programming is different from learning a programming language: https://phpocean.com/blog/article/learning-programming-is-different-from-learning-a-programming-language/80
【Related article】

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



According to news from this site on June 24, at the keynote speech of the HDC2024 Huawei Developer Conference on June 21, Gong Ti, President of Huawei Terminal BG Software Department, officially announced Huawei’s self-developed Cangjie programming language. This language has been developed for 5 years and is now available for developer preview. Huawei's official developer website has now launched the official introductory tutorial video of Cangjie programming language to facilitate developers to get started and understand it. This tutorial will take users to experience Cangjie, learn Cangjie, and apply Cangjie, including using Cangjie language to estimate pi, calculate the stem and branch rules for each month of 2024, see N ways of expressing binary trees in Cangjie language, and use enumeration types to implement Algebraic calculations, signal system simulation using interfaces and extensions, and new syntax using Cangjie macros, etc. This site has tutorial access address: ht

This site reported on June 21 that at the HDC2024 Huawei Developer Conference this afternoon, Gong Ti, President of Huawei Terminal BG Software Department, officially announced Huawei’s self-developed Cangjie programming language and released a developer preview version of HarmonyOSNEXT Cangjie language. This is the first time Huawei has publicly released the Cangjie programming language. Gong Ti said: "In 2019, the Cangjie programming language project was born at Huawei. After 5 years of R&D accumulation and heavy R&D investment, it finally meets global developers today. Cangjie programming language integrates modern language features, comprehensive compilation optimization and Runtime implementation and out-of-the-box IDE tool chain support create a friendly development experience and excellent program performance for developers. "According to reports, Cangjie programming language is an all-scenario intelligence tool.

According to news from this site on June 21, Huawei’s self-developed Cangjie programming language was officially unveiled today, and the official announced the launch of HarmonyOSNEXT Cangjie language developer preview version Beta recruitment. This upgrade is an early adopter upgrade to the developer preview version, which provides Cangjie language SDK, developer guides and related DevEcoStudio plug-ins for developers to use Cangjie language to develop, debug and run HarmonyOSNext applications. Registration period: June 21, 2024 - October 21, 2024 Application requirements: This HarmonyOSNEXT Cangjie Language Developer Preview Beta recruitment event is only open to the following developers: 1) Real names have been completed in the Huawei Developer Alliance Certification; 2) Complete H

According to news from this site on June 22, Huawei yesterday introduced Huawei’s self-developed programming language-Cangjie to developers around the world. This is the first public appearance of Cangjie programming language. According to inquiries on this site, Tianjin University and Beijing University of Aeronautics and Astronautics were deeply involved in the research and development of Huawei’s “Cangjie”. Tianjin University: Cangjie Programming Language Compiler The software engineering team of the Department of Intelligence and Computing of Tianjin University joined hands with the Huawei Cangjie team to deeply participate in the quality assurance research of the Cangjie programming language compiler. According to reports, the Cangjie compiler is the basic software that is symbiotic with the Cangjie programming language. In the preparatory stage of the Cangjie programming language, a high-quality compiler that matches it became one of the core goals. As the Cangjie programming language evolves, the Cangjie compiler is constantly being upgraded and improved. In the past five years, Tianjin University

According to news from this site on June 21, before the HDC2024 Huawei Developer Conference, Huawei’s self-developed Cangjie programming language was officially unveiled, and the Cangjie official website is now online. The official website introduction shows that Cangjie programming language is a new generation programming language for all-scenario intelligence, focusing on "native intelligence, natural all-scenarios, high performance, and strong security." Integrate into the Hongmeng ecosystem to provide developers with a good programming experience. The official website attached to this site introduces as follows: Native intelligent programming framework embedded with AgentDSL, organic integration of natural language & programming language; multi-Agent collaboration, simplified symbolic expression, free combination of patterns, supporting the development of various intelligent applications. Innately lightweight and scalable runtime for all scenes, modular layered design, no matter how small the memory is, it can be accommodated; all-scenario domain expansion

A comparison of the advantages and disadvantages of C++ with other modern programming languages is: C++ advantages: high performance, low-level control, rich library ecosystem. C++ disadvantages: steep learning curve, manual memory management, limited portability. Python advantages: smooth learning curve, extensive library support, interpreted language. Advantages of Java: platform independent, automatic memory management, wide application. Advantages of JavaScript: essential for front-end development, lightweight, dynamic type.

According to news on June 21, this afternoon, Huawei Developer Conference 2024 will be officially opened. "Pure-blood Hongmeng" Harmony OS NEXT is naturally a top priority. According to the plan previously revealed by Yu Chengdong, the public beta may be officially announced this afternoon, and ordinary consumers can also try out "pure-blood Harmony". According to reports, the first batch of supported mobile phones are the Mate60 series and Pura70 series. It is worth noting that as a "pure-blooded Hongmeng", HarmonyOSNEXT has removed the traditional Linux kernel and AOSP Android open source code and developed the entire stack in-house. According to the latest report from Sina Technology, Huawei will also complete the last link of Hongmeng Ecosystem and expand its presence in the world.

According to news from this site on June 21, Huawei’s self-developed Cangjie programming language was officially unveiled today, and the HarmonyOSNEXT Cangjie language developer preview version Beta recruitment was launched. The Cangjie Programming Language Q&A page on Huawei's official website shows that Cangjie Programming Language is a next-generation application programming language oriented to all-scenario intelligence. It focuses on native intelligence, natural all-scenarios, high performance and strong security. It is combined with Hongmeng system to provide good programming. experience. For different business scenarios, Hongmeng Ecosystem provides application developers with multi-language hybrid development capabilities such as Cangjie and ArkTS. Cangjie and ArkTS develop together and form complementary advantages in the Hongmeng ecosystem. Cangjie is more suitable for business scenarios with high performance and high concurrency requirements. The goal of Cangjie programming language is to create Hongmeng applications that can perform tasks concurrently.