This is a list of stuff that the average software developer does from week to week
- Code design
- Refactoring
- Algorithms
- Profiling
- Code reviews
- Building frameworks
#!/bin/bash | |
# This script finds the files with the most changes in a Git repository, tracking renames and excluding binary files and files with zero changes | |
# Check for the presence of a Git repository | |
if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then | |
echo "This script must be run inside a Git repository." | |
exit 1 | |
fi |
[*.{cs,vb}] | |
dotnet_diagnostic.CA1062.severity = none | |
# IDE0022: Use block body for method | |
csharp_style_expression_bodied_methods = true | |
# IDE0032: Use auto property | |
dotnet_style_prefer_auto_properties = true | |
#CSharpier Incompatible Rules |
import 'package:flutter/material.dart'; | |
import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
void main() => runApp(const ProviderScope(child: MyApp())); | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) => const MaterialApp( |
import 'package:flutter/material.dart'; | |
import 'package:rxdart/rxdart.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) => const MaterialApp( |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) => const MaterialApp( | |
debugShowCheckedModeBanner: false, |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) => const MaterialApp( | |
debugShowCheckedModeBanner: false, |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
// Declares the SizedBox as a named constant | |
const SizedBox mySpacer = SizedBox(height: 20); | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); |
import 'dart:async'; | |
import 'dart:convert'; | |
import 'dart:io'; | |
import 'package:flutter/material.dart'; | |
void main() => HttpOverrides.runWithHttpOverrides( | |
() => runApp( | |
const MainApp(), | |
), | |
FakeHttpOverrides(), |
A checklist for modern development practices that improve the lives of people in a software development team