編程員行為規(guī)范守則
Jun 21, 2016 am 09:14 AM編程|規(guī)范
·不要被VC、BCB、BC、MC、TC等詞匯所迷惑——他們都是集成開發(fā)環(huán)境,而我們要學(xué)的其實是同一門語言;
·不要放過任何一個看上去很簡單的小編程問題——他們往往并不那么簡單,或者可以引伸出很多知識點;
·會用Visual C++,并不說明你會C++,所以光看Visual C++的書,是學(xué)不了C++語言的;
·學(xué)class并不難,template、STL、generic programming也不過如此,難的是長期堅持實踐和不遺余力的博覽群書;
·如果不是天才的話,想學(xué)編程就不要想玩游戲——你以為你做到了,其實你的C++水平并沒有和你通關(guān)的能力一起變高——其實可以時刻記?。簩W(xué)C++是為了編游戲的;
·把時髦的技術(shù)掛在嘴邊,還不如把過時的技術(shù)記在心里;
·看得懂的書,請仔細(xì)看;看不懂的書,請硬著頭皮看;
·別指望看第一遍書就能記住和掌握什么——請看第二遍、第三遍;【書讀百遍,其意自現(xiàn)】
·不要停留在集成開發(fā)環(huán)境的搖籃上,要學(xué)會控制集成開發(fā)環(huán)境,還要學(xué)會用命令行方式處理程序;
·和別人一起討論有意義的C++知識點,而不是爭吵XX行不行或者YY與ZZ哪個好;
·請看《程序設(shè)計實踐》,并嚴(yán)格的按照其要求去做;
·不要因為C和C++中有一些語法和關(guān)鍵字看上去相同,就認(rèn)為它們的意義和作用完全一樣;
·學(xué)習(xí)編程的秘訣是:編程,編程,再編程;
·記?。好嫦?qū)ο蠹夹g(shù)不只是C++專有的;
·請把書上的程序例子親手輸入到電腦上實踐,即使配套光盤中有源代碼;
·把在書中看到的有意義的例子擴充;
·請重視C++中的異常處理技術(shù),并將其切實的運用到自己的程序中;
·經(jīng)?;仡欁约阂郧皩戇^的程序,并嘗試重寫,把自己學(xué)到的新知識運用進去;
·不要漏掉書中任何一個練習(xí)題——請全部做完并記錄下解題思路;
·C++語言和C++的集成開發(fā)環(huán)境要同時學(xué)習(xí)和掌握;
·就讓C++語言的各種平臺和開發(fā)環(huán)境去激烈的競爭吧,我們要以學(xué)習(xí)C++語言本身為主;
· 當(dāng)你寫C++程序?qū)懙揭话雲(yún)s發(fā)現(xiàn)自己用的方法很拙劣時,請不要馬上停手;請盡快將余下的部分粗略的完成以保證這個設(shè)計的完整性,然后分析自己的錯誤并重新設(shè)計和編寫;
· 別心急,設(shè)計C++的class確實不容易;自己程序中的class和自己的class設(shè)計水平是在不斷的編程實踐中完善和發(fā)展的;
· 每學(xué)到一個C++難點的時候,嘗試著對別人講解這個知識點并讓他理解——你能講清楚才說明你真的理解了;【教學(xué)相長】
· 請不斷的對自己寫的程序提出更高的要求,哪怕你的程序版本號會變成Version 100. XX;
· 保存好你寫過的所有的程序——那是你最好的積累之一;
· 多看design patterns,將他用到程序中去!
· 注意測試用例及測試方法!
· 多看經(jīng)典牛人的書!
· 浮躁的人容易說:XX語言不行了,應(yīng)該學(xué)YY;——是你自己不行了吧???
· 浮躁的人容易問:我到底該學(xué)什么;——別問,學(xué)就對了;
· 浮躁的人容易問:XX有錢途嗎;——建議你去搶銀行;
· 浮躁的人容易說:我要中文版!我英文不行!——不行?學(xué)呀!
· 浮躁的人容易問:XX和YY哪個好;——告訴你吧,都好——只要你學(xué)就行;
· 浮躁的人分兩種:a)只觀望而不學(xué)的人;b)只學(xué)而不堅持的人;
· 請不要做浮躁的人;

Hot AI Tools

Undress AI Tool
Undress images for free

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

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

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)

Windows 11 introduces more macOS-style UI elements. You get a redesigned taskbar with the Start menu in the center. Yes, you can change its position, but by default it will be placed in the center. The Control Center has also received some design tweaks. In the next update, support for Android apps will also come along with redesigned Notepad and Media Player. Although all these features make Windows 11 a nice upgrade over Windows 10, certain doubts are brewing in the minds of users. There is a segment of users and developers who are concerned about whether Windows 11 will support legacy applications and technologies, whether they are lagging behind or not. Since V

Concepts and instances of classes and methods Class (Class): used to describe a collection of objects with the same properties and methods. It defines the properties and methods common to every object in the collection. Objects are instances of classes. Method: Function defined in the class. Class construction method __init__(): The class has a special method (construction method) named init(), which is automatically called when the class is instantiated. Instance variables: In the declaration of a class, attributes are represented by variables. Such variables are called instance variables. An instance variable is a variable modified with self. Instantiation: Create an instance of a class, a specific object of the class. Inheritance: that is, a derived class (derivedclass) inherits the base class (baseclass)

Microsoft Visual C++ has become an integral part of the Windows operating system required to run most common applications. Now, some users have recently complained about issues they encountered while trying to install Visual C++ Redistributable Packages for 2015 or Microsoft Visual Studio Redistributable Packages for 2013. According to these users, the installer stopped midway and displayed "0x80240017 - Unspecified Error". There could be many reasons behind this failure. So don't do this

The VCRUNTIME140.dllismissing error is a problem with your Visual C++ Redistributable file on Windows. You can use this tutorial to solve the problem. Windows applications and software require DLL files to run - without them, they may stop working entirely. For example, if you see a VCRUNTIME140.dllismissing error, this indicates that your PC is missing this file, preventing the application from launching. This may be due to unsuccessful installation of the application. It can even appear after running Windows updates. Thankfully, you can easily

So many users have reported that whenever they try to run the application, it throws an error message stating that code execution cannot continue because CONCRT140.dll was not found. When opening Adobe applications, Halo, ForzaHorizon5, etc., you may encounter CONCRT140.dll not found. So this is not an application-specific issue. Without the correct DLLs installed, applications will not work properly because their code depends on code written in these libraries. In this article, we will learn what CONCRT140.dll is and why it is missing, and how we can download it and fix the error. what is

Class is a keyword in Python, used to define a class. The method of defining a class: add a space after class and then add the class name; class name rules: capitalize the first letter. If there are multiple words, use camel case naming, such as [class Dog()].

jQuery is a classic JavaScript library that is widely used in web development. It simplifies operations such as handling events, manipulating DOM elements, and performing animations on web pages. When using jQuery, you often encounter situations where you need to replace the class name of an element. This article will introduce some practical methods and specific code examples. 1. Use the removeClass() and addClass() methods jQuery provides the removeClass() method for deletion

Vue error: Unable to use v-bind to bind class and style correctly, how to solve it? In Vue development, we often use the v-bind instruction to dynamically bind class and style, but sometimes we may encounter some problems, such as being unable to correctly use v-bind to bind class and style. In this article, I will explain the cause of this problem and provide you with a solution. First, let’s understand the v-bind directive. v-bind is used to bind V
