How should I learn with zero foundation?
If you want to be a programmer and have no foundation, buying books and self-study is one way. However, most people will not understand the book because they have no relevant basic knowledge, because there are different Different languages and different development environments, when you don’t understand them, the book you buy may not be suitable.
The quickest way is to sign up for a training class, systematically learn the basic knowledge, then choose a development direction, and then buy some specific books to study.
When you encounter a problem that you don’t understand, try to go to Baidu or Google as little as possible to find the answer directly. Instead, go to various forums or official websites to understand the underlying principles, and then think about solutions, so that you can know You know why.
Programmer is a position where you are constantly learning. In addition to work, you need to spend a certain amount of time understanding the principles of new technologies or the technologies you are using every day, so that you can continue to improve. Otherwise, you may be eliminated. .
After you understand the code, you also need to understand the logic, which means you must be familiar with the field and industry you are engaged in. For example, if you are engaged in education, you must be familiar with the business of the education industry. If you are engaged in finance, you must be familiar with the business. You must be familiar with financial logic so that you can write good code.
What should you learn first?
I think you can choose a simple language to learn first, so that you can have a preliminary understanding of programming. The first language I learned was c. I was not good at it, so it was just a beginner. Getting Started in. I think C, Java, and Python are all good introductory languages. For books, you can directly go to Baidu ---- introductory books.
Then while learning about programming, you can also understand what technologies you need to develop the things you want to develop. For example, you need to use java to develop Android, and http://asp.net or php for the website. After a detailed understanding, what you need is to constantly supplement the things you don't understand. I don’t think there is any need to worry about choosing a first language for too long. Personally, I didn’t even know what object-oriented programming was when I first learned programming. I had no way of knowing what technology I really needed and how to choose it. Woolen cloth?
I think the most important thing is to choose a language and start learning it as soon as possible!
Six suggestions for self-taught novice programmers
1. Make programming a habit
The best thing to do if you want to develop a skill The best way is to integrate it into our lives and make it our hobby. In fact, to put it bluntly, it is to make this hobby a habit. If you don't do it for a day, you will feel that something is missing. Before you know it, this habit will snowball.
For me, the first thing to develop this habit is to say no to "procrastination". For example, when you want to exercise your writing skills, but you don’t have a good-looking book, good inspiration, or a quiet environment... In short, you just find various reasons to put it off again and again, and finally give up. But if you think about it carefully, once you have a good-looking book and a comfortable environment...will you be able to write good articles? No! Let me tell you very clearly that the foundation of the article is formed as you continue to accumulate it. So, when we decide to do something, please do it immediately! immediately! Take action now!
Then start with small things. If I decide to start running, I will only ask myself to run two or three days a week at first. Although it seems to have low requirements, this approach is easier to stick to for a long time and will not be easily disturbed by other factors.
The same idea also applies to learning programming. Spend a few days a week and a few hours a day, and your programming learning will slowly get on the right track. If you feel that you are not in the mood to read programming textbooks, it doesn't matter. Technical lectures on video websites can play the same role.
2. Split the work into small pieces
When it comes to programming work, we don’t have to be exhausted like fitness freaks. Instead of directly programming for 2 hours, we can do it for 25 minutes, then rest for 5 minutes, and repeat the whole process 4 times. Obviously, a short period of 25 minutes is easier to stick to and will not bring much pressure. However, this method should be combined with a more flexible execution idea. If you're feeling great and you've just finished your warm-up at 25 minutes, keep going and try to get yourself there.
In addition, I would like to recommend the Tomato Work Method to everyone. This is a good mechanism for learning new skills, so I recommend you to understand it carefully.
3. Read other people’s code
After several years of programming learning, I think the best way to improve your coding level is to read more and write more. However, reading other people’s code is also It is indeed a technique to quickly improve your coding skills.
4. Find mentors and helpful friends
5. Write technical articles
If you have learned a new programming concept but are not sure whether you have truly mastered it, you can write technical articles Blog post to check. Firstly, you can improve your programming level, and secondly, you can also increase your popularity, and you will have more opportunities than others to find a job in the future.
6.Be patient
For life, the realization of any goal is inseparable from patience. Learning to program, like any other learning task, requires repeated effort and a large investment of time.
In this process, you will definitely experience highs and lows - don't let these curves affect your mood. Accept what has happened and try to avoid the bad parts of it as much as possible. Just like playing golf, our feel is always fluctuating, but as long as you persist to the end, you will eventually become a great player~
The above is the detailed content of 0What to learn first when learning programming?. For more information, please follow other related articles on the PHP Chinese website!

计算机编程中常见的if语句是条件判断语句。if语句是一种选择分支结构,它是依据明确的条件选择选择执行路径,而不是严格按照顺序执行,在编程实际运用中要根据程序流程选择适合的分支语句,它是依照条件的结果改变执行的程序;if语句的简单语法“if(条件表达式){// 要执行的代码;}”。

前言本文继续来介绍Python集合模块,这次主要简明扼要的介绍其内的命名元组,即namedtuple的使用。闲话少叙,我们开始——记得点赞、关注和转发哦~ ^_^创建命名元组Python集合中的命名元组类namedTuples为元组中的每个位置赋予意义,并增强代码的可读性和描述性。它们可以在任何使用常规元组的地方使用,且增加了通过名称而不是位置索引方式访问字段的能力。其来自Python内置模块collections。其使用的常规语法方式为:import collections XxNamedT

最近,PHP8.0发布了一个新的邮件库,使得在PHP中发送和接收电子邮件变得更加容易。这个库具有强大的功能,包括构建电子邮件,发送电子邮件,解析电子邮件,获取附件和解决电子邮件获得卡住的问题。在很多项目中,我们都需要使用电子邮件来进行通信和一些必备的业务操作。而PHP8.0中的邮件库可以让我们轻松地实现这一点。接下来,我们将探索这个新的邮件库,并了解如何在我

作为一门高效的编程语言,Go在图像处理领域也有着不错的表现。虽然Go本身的标准库中没有提供专门的图像处理相关的API,但是有一些优秀的第三方库可以供我们使用,比如GoCV、ImageMagick和GraphicsMagick等。本文将重点介绍使用GoCV进行图像处理的方法。GoCV是一个高度依赖于OpenCV的Go语言绑定库,其

随着PHP8.0的发布,DOMDocument作为PHP内置的XML解析库,也有了新的变化和增强。DOMDocument在PHP中的重要性不言而喻,尤其在处理XML文档方面,它的功能十分强大,而且使用起来也十分简单。本文将介绍PHP8.0中DOMDocument的新特性和应用。一、DOMDocument概述DOM(DocumentObjectModel)

Python 中的 main 函数充当程序的执行点,在 Python 编程中定义 main 函数是启动程序执行的必要条件,不过它仅在程序直接运行时才执行,而在作为模块导入时不会执行。要了解有关 Python main 函数的更多信息,我们将从如下几点逐步学习:什么是 Python 函数Python 中 main 函数的功能是什么一个基本的 Python main() 是怎样的Python 执行模式Let’s get started什么是 Python 函数相信很多小伙伴对函数都不陌生了,函数是可

PHP8.0是PHP语言的最新版本,自发布以来已经引发了广泛的关注和争议。其中,最引人瞩目的新特性之一就是Symbol类型。Symbol类型是PHP8.0中新增的一种数据类型,它类似于JavaScript中的Symbol类型,可用于表示独一无二的值。这意味着,两个Symbol类型的值即使完全相同,它们也是不相等的。Symbol类型的使用可以避免在不同的代码段

PHP8.0中的HTTP客户端库PHP8.0的发布带来了很多新特性和改进,其中一个最引人注目的是内置的HTTP客户端库的加入。这个库提供了一个简单的方法来发送HTTP请求并处理返回的响应。在本文中,我们将探讨这个库的主要功能和用法。发送HTTP请求使用PHP8.0内置的HTTP客户端库发送HTTP请求非常简单。在本例中,我们将使用GET方法获取这个网站的首页

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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),