ExamGecko
Question list
Search
Search

Question 60 - CBDE discussion

Report
Export

According to the official Style Guide:

A.
you should capitalize function names, events and contract names, to avoid confusion with JavaScript. You should use Tabs to indentation and a maximum of 80 characters per line.
Answers
A.
you should capitalize function names, events and contract names, to avoid confusion with JavaScript. You should use Tabs to indentation and a maximum of 80 characters per line.
B.
contract names should be capitalized, while functions should be mixedCase. You should use 4 spaces as indentation and a maximum of 79 (or 99) characters per line.
Answers
B.
contract names should be capitalized, while functions should be mixedCase. You should use 4 spaces as indentation and a maximum of 79 (or 99) characters per line.
C.
contract should be mixedCase, as well as function names. Events should be capitalized. 2 spaces should be used as indentation and a maximum of 120 characters per line.
Answers
C.
contract should be mixedCase, as well as function names. Events should be capitalized. 2 spaces should be used as indentation and a maximum of 120 characters per line.
Suggested answer: B
asked 16/09/2024
Shariifa DEME
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first