CodesAway / CodesAway/DYCE

Write grammar to allow dictation and simplify lookup of info

Open
#2 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Chain methods, such as stream, using "then".

For example, "stream accounts **then** map to string **then** collect to list".

```
accounts.stream()
.map(Object::toString)
.collect(Collectors.toList());
```

The goal is to use a simple grammar and focus on code practices to simplify code.

For example, although the following is valid code, it's not the most readable (and would be hard to dictate or describe)

```
doSomething(new Type("abc"), new BigDecimal ("1.23"));
```

Instead, it's easier to read and dictate the code by breaking it up into variables and passing the variables.

```
Type accountType = new Type("abc");
BigDecimal balance = new BigDecimal ("1.23");
doSomething(accountType, balance);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.