`
shaxquan
  • 浏览: 14350 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
最近访客 更多访客>>
社区版块
存档分类
最新评论

5 Ways You can Learn Programming Faster

阅读更多

1. 多看示例代码
阅读通常只是关于单词的,而学习编程则是关于代码的。当你第一次学习编程时,你应该确保多看,并试着理解每个例子。

2. 不要只是看,要动手运行
但是当你阅读编程手册时,你很容易在看到示例代码后对自己说:这个我会,就是这个意思。当然,你可能确实会,当时也有可能你没有完全理解。有个方法可以监测你是否真的会,那就是试着将这个例子重新做一遍,然后试着修改这个例子,你可以尝试修改,实验一些新的东西,看看会得出什么结果。

3.尽快编写自己的代码。
一旦你理解了编程语言的某个知识点,或者即使你仍旧对某个地方不是很理解,你也要开始编写自己的示例代码来使用这个知识点,刚开始你不用把你所知道的所有东西都加在里面。
你可以重新实现书中的示例代码,不要看书,自己把她写出来。

4.学会使用debugger
你越快学会debug, 你就会发现编程变得越容易。
一个dubugger允许你一行一行的执行你的代码,显示定义的变量的值,还会告诉你某个if语句是否执行了。
int main()
{
        int x;
        int y;
        if( x > 4 )  //x在这里的值是多少?
        {
                y = 5;   // 这条语句执行了吗?
        }
}

5.尽可能查找更多的资源
因特网上到处都有编程的教程,也有些非常好的教程。还有论坛,博客都是非常好的资源,好好利用这些资源,愿你的编程水平快速提高。

 

分享到:
评论

相关推荐

    Learn.Cplusplus.In.A.DAY.1519318588.epub

    ) I made this crash course to show you HOW you can learn C++ FASTER than you ever thought possible. I will teach YOU step by step the C++ Language extremely quickly. I will TAKE you through a step by ...

    《Hands-On GUI Programming with C++ and Qt5》---Author: Lee Zhi Eng .epub格式+code

    In the initial part of the book, you will learn what Qt 5 is and what you can do with it. You will explore the Qt Designer, discover the different types of widgets generally used in Qt 5, and then ...

    Learn CSS In A DAY

    I made this crash course to show you HOW you can learn CSS FASTER than you ever thought possible. I will teach YOU step by step CSS extremely quickly. I will TAKE you through a step by step guide ...

    A Smarter Way to Learn Python Learn it faster. Remember it longer

    ### A Smarter Way to Learn Python:Learn It Faster. Remember It Longer. #### 学习方法介绍 这本书《A Smarter Way to Learn Python》旨在帮助读者更快速地学习Python,并且能够长时间记住所学内容。作者马克...

    Learn C++ Programming Language C++11 书签修正版pdf

    Learn C++ Programming Language: Become A Complete C++ Programmer 原书是mobi格式,这个是mobi转成的pdf(没有书签),本人添加了书签进行修正-by yinkaisheng English | 2015-10-01 | ASIN: B0162QA2GC | 1 ...

    Learning C++ Functional Programming

    By the end of the book, you will be familiar with the functional approach of programming and will be able to use these techniques on a daily basis. What you will learn Get to know the difference ...

    Hands-On Game Development with WebAssembly Learn WebAssembly C++.epub

    You will learn how to build a WebAssembly application using C++, Emscripten, JavaScript, WebGL, SDL, and HTML5. This book covers a lot of ground in both game development and web application ...

    Java.Crash.Course.1541019245.epub

    We are absolutely sure will love all our 21 lessons, and we sincerely hope they help you learn and improve Java programming language much, much faster. How Will You Java Skills Improve? You will ...

    Python.Crash.Course.15196386.epub

    Are You Ready to Learn Python Programming FASTER Than You Ever Thought Possible? Welcome to the Ultimate Crash Course on Python! Are you ready to unlock the keys to the future? If your answer is a ...

    Beginning Python(Apress,3ed,2017)

    Ten accompanying projects will ensure you can get your hands dirty in no time. Updated to reflect the latest in Python programming paradigms and several of the most crucial features found in Python ...

    Java 9 Programming By Example

    Our example-based approach will get you started quickly with software programming, get you up-to-speed with Java 9, and improve your Java skills This book will show you the best practices of Java ...

    Python Network Programming Cookbook, 2nd Edition 2017 pdf 5分

    You will learn about the concepts and fundamentals of SDN and then extend your network with Mininet. Next, you'll find recipes on Authentication, Authorization, and Accounting and other alternative ...

    Mastering The Faster Web with PHP, MySQL, and JavaScript 1st pdf

    After reading this book, you will know how to boost the performance of any Web application and make it part of what has come to be known as the Faster Web. What you will learn Install, confgure, and...

    Git Version Control Cookbook 无水印pdf 0分

    As you progress through this book, you will learn how you can automate the usual Git processes by utilizing the hook system built into Git. The book also covers advanced repository management, ...

    QGIS Python Programming Cookbook - Second Edition

    You will also learn to create, edit, and optimize a vector layer for faster queries, reproject a vector layer, reduce the number of vertices in a vector layer without losing critical data, and ...

    QGIS Python Programming Cookbook

    You will also learn to create, edit, and optimize a vector layer for faster queries, reproject a vector layer, reduce the number of vertices in a vector layer without losing critical data, and ...

Global site tag (gtag.js) - Google Analytics