PHP String Class 5: Replacing & Removing Characters - novice

Опубликовано: 22 Апрель 2026
на канале: XD with Josh Bruce
162
1

Replacing characters within the string using `replaceSubrange`. Removing specific characters based on position. And other similar behavior. Replace the implementation of `insert` to use `replaceSubrange`...if that makes sense.

Why TDD?
Safety net for refactoring.
Safety net for re-engineering.

Why NOT TDD?
Prove correctness or completeness.

These are unscripted, unrehearsed, mostly unedited, and with minimal prep-work. A more raw look at software development. This was started with a new user on my laptop; so, local settings and shortcuts are not present and will be introduced as we go. Basically, imagine pair or mob programming from a fresh laptop and a pretty big time delay.