clean-code
Here are 782 public repositories matching this topic...
The example uses LocalDb
as development which is only a valid option on Windows. Using SQLite
as development database will work on all platforms.
-
Updated
Jan 23, 2020 - C#
Returns:
Invalid config file: Unexpected token } in JSON at position 210
for
{
"threshold": 30,
"identifiers": true,
"literals": true,
"color": true,
"minInstances": 2,
"ignore": "test|spec|mock",
"reporter": "json",
"truncate": 100,
}
should be:
{
"threshold": 30,
"identifiers": true,
"literals": true,
"color": true,
"minI
-
Updated
May 20, 2020 - TypeScript
-
Updated
May 3, 2020 - C#
-
Updated
Dec 4, 2019 - Java
I think it would be useful to add a mention about Async streams (IAsyncEnumerable) when a developer wants to tackle 'Handle streams of data' problem.
- PHPMD version: 2.8.1
- PHP Version: 7.4.1
- Installation type: composer
- Operating System / Distribution & Version: Debian Buster
Current Behavior
The violation UndefinedVariable
does not contain externalInfoUrl
in its element like this:
<pmd version="@project.version@" timestamp="2020-01-08T10:31:06+00:00">
<file name="/tmp/test.php">
<violation beginline="
-
Updated
May 23, 2020 - C#
I'd like to simplify Dependency Injection of Modules that fallback on each other, For instance, the Entity Framework is replaced by the [In Memory Fakes](https://github.com/ivanpaulovich/clean-architecture-manga/blob/master/src/WebApi/DependencyInjection/InMe
-
Updated
Dec 6, 2019
when i click on send messege button then it's working on double press on button .first button hide the keyboard and second send the text from text field. how i can send it on single click. this is my source code.
<ScrollView style={{backgroundColor: '#F4F4F4'}} onScroll={this.scroll}>
{data}
<Vie
Running current code for Router section results in following error:
Cannot modify header information - headers already sent
It is caused by echo
statements in route resolvers and can be fixed if resolvers return content instead.
As it is, one cannot finish this section without an exception page. Is this b
Environment
- Visual Studio version: [2019 Community]
- CodeMaid version: [11.1]
Description
Installation breaks all custom entries in the context menu "Other Context Menus | Easy MDI Document Window"
Steps to recreate
- Call Customize... (from the menu or toolbar)
- Add a custom item into "Other Context Menus | Easy MDI Document Window"
- Install CodeMaid
- Open a fil
-
Updated
May 1, 2020 - Kotlin
-
Updated
May 16, 2020 - Swift
Method names should say what they do
Poorly named methods add to the code reviewer's cognitive load at best, and mislead the code reviewer at worst. Strive to capture** the the
**precise intent when naming methods.
It would be great to have an introduction for each topic so I can understand why that topic is relevant e why I should spend time studying it.
-
Updated
May 4, 2020 - JavaScript
-
Updated
Oct 8, 2019 - PHP
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
Oct 15, 2019 - Swift
Description
I wanted to request that you migrate your code from Fabric to Firebase.
Basic Information
- Device type: Android
- OS version:
- App version:
-
Updated
May 19, 2020
-
Updated
May 29, 2018 - Shell
-
Updated
May 23, 2020 - C#
-
Updated
Nov 16, 2019 - JavaScript
-
Updated
Oct 4, 2019 - Jupyter Notebook
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."
It says there is good resources and the first title on the landing page says that those practices are bad and should not be used any more. Maybe find something else to link to make that point?