-
Updated
May 23, 2021 - JavaScript
clean-code
Here are 1,257 public repositories matching this topic...
-
Updated
May 27, 2021 - C#
-
Updated
May 20, 2021 - C#
-
Updated
May 24, 2021 - TypeScript
-
Updated
Jun 3, 2021 - C#
-
Updated
Jun 18, 2019 - JavaScript
Let's add MinVer and on successful builds generate a release.
-
Updated
Dec 4, 2019 - Java
-
Updated
Jun 10, 2021 - C#
Better Ansi Output
Description
We've just started using phpmd in an already established codebase and the ANSI output was just confusing to read or to understand what belongs to what.
It's unclear for users who took the first look at the output that it's divided like
File:
-----
Findings
But instead of being read as
-----
Findings
File:
-----
Adding a blank like certainly would
-
Updated
May 23, 2021 - JavaScript
Why not Hilt?
Why don't you use Hilt? Google says
Dagger and Hilt code can coexist in the same codebase. However, in most cases it is best to use Hilt to manage all of your usage of Dagger on Android.
-
Updated
Feb 11, 2021
-
Updated
Feb 22, 2021 - C#
-
Updated
May 10, 2021 - Kotlin
-
Updated
Jun 16, 2021 - Swift
-
Updated
Oct 4, 2020 - JavaScript
-
Updated
May 16, 2021
-
Updated
May 28, 2021 - C#
-
Updated
Jan 31, 2021
Blocked By: wix/vscode-glean#97
Example:
class Foo extends Component {
render() {
return (<div>
{this.props.foo.map((bar) => <div>{bar.x}</div>)}
</div>)
}
}
Current:
const Foo = props => {
const foo = useRef();
const x = useRef();
return <div>
{foo.current.map(bar => <div>{x.current}</div>)}
-
Updated
Jun 12, 2021 - Dart
-
Updated
May 18, 2021 - PHP
-
Updated
Feb 8, 2021
-
Updated
Oct 15, 2019 - Swift
Expression Guard
An Expression-based Guard could be used to provide flexibility and could cover any case not already taken care of by the library, without the need to write your own guard clause method.
public static T AgainstExpression<T>([JetBrainsNotNull] this IGuardClause<T> guardClause, [JetBrainsNotNull] Func<T, bool> func, [JetBrainsNotNull] string message) where T : struct
{
if (func(gu
-
Updated
Jan 2, 2021
Improve this page
Add a description, image, and links to the clean-code topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the clean-code topic, visit your repo's landing page and select "manage topics."
https://github.com/kgrzybek/modular-monolith-with-ddd/blob/54d209639e501301e879aa0d0a84c9ea49e4689e/src/Modules/Meetings/Domain/Meetings/Rules/MeetingAttendeesLimitMustBeGreaterThanGuestsLimitRule.cs#L1-L21
I believe the comparison operator used in the
IsBroken
method is wrong because the rule is checking that meeting attendees limit must be greater than guests limit.