RSSAmplifier

soc.me · Jun 19, 2018

Library Design: Naming Conventions – Part 1: Creation

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Function Name Code Example Explanation – List(1, 2, 3) Array(12.3, 45.6) Set("a", "b", "c") primary way of construction resulting instance contains provided arguments verbatim of(val1, ...) Person.of(name, age) secondary way of construction resulting instance contains provided arguments verbatim result type might use Option or Result types to encode failures from(val) Person.from(personEntity)…

Read on /languages/naming-conventions-creation.html

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.