- Experimental three agile development and XP practice-1
Experimental requirements
Experimental three agile Development and XP practice http://www.cnblogs.com/rocedu/p/4795776.html, Eclipse content replaced by idea
Refer to Http://www.cnblogs.com/rocedu/p/6371315.html#SECCODESTANDARD To install the Alibaba plug-in to resolve the specification in the code.
Use the tool (Code->reformate code) in idea to reformat the code below, and then look at the Code menu to find a feature that feels best for you. Submit, plus your own study number watermark.
public class Codestandard {
public static void Main (String [] args) {
StringBuffer buffer = new StringBuffer ();
Buffer.append (' S ');
Buffer.append ("Tringbuffer");
System.out.println (Buffer.charat (1));
System.out.println (Buffer.capacity ());
System.out.println (Buffer.indexof ("Tring"));
System.out.println ("buffer =" + buffer.tostring ());
if (buffer.capacity () <20)
Buffer.append ("1234567");
for (int i=0; i<buffer.length (); i++)
System.out.println (Buffer.charat (i));
}
}
Run
Before modification
After modification
I think the auto lendent Lines function in the Code menu is very useful for auto Indent function
Experimental three agile development and XP practice-2
Add your own learning partner to your project in the code cloud, confirm that your partner's project is on your own, download the complex code for your partner experiment two, add not less than three JUnit unit test cases, and then git add after the test is successful. Git commit-m "Learn to add content"; git push;
Submit a partner project git log, containing the above git commit information, and add your own watermark information.
Run
You have uploaded the changes to your partner's code cloud:
- Experimental three agile development and XP practice-3
Experimental three agile Development and XP practice http://www.cnblogs.com/rocedu/p/4795776.html, Eclipse content replaced by idea
Complete the refactoring exercise, download your partner's code, make at least three refactoring, commit the refactoring code, and add your own number watermark. Submit a link to your partner's code cloud project.
Partner's Code Cloud link
https://gitee.com/BESTI-IS-JAVA-2018/20165337
- Experimental three agile development and XP practice-4
Refer to Http://www.cnblogs.com/rocedu/p/6683948.html to complete the learning of Java cryptography related content in pairs, combining refactoring, git, and code standards.
Submit the learning Result Code cloud link and the representative result, must have the student number watermark.
Run
- Experimental thoughts, through this experiment let me have a deeper understanding of Java, the understanding of Java, especially the content of refactoring and cryptography, let us with the classroom learning practice, very good
Step time-consuming percentage
Demand Analysis 10% min
Design 40min 40%
Code implementation 40min 40%
Testing and Analysis 20min 20%
2017-2018-2 20165303 Experiment Report of Java object-oriented programming