Code of Duty
Author

Code of Duty

"Code of Duty" — Every line of code has its own mission. We avoid shortcuts and quick fixes, focusing on authentic coding reflections and the joys and challenges of technical growth. The journey of learning matters more than any destination. Join us as we humbly forge ahead in the world of code.

32
Articles
0
Likes
5
Views
0
Comments
Recent Articles

Latest from Code of Duty

32 recent articles
Code of Duty
Code of Duty
May 24, 2026 · Artificial Intelligence

Getting Started with Codex: How an AI Partner Can Read Code, Fix Bugs, and Add Features

This guide walks beginners through installing and configuring OpenAI's Codex, explains its CLI and cloud modes, compares permission levels, demonstrates effective prompt patterns, outlines a step‑by‑step workflow, and highlights common pitfalls to help developers use the AI assistant safely and productively.

AI programming assistantCLICloud
0 likes · 8 min read
Getting Started with Codex: How an AI Partner Can Read Code, Fix Bugs, and Add Features
Code of Duty
Code of Duty
May 24, 2026 · Fundamentals

Why Merge Conflicts Aren’t Scary—Messy Merges Are the Real Problem

The article explains that merge conflicts themselves are harmless, but chaotic merging practices cause trouble, and it walks through how Git detects conflicts, what the conflict markers mean, and practical habits like frequent pulls, short‑lived feature branches, clear naming, and careful diff review to avoid them.

Mergebest practicesbranch naming
0 likes · 4 min read
Why Merge Conflicts Aren’t Scary—Messy Merges Are the Real Problem
Code of Duty
Code of Duty
May 20, 2026 · Artificial Intelligence

Why Large Language Models Aren’t Magic: The Simple AI Principle Everyone Can Understand

The article demystifies large language models by explaining their core task of next‑token prediction, tokenization, vector semantics, Transformer attention, massive training, hallucination risks, prompt design, and tool integration, showing how these mechanisms work together and why verification is essential.

AI hallucinationLarge language modelsTransformer
0 likes · 14 min read
Why Large Language Models Aren’t Magic: The Simple AI Principle Everyone Can Understand
Code of Duty
Code of Duty
May 18, 2026 · Artificial Intelligence

Codex vs Cursor vs Claude Code: How to Choose the Right AI Coding Tool

This article compares three leading AI coding assistants—Codex, Cursor, and Claude Code—by examining their workflows, strengths, limitations, and ideal user scenarios, and provides practical guidance on selecting the tool that best fits personal, team, or enterprise development needs.

AI codingClaude CodeCodex
0 likes · 14 min read
Codex vs Cursor vs Claude Code: How to Choose the Right AI Coding Tool
Code of Duty
Code of Duty
May 17, 2026 · Fundamentals

Why Git Branches Switch Instantly: Understanding Branches as Pointers

The article explains that Git branches are lightweight pointers to commits, not full copies of the project, which makes switching, merging, and rebasing fast and cheap; it demystifies HEAD, merge, and rebase by walking through concrete commit graphs and examples.

BranchingCommitHEAD
0 likes · 9 min read
Why Git Branches Switch Instantly: Understanding Branches as Pointers
Code of Duty
Code of Duty
May 17, 2026 · Fundamentals

Beyond the Log: How to Read the Story Behind Your Code with Git Log

This guide explains why Git Log is more than a list of commits, showing how to use it as a time‑machine to trace bugs, understand design decisions, spot risky code, and write meaningful commit messages, with practical command examples and real‑world scenarios.

code historycommit messagesdebugging
0 likes · 10 min read
Beyond the Log: How to Read the Story Behind Your Code with Git Log
Code of Duty
Code of Duty
May 14, 2026 · Fundamentals

Stop Misusing .gitignore: Rules, Pitfalls, and Best Practices Explained

This guide explains what .gitignore does, shows common syntax and examples, highlights frequent mistakes such as ignoring already‑tracked or sensitive files, and provides practical best‑practice recommendations and command‑line tools to keep repositories clean and secure.

.gitignorebest practicesrepository hygiene
0 likes · 12 min read
Stop Misusing .gitignore: Rules, Pitfalls, and Best Practices Explained
Code of Duty
Code of Duty
May 14, 2026 · Fundamentals

Master Git in 5 Minutes: Install and Make Your First Commit

This guide walks beginners through installing Git, configuring user identity, initializing a repository, adding files, and completing the first commit, while also explaining core concepts, common pitfalls, and the minimal workflow in a concise five‑minute tutorial.

beginner tutorialcommand linefirst commit
0 likes · 7 min read
Master Git in 5 Minutes: Install and Make Your First Commit