How to analyse the code
2017-08-23 08:01
162 查看
我认为,只是单纯的提高自己编辑程序的能力是远远不够的,学习总是要从模仿开始的,学习专业人士书写代码的框架和习惯也是非常重要的。
迄今为止我在代码的理解上,遇到的一些问题有。1.看不懂 2.看不快 3.重复看 4.不知道怎么做笔记 5.不知道向别人呈现一份代码 6.呈现方式的选择 7.代码调试的能力 8.代码分析的工具 今天我想要好好的总结一下,我希望找到一种属于自己的最高效的代码分析方法。
语言: java
IDE: eclipse
跳转
-
迄今为止我在代码的理解上,遇到的一些问题有。1.看不懂 2.看不快 3.重复看 4.不知道怎么做笔记 5.不知道向别人呈现一份代码 6.呈现方式的选择 7.代码调试的能力 8.代码分析的工具 今天我想要好好的总结一下,我希望找到一种属于自己的最高效的代码分析方法。
语言: java
IDE: eclipse
笔记应该先读厚 再读薄
即反复的梳理笔记,反复的总结笔记顺着运行的思路
不停的跟培养对有些关键字下的约定俗成
如:在c中 static是为了限制作用域的之前经常遇到的问题就是 跟进去之后 如何再出来的问题 现在发现可以一个脑图 一个notepad配合着用
其实eclipse和notepad 均有返回上次的跳转的功能十分方便,eclipse貌似还是用的视图的跳转,这样的话可能在多个文件之间进行跳转以前的时候不知道怎么查找导入包里面的函数,现在知道其实是和自己的写的函数是一样的 在eclipse中右键,然后open declaration即可 右边还有个outline
这样可以直接实现跳转,对于变量也可以先自己出发缕出一个框架 然后大致的划分一下啊轮廓 然后再慢慢的进行求证 对于不太懂的 可以先学会用 有时间再去研究
主动理解,既可以锻炼自己的编程能力还可以有利于自己更快的去掌握一段代码用eclipse进行代码辅助分析
outline跳转
-
相关文章推荐
- How to change the generated method stub code for C#
- how to download the souce code for trdp?
- HowTO: Create an Event Log Source in code, without the Permission errors
- How to hide & unhide the grid from the page by using people code?
- [笔记] How to get the versionCode and versionName of your app
- how to manually traverse the ZODB tree in your code to locate objects by their path?
- How to write the fast code/ high performance in C#
- How to solve “add/remove operation is impossible, because the code element 'Cxxx' is read only”
- How to get the source code of the chromium of the specified revision
- How to get the source code of the chromium of the specified revision
- How to use C# code to get the windows components
- How to run the .net code within the Sql server
- FLEX how to reduce the amount of code to reduce memory consumption
- How to use "vi" edit the docs or source code files
- how to `make` the src code of APUE book
- How to calculate the time consumed on a block of souce code.
- How to contribute the code or doc to Nifi?
- How to collect TrustZone debug logs and check the meaning of error code in the logs
- how to find out the response code(200,404,400...) of the URL?
- How to use Reflector to see the code of .net framework