---
title: "Panda Codes (@pandacode) | Hashnode"
description: "Six fingers make for faster coding. Read the latest articles by Panda Codes on Hashnode."
url: "https://hashnode.com/@pandacode"
---

@pandacode

# Panda Codes

@pandacode · Joined July 2022

Six fingers make for faster coding

### [In Defense of Simple Lodash Functions](https://panda-code.hashnode.dev/in-defense-of-simple-lodash-functions?utm_source=hashnode&utm_medium=feed)

"Hey, dumb question," the new guy said to me, "Why would you use a library for 'isString'? It's not really more readable"."I'm not sure what you mean," I replied. I hadn't even looked away from my screen yet."It seems like a very easy thing to check....

2 min read · [panda-code.hashnode.dev](https://panda-code.hashnode.dev/in-defense-of-simple-lodash-functions?utm_source=hashnode&utm_medium=feed)

[Jan 14, 2024](https://hashnode.com/posts/in-defense-of-simple-lodash-functions/65a44f21c8a8bab6ec802b83)

### [Symfony: Injecting all the Classes from a Folder](https://panda-code.hashnode.dev/symfony-injecting-all-the-classes-from-a-folder?utm_source=hashnode&utm_medium=feed)

This started out as a question about a tool that supports plugins. How can you just automatically inject all the classes in the plug-ins folder? When really a better question would have been How can Symfony's dependency injection automatically give ...

2 min read · [panda-code.hashnode.dev](https://panda-code.hashnode.dev/symfony-injecting-all-the-classes-from-a-folder?utm_source=hashnode&utm_medium=feed)

[Aug 30, 2022](https://hashnode.com/posts/symfony-injecting-all-the-classes-from-a-folder/630e536056df9e8e50256e0b)

### [Frailty, thy name is TypeScript](https://panda-code.hashnode.dev/frailty-thy-name-is-typescript?utm_source=hashnode&utm_medium=feed)

I have a growing love-hate relationship with TypeScript. I'm in favor of strongly-typed languages, they can save you a lot of grief, and they (typically) make the code easier to read for the next guy. Even if the "next guy" is just you a year later. ...

2 min read · [panda-code.hashnode.dev](https://panda-code.hashnode.dev/frailty-thy-name-is-typescript?utm_source=hashnode&utm_medium=feed)

[Aug 9, 2022](https://hashnode.com/posts/frailty-thy-name-is-typescript/62f2d0a5a56ed86b41c68054)

### [Move the cursor to the END of your ContentEditable](https://panda-code.hashnode.dev/move-the-cursor-to-the-end-of-your-contenteditable?utm_source=hashnode&utm_medium=feed)

I needed to automatically focus a contenteditable div after the user had been granted permission to make edits - that part was pretty easy, however the cursor ends up at the start of the text in the div. Unacceptable! I did some googling and the most...

1 min read · [panda-code.hashnode.dev](https://panda-code.hashnode.dev/move-the-cursor-to-the-end-of-your-contenteditable?utm_source=hashnode&utm_medium=feed)

[Aug 3, 2022](https://hashnode.com/posts/move-the-cursor-to-the-end-of-your-contenteditable/62eab30f92b7fd0a78c3728b)

### [Previous Sibling Selector in CSS](https://panda-code.hashnode.dev/previous-sibling-selector-in-css?utm_source=hashnode&utm_medium=feed)

Sorry, no previous sibling selector exists in CSS; so in pure CSS you can't target the sibling before an empty element - or can you? Rearrange the display order using flexbox and the order property and then use the next-sibling selector. Technically ...

2 min read · [panda-code.hashnode.dev](https://panda-code.hashnode.dev/previous-sibling-selector-in-css?utm_source=hashnode&utm_medium=feed)

[Jul 27, 2022](https://hashnode.com/posts/previous-sibling-selector-in-css/62e0c0b938585e9ea5177744)
