<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/vf0mlw9uq" -->

---
title: Episode 1: I Was a Junior Developer and I Must Be Stopped
description: A humorous retrospective on a poorly written Laravel function called `multipleUpdate` that somehow survived in production. The author dissects their own...
canonical: https://daily.dev/posts/vf0mlw9uq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Episode 1: I Was a Junior Developer and I Must Be Stopped | daily.dev
og:description: A humorous retrospective on a poorly written Laravel function called `multipleUpdate` that somehow survived in production. The author dissects their own...
og:url: https://daily.dev/posts/vf0mlw9uq
og:image: https://api.daily.dev/og/posts/VF0mlW9uQ.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Episode 1: I Was a Junior Developer and I Must Be Stopped

**[PHP Dev](https://daily.dev/sources/phpdev)** · [@damienseguy](https://daily.dev/damienseguy) · 4 upvotes · 0 comments

## Summary

A humorous retrospective on a poorly written Laravel function called `multipleUpdate` that somehow survived in production. The author dissects their own junior-era code crime by crime: cryptic variable names, redundant `?? null` assignments, a pointless three-loop round-trip that reconstructs the original array, and N*2 database queries with no transaction safety — all while Laravel's built-in `updateOrCreate()` sat unused. Despite every flaw, the function still works in production, which the author finds both infuriating and oddly comforting.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/adamthedeveloper/episode-1-i-was-a-junior-developer-and-i-must-be-stopped-c0m>

## Similar posts on daily.dev

- [A Random Article](https://daily.dev/posts/a-random-article-kigeqrvkp) · The Daily WTF · 0 upvotes · 2 comments
- [Refactoring Legacy Laravel Code in Small, Safe Steps \(With Real Examples\)](https://daily.dev/posts/refactoring-legacy-laravel-code-in-small-safe-steps-with-real-examples--wsiyki28e) · CodeCraft Diary · 6 upvotes · 1 comments
- [Three Minutes](https://daily.dev/posts/three-minutes-b6vhetn1u) · The Daily WTF · 29 upvotes · 4 comments

---

Tags: [#career](https://daily.dev/tags/career), [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel), [#code-review](https://daily.dev/tags/code-review)

[View this post on daily.dev](https://daily.dev/posts/vf0mlw9uq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/vf0mlw9uq","headline":"Episode 1: I Was a Junior Developer and I Must Be Stopped","text":"Shared: Episode 1: I Was a Junior Developer and I Must Be Stopped","url":"https://daily.dev/posts/vf0mlw9uq","datePublished":"2026-04-02T06:35:04.001Z","dateModified":"2026-04-02T06:36:17.715Z","author":{"@type":"Person","name":"Damien seguy","url":"https://daily.dev/damienseguy","image":"https://media.daily.dev/image/upload/s--nPbjKqol--/f_auto,q_auto/v1698422671/avatars/avatar_G85JhYcDxAg024Omc8Rlp","description":"PHP developer passionate about deep language knowledge, testing, static analysis, and sustainable it","worksFor":{"@type":"Organization","name":"Exakat","logo":"https://media.daily.dev/image/upload/s--ibtl6fze--/f_auto/v1749051132/companies/exakat"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":43030}},"image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/zybKU7qfZ"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/phpdev","name":"PHP Dev"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PHP Dev","item":"https://daily.dev/squads/phpdev"},{"@type":"ListItem","position":3,"name":"Episode 1: I Was a Junior Developer and I Must Be Stopped"}]}
```

