[
Home
/
Overboard
/
Stats
]
[
Suggestions and Feedback
/
Off-topic
]
[
Original Content
/
MetaOC
]
[
very cool website
/
dead internet theory
]
🔍
[
Search
]
[
Register
/
Settings
/
Log in
]
Markup /oc/9
Comment
Introduction and retention of code. Most of changes are additive which means I got the design mostly right from the beginning and could focus on adding features instead of writing and rewriting the same lines of code all the time. The codebase is quite small for this kind of a project, slightly above 26k LOC. November and February were DNB months because I was busy with SNCA, also the progress accelerated somewhat in April because I finally started using Codex to burn through the backlog, but that was only possible because all the foundational infrastructural work around session management, authorization, database caching, templating etc. had already been done and what was left was adding some moderation buttons or administration endpoints. For instance, account deletion means that for each of deleted accounts the threads, posts, post edits, and reports have to be either detached from the account (which just means setting the user ID to NULL) or deleted. All invites, roles, notes, bookmarks, and sessions have be deleted and in case of moderators, wordfilters, bans, banned files, news items, and notes have to be detached. The exact kind of a repetitive work that doesn't have to be done manually. More detailed stats: ``` ─────────────────────────────────────────────────────────────────────────────── Language Files Lines Blanks Comments Code Complexity ─────────────────────────────────────────────────────────────────────────────── Scala 143 21672 1972 402 19298 1601 (ULOC) 12645 ------------------------------------------------------------------------------- SVG 10 10 0 0 10 0 (ULOC) 10 ------------------------------------------------------------------------------- JavaScript 4 1686 257 70 1359 223 (ULOC) 1109 ------------------------------------------------------------------------------- SQL 4 644 90 0 554 0 (ULOC) 355 ------------------------------------------------------------------------------- CSS 3 1891 179 13 1699 0 (ULOC) 1049 ------------------------------------------------------------------------------- Markdown 2 411 88 0 323 0 (ULOC) 250 ------------------------------------------------------------------------------- License 1 661 117 0 544 0 (ULOC) 545 ------------------------------------------------------------------------------- Properties File 1 1 0 0 1 0 (ULOC) 1 ------------------------------------------------------------------------------- Shell 1 3 1 1 1 2 (ULOC) 3 ------------------------------------------------------------------------------- XML 1 12 1 0 11 0 (ULOC) 12 ------------------------------------------------------------------------------- YAML 1 16 1 0 15 0 (ULOC) 16 ─────────────────────────────────────────────────────────────────────────────── Total 171 27007 2706 486 23815 1826 ─────────────────────────────────────────────────────────────────────────────── Unique Lines of Code (ULOC) 15963 ─────────────────────────────────────────────────────────────────────────────── ```