DEV Community

Cover image for From Journalism to Software Development: Learning to Think Like an Engineer
user49324809
user49324809

Posted on Edited on

From Journalism to Software Development: Learning to Think Like an Engineer

My educational background is in journalism, and I have also completed professional retraining in full-stack development.

I have practical experience with backend and frontend development, web layout, and SEO. My background in journalism helps me explain complicated concepts through simple, everyday examples.

One of the things I enjoy about learning programming is discovering why software systems are designed the way they are. For example, understanding why a browser-based frontend should not directly access a database using privileged credentials.

In this blog, I want to share my experiments, mistakes, discoveries, and progress in computer science and software development.

I'm still learning, and I believe the process of understanding something can be just as interesting as the final result.

AI assistance was used to translate and edit this introduction based on my own notes.

Top comments (4)

Collapse
 
abhi964644 profile image
Abhishek ab •

"My background in journalism helps me explain complicated concepts through simple, everyday examples" is a strong starting point for a dev blog. The browser-should-not-hold-database-credentials example is exactly that kind of explanation. Which concept has been hardest to turn into an everyday example so far?

Collapse
 
user49324809 profile image
user49324809 •

Thank you! One of the hardest concepts for me to explain through everyday examples has been React's component identity and state preservation.

I initially confused an element's position with its identity. Eventually, I found that comparing React keys to product IDs and primary keys in relational databases helped me understand the difference.

I've actually just published an article about this, including six browser tests comparing different key strategies.

dev.to/user49324809/why-react-need...

I'd be interested to hear what you think!

Collapse
 
abhi964644 profile image
Abhishek ab •

Read it. The receipt analogy is the one I would keep: "remove the first item and the remaining line numbers change, even though the products themselves are still the same" is exactly the mental bug. Position feels like identity because both are numbers in a row.

And running it as six browser tests instead of asserting it from the docs is the right instinct. The moment a typed comment jumps to the wrong row teaches reconciliation faster than any diagram. The product-ID comparison from your comment is accurate, but the receipt is what a beginner will remember.

Thread Thread
 
user49324809 profile image
user49324809 •

Thank you for such thoughtful feedback! The receipt analogy actually helped me understand the distinction between position and identity myself.

I find that running small experiments often reveals things I miss when simply reading documentation. I'm planning to explore more programming concepts this way, combining practical tests with everyday analogies.

I'm glad you found this approach useful!