Comments (3)
I use snake_case through the project... I feel it makes it easier to distinct from functions, where I use camelCase, PascalCase for classes.
For example:
const use_state = true;
const useState = (value: bollean): void => { console.log("do some state change"); };
but if the majority is on board with me switching from snake_case to camelCase, I am open to do so.
from fusliez-notes.
I feel it makes it easier to distinct from functions
I would suggest that we start function names with a verb. This excludes React function components, which I would suggest be in PascalCase.
const updateGameScore = (...) => { ... };
const ProgressBar: FunctionComponent<...> = (...) => { ... };
PascalCase for classes
I agree that we should stick with PascalCase for classes.
from fusliez-notes.
yeah React Component or classes normally uses PascalCase.
functions use camelCase and naming should be an action
and JS's go-to naming convention uses camelCase instead of snake_case
from fusliez-notes.
Related Issues (20)
- Let there be a blank map for each round HOT 1
- Corpse proliferates due to status changes
- The players on the map looks big in mobile devices HOT 2
- Dead body glitch HOT 4
- Video/Gif explaining or showing off all features.
- Dragging characters, top most character takes priority.
- The crew mate icon is now very small. HOT 9
- Noob issue: add compiled release HOT 1
- Skeld's locations are broken
- Track Emergency Button Usage HOT 6
- Fix the aspect ratio of the map. HOT 2
- Skeld room names in wrong place HOT 2
- Don't require all the maps for initial startup HOT 2
- Don't have separate images for the map, cameras, and vents HOT 2
- Toggle to disable scroll wheel or drag on the map HOT 3
- A way to "Reset Sections" but don't put unused players to Unknown HOT 3
- want a new color added HOT 1
- New colors don't show up in the color wheel HOT 1
- White Screen HOT 2
- New Map (Fungle)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fusliez-notes.