Skip to content

Instantly share code, notes, and snippets.

View tshemsedinov's full-sized avatar
🌍
World ICT Revolution Leader

Timur Shemsedinov tshemsedinov

🌍
World ICT Revolution Leader
View GitHub Profile
@tshemsedinov
tshemsedinov / notOptimal.js
Last active December 8, 2021 08:59
Bad code example for students
'use strict';
let movePoints = (offset, points) => {
points.forEach((point) => {
const type = typeof point;
if (type === 'object') {
point.x += offset.x;
point.y += offset.y;
} else {
let i = points.indexOf(point);
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active June 19, 2024 19:42
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example