Guidewire Best Practices Exam study guide
Guidewire Best Practices Exam study guide Avoid using internal paths for your classes - ANS wire.* should be avoided. These can always be potentially changed or replaced during an upgrade. When referencing type codes, use the static property on the typelist class instead of the string representation - ANS Use TC_TYPECODE instead of "typecode", example: LossCause.TC_REAREND instead of "rear end" Use the text for logical operators instead of the symbols - ANS Use "and","or", and "not" instead of "&&", "||", and "!" Code placement - ANS 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 - ANS Guidewire will eventually remove deprecated classes and methods. Turn on and run Studio Inspections - ANS These analyze configuration resources Use whitespace effectively - ANS 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 - ANS 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
Document information
- Uploaded on
- March 15, 2024
- Number of pages
- 17
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers