Self taught delphi encountered difficulties

Updated on technology 2024-02-29
8 answers
  1. Anonymous users2024-02-06

    To provide a little bit of my learning experience is as follows:

    In any computer programming language, most beginners must first master the syntax, data types, structure, etc., and after mastering these basics, you can try to write some algorithms and the like. If you have a basic knowledge of other computer languages, I don't think you spend too much time on grammar and so on, and each language is basically the same.

    Delphi claims to be the "language of the smart programmer", and it is used for RAD rapid program development, and it is not very difficult to get started.

    For Delphi, there are two main books I read when I was studying, and I personally recommend one of them, "Delphi from Beginner to Mastery", author: Marco Cantu, translator: Luo Zheng.

    Looking at the Pascal Essentials notes, I don't think it's very helpful for beginners to learn Delphi (unless your goal is to learn Pascal).

    The object-oriented programming you mentioned was ubiquitous in Delphi at that time, but you may not realize it when you usually use it, and any of the simplest controls in Delphi, such as the label control: tlabel, is an object, T stands for type, and the class usually starts with the letter T in Delphi.

    I may not be aware of it when I usually use it, but I personally feel that in the IDE of Delphi, when you design a form interface, you can drag and drop it like buttons, **, etc., these are actually objects, but usually you don't pay attention to how the class of this object is designed and implemented, and should be more concerned about what properties and methods this object has. And like often written by hand, such as:

    'dddddd';

    This syntax is object-oriented syntax. In fact, Delphi uses object pascal instead of the usual pascal.

    To really understand object orientation, I personally recommend that you take a look at C++ language related works, which may be more helpful for your understanding.

    VCL is the abbreviation of Visual Component Library, that is, visual component library, to understand and sort out the context of the entire VCL, however, my favorite is also Delphi: you can just take and use, such as the countless controls that exist on the Internet, and at the same time you can really go deep into its content, learn its ideas, and observe its implementation details.

    If one day, you read through all the VCL library sources, I believe you will definitely be a DELPHI expert.

  2. Anonymous users2024-02-05

    Learning with purpose will get twice the result with half the effort!

    After you know the basic syntax, find a project to do. I won't flip through books or ask ......Once you've worked a project, you'll find that your programming skills have improved ......

  3. Anonymous users2024-02-04

    Find some exemplary sources** and try to imitate them yourself.

    In the process of doing, you will find your own shortcomings, and these challenges will make you constantly improve in terms of technology.

    As for interests, the main reason is that they don't use software development as a tool for themselves, whether it's at work or in life. You can use your own software to solve some of your own needs.

    For example, when I was doing academic affairs management, I developed software with automatic class scheduling function, student and teacher performance management function, and national computer grade examination registration and verification system software. If you do more, you will know what problems software can solve, and what problems software can't replace.

    At this point, it's not just delphi, you're going to go in other directions. For example: VBA programming of the Office series, intranet intranet applications, ** development (ASP, etc.), your vision will be more and more broad, and the motivation will be.

    All of the above I said is just software development as a hobby. If you take software development as a career, you need to go deep into network programming such as databases, C S, B S, etc. In large companies, you also need to be integrated into team development, learning programming specifications, group software development, UML, software testing, etc.

    In order to work with a team, you need to know other programming languages such as C, C++, VB, J2EE, etc.

  4. Anonymous users2024-02-03

    In general, in this case, it is recommended to find some small games to practice (the most common ones are backgammon, Tetris), not only to make it, but also to fully understand how it works, and then constantly optimize all aspects of the content, such as graphics, sound, etc., with these as the basis, you can basically start to contact other types of software development.

  5. Anonymous users2024-02-02

    It is recommended to read the book first. Try to program it yourself first. Learn better by doing.

    Delphi 7 Programming and Development Techniques.

  6. Anonymous users2024-02-01

    1. There is no problem in learning Delphi directly, just like some people learn VC directly. But I personally recommend learning Delphi's native language Object Pascal (Delphi is not a language, it's a programming tool) first, because even if you can drag and drop controls to make an interface, sooner or later you will still face basic syntax problems. There are some books on the Internet that introduce Object Pascal, such as the Object Pascal Reference Manual, Pascal Essentials, and so on.

    2. I am a Delphi amateur and I have a good Pascal foundation. The first time I came into contact with delphi, it took me a short time to figure out the controls and other things. Later, I found out that controls are just a beginner's toggle thing, and to really go deep into VCL, you need to master the basic syntax and concepts of object pascal.

    3. As for the introductory books, you can take a look at Taiwan's Chen Kuanda's "Delphi Deep Adventure" and Tan Haoqiang's "Pascal Language Programming". Don't buy books by mainland authors, most of them are copied from each other, or excerpted from other people's BBS, and the level is very low. In these years, dogs can publish books.

    In addition, if you have time, you can take a look at the source code that comes with delphi, which is very beneficial.

  7. Anonymous users2024-01-31

    If you want to use Delphi at work, then your colleagues or your company should have someone who understands Delphi, right? It's best if you just take some small projects and ask the people around you if you don't understand, so it's easier to get started.

    When you have some foundation, you need to get more other people's source code to take a look at and accumulate experience in practice.

    However, the process is tedious and requires a lot of perseverance to ......

  8. Anonymous users2024-01-30

    There are 100 examples of programming in this book, and you can learn quickly by example.

Related questions
12 answers2024-02-29

Executed in one data control.

alter table name alter column id counter (1, 1). >>>More

14 answers2024-02-29

After reading your **, let's explain the problem in your ** to you. >>>More

14 answers2024-02-29

First of all, there is something wrong with the for loop. >>>More

17 answers2024-02-29

One is the configuration of the mobile phone, the configuration is not good, and the light encounter cannot be run, if the screen is not good, the display screen of the light encounter will be blurred; >>>More

14 answers2024-02-29

function getsqlserverlist(strings:tstrings):boolean;

The function is implemented as follows: >>>More