Guidewire Best Practices Exam study guide with Complete Solutions
Guidewire Best Practices Exam study guide with Complete Solutions Avoid using internal path for your classes - Correct Answer wire.* should be avoided. These can always be potentially changed or replaced during an upgrade. When referencing typecodes, use the static property on the typelist class instead of the string representation - Correct Answer Use TC_TYPECODE instead of "typecode", example: LossCause.TC_REAREND instead of "rearend" Use the text for logical operators instead of the symbols - Correct Answer Use "and","or", and "not" instead of "&&", "||", and "!" Code placement - Correct Answer 1) Avoid placing code within the CODE tab of a PCF. Create a UI helper class instead 2) Avoid extending entity enhancements with code supporting UI operations Avoid using deprecated classes and methods - Correct Answer Guidewire will eventually remove deprecated classes and methods. Turn on and run Studio Inspections - Correct Answer These analyze configuration resources Use whitespace effectively - Correct Answer Add spaces around operators Do not add spaces between parentheses and operators Indent logical blocks of code by two spaces only Add a blank line after code blocks Add two blank lines after methods, including the last method in a class Comments and Annotations - Correct Answer Document new classes and functions with Javadoc-style comments Use single-line comments within functions and methods when you need to clarify the intent of the code
Written for
- Institution
- Guid wire Associate
- Course
- Guid wire Associate
Document information
- Uploaded on
- October 20, 2023
- Number of pages
- 22
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
avoid using internal path for your classes
-
when referencing typecodes use the static propert
-
use the text for logical operators instead of the
-
avoid using deprecated classes and methods