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.

34
Articles
0
Likes
133
Views
0
Comments
Recent Articles

Latest from Code of Duty

34 recent articles
Code of Duty
Code of Duty
May 26, 2026 · Industry Insights

Why Developers Pay for AI Coding Tokens: Gaining Hours and Confidence

The article examines why many programmers voluntarily purchase AI coding tool tokens, arguing that the real value lies in saving time, reducing the frustration of being stuck, and gaining a more certain, efficient workflow despite the lack of corporate reimbursement.

AI codingcoding toolsdeveloper efficiency
0 likes · 6 min read
Why Developers Pay for AI Coding Tokens: Gaining Hours and Confidence
Code of Duty
Code of Duty
May 26, 2026 · Fundamentals

Git Reset Explained: When to Use --soft, --mixed, and --hard

This guide walks through Git's reset command, detailing the differences between --soft, --mixed, and --hard modes, when each is appropriate, and how they affect commits, the index, and the working tree for commits that haven't been pushed.

Commitgitgit reset
0 likes · 5 min read
Git Reset Explained: When to Use --soft, --mixed, and --hard
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 assistantCLICodex
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.

Best Practicesbranch namingconflict resolution
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 hallucinationAgentAttention
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.

CommitHEADbranching
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.

Debuggingcode historycommit messages
0 likes · 10 min read
Beyond the Log: How to Read the Story Behind Your Code with Git Log