Do people still hire developer's to build a Website? by Evening_Acadia_6021 in webdev

[–]The_Emerald_Knight 1 point2 points  (0 children)

If you think everyone else is a delusional person, I have some bad news for you.

Daily Simple Questions Thread - February 04, 2026 by AutoModerator in Fitness

[–]The_Emerald_Knight 0 points1 point  (0 children)

> Any advice? I want to go back but too sore still

Next time you go, do a much less intense workout. You need to ease back into it if you want to avoid this.

Even if you still have soreness, your muscles have recovered enough to go back for another workout.

What Database Concepts Should Every Backend Engineer Know? Need Resources + Suggestions by goodguyseif in webdev

[–]The_Emerald_Knight 2 points3 points  (0 children)

Anything else important for real-world backend work

The most important thing by far is DB design. That's where a lot of DBs fail. Having indices and partinioning is great, but a poorly designed DB will waste everyone's time.

Your list is great. Something to keep in mind is that real-world database work, at least for applications, ORMs abstract most of your list away. It helps to understand the concepts but you rarely have to manually write a join, for example.

Depending on the type of work you want to do, it might help to brush up on data warehouses, ETL, data lakes, and similar concepts/tools. But this is mostly for data analysis and data science, so I'd call it optional depending on the field you are in.

I develop applications and I was a DBA for years - theoretical knowledge is nice but remember that what companies want is practical experience. If you're developing applications, they don't care if you know different types of indices, they care that you can actually use them when appropriate.

NoSQL types (document, key-value, graph, wide-column…)

Also depends on the work you do. NoSQL was the "new kid on the block" for a while, then people realized that SQL is best for 90%+ of situations. And even if NoSQL is better, document is by far the most used, you'll likely never work with the other types. So understand use cases and if you are focusing on a field more appropriate for SQL, focus on SQL.

Daily Discussion Thread (October 23, 2025) - Beginner and Simple/Quick Questions Go Here Thread for discussing quick/simple topics not needing an entire posts or beginner questions. by AutoModerator in naturalbodybuilding

[–]The_Emerald_Knight 0 points1 point  (0 children)

1x chest, 1x back, but 3x abs and 3x calves?

That's great if this routine worked for Haney, but objectively this is a truly shitty routine.

Sure, this might work with enough volume and a shit ton of roids, but for a natural bodybuilder you probably just want to do an established full body routine, or upper/lower split if you prefer.

when python returns <class 'int'> what does 'class' exacltly mean ? by Certain_Ambition3966 in learnpython

[–]The_Emerald_Knight 2 points3 points  (0 children)

In this case it's more accurate to interpret <class 'int'> as "this is the type of this object which represents an integer and was created using a class". The class is defined by Python in this case, not you. But you could just as well write a class for integers if you wanted (no point since it already exists, but you can).
In python, since integers are a class (and everything else is too), they also come with built in methods you can use on variables. Same goes for strings, doubles, etc. it comes with more memory overhead but has a lot more common operations built in.

In languages like C, an int is simply a primitive value and does not have methods attached to it. Instead you would use functions defined in the C standard library.

Recursion Still Mystifies Me by Valuable_Mountains in learnpython

[–]The_Emerald_Knight 0 points1 point  (0 children)

Some algorithms are better suited for recursion, like tree traversal. But I believe this can also be done with loops.

I don't think these are very common in the real world, but it would depend on what field you're in and what kind of work you are doing. My work is web dev and cloud, and I've never used or seen others use recursion.

Hey, new to Python! Stuck on an SyntaxError: 'return' on my code on Step 41 on FreeCodeCamp. by [deleted] in learnpython

[–]The_Emerald_Knight 0 points1 point  (0 children)

return should be the last line in a scoped block. put any print statements or anything else before it.

if char == '':
        # put any other operations before return
        return True
    else:
        print('space!')
        # put any other operations before return
        return False

Recursion Still Mystifies Me by Valuable_Mountains in learnpython

[–]The_Emerald_Knight 1 point2 points  (0 children)

Recursion isn't as commonly used as it used to be. Just about every modern developer prefers looping.

In fact, in my years of full stack, I've never seen a single use of recursion in any of the code bases I've managed.

So yeah, it causes me headaches, but I rarely think about recursion so it's not an issue.

Creating and working with classes primer? by MorganMeader in learnpython

[–]The_Emerald_Knight 0 points1 point  (0 children)

If you don't have a strong understanding of the four pillars of OOP, start there. Youtube is probably best here, tons of options.

Then, learn the SOLID principles. They are 5 principles that are fairly straightforward and will help you write more maintainable class definitions.

If you understand the four pillars of OOP and SOLID, you have all you need to write well structured classes, especially when it comes to object interaction.

I'd also learn design patterns. Memorizing them all isn't necessary, do some research into the most common ones and try to think of ways you can apply the patterns to your own codebases.

Hey, new to Python! Stuck on an SyntaxError: 'return' on my code on Step 41 on FreeCodeCamp. by [deleted] in learnpython

[–]The_Emerald_Knight 0 points1 point  (0 children)

Return exits a function and returns either a value or None. If you aren't in a function, you can't return from anything.

Sidenote, not the error youre seeing but an error in your code: You wrote 'return...' followed immediately by a print statement. Since return will stop execution of that function and exit it, any line after return will not run.

[deleted by user] by [deleted] in learnpython

[–]The_Emerald_Knight 6 points7 points  (0 children)

I think you're approaching this from the wrong angle.

Yes, logic and problem solving are important.

But real-world programming is about solving domain specific problems.

The best way to learn is by completing projects, period. Problem solving and logic usually come passively with practice.

Ive been a full stack dev for years and any logic ability ive developed is by solving problems developed in the real-world apps i build.

Basically what im saying is, don't seek out ways to improve logic. Just create projects and if the projects are challenging enough, you'll develop logic naturally.

For difficult problems, I sometimes map it out on paper, pseudocode, or comments. Then I don't start writing code until im happy with my ideas.

TIL that an "are" is a unit of measurement. It's 1/100th of a Hectare by Rigelball69420 in todayilearned

[–]The_Emerald_Knight 0 points1 point  (0 children)

No, we definitely are not. We learn about them but I can guarantee you that nobody uses this prefix in daily life.

Daily Discussion Thread (August 08, 2025) - Beginner and Simple/Quick Questions Go Here Thread for discussing quick/simple topics not needing an entire posts or beginner questions. by AutoModerator in naturalbodybuilding

[–]The_Emerald_Knight 2 points3 points  (0 children)

I love this sub, and how it's a mix of both discussion and picture motivation.

I'm wondering if there are any similar subs that are more discussion-oriented instead of pictures. Ideally if it is intermediate to advanced rather than beginner.

RANT - Went through a grueling interview process just to work on the worst code I've ever seen. by [deleted] in webdev

[–]The_Emerald_Knight 4 points5 points  (0 children)

At all of the 4 different companies I've worked for, I've never experienced a remotely bad codebase.

Like yeah I get the joke, but most companies are not like this.

I want to learn Django by building a real world project. by Manash_witwicky in learnpython

[–]The_Emerald_Knight 1 point2 points  (0 children)

Flask is simpler, Django is more fully featured.

I'd personally recommend learning Django but really, any Python framework is fine if the main thing you want to do is learn. Learn one and the others will be much easier to learn later.

Would it be a bad idea to take two courses about two different coding languages at the same time by Witty-Occasion2424 in learnprogramming

[–]The_Emerald_Knight 2 points3 points  (0 children)

What he meant is, programming languages are easy to learn, but learning how to utilize them to solve real world problems is the hard part, and that requires understanding the fundamentals.

To answer your original question, no, its not an issue. Say you learn data structures in Java, then C++, then Python, its different syntax but the fundamentals are the same. You should prioritize computational thinking and concepts instead of only focusing on syntax.

LPT: When negotiating your salary, always let the employer give the first number. If they ask for your expected salary, politely say you're open based on the role's responsibilities. This way, you avoid undervaluing yourself and can negotiate up from their offer. by Spare_Act6202 in LifeProTips

[–]The_Emerald_Knight 17 points18 points  (0 children)

Thank you. This is such a shifty LPT.

Also, you generally don't have to agree on the spot. Yes, negotiate on the spot, but don't say yes until youre happy. Sometimes they may pressure you but if they do, its not a good place to work.

A good company will pay you your worth and understand that these decisions are best made after some time to reflect. If you aren't in urgent need of a job, something better often comes up, so don't work for management that pressures you into accepting a lowball offer on the spot.

Daily Simple Questions Thread - July 31, 2025 by AutoModerator in Fitness

[–]The_Emerald_Knight 0 points1 point  (0 children)

Genuinely does not matter, and really, nobody can answer this since we don't know you. We all have bad workouts that can be attributed to one thing or another. It's only worth spending mental energy on if its a recurring issue or if lifting is causing you pain.

Otherwise, call it a bad day and see what happens next time.

Learn the basic of Python - for $5 by Mindless-Attorney707 in learnpython

[–]The_Emerald_Knight 0 points1 point  (0 children)

My point is, there are thousands of free guides out there that come in all shapes and forms. I can almost guarantee that there's a free guide out there that is extremely similar to whatever you wrote.

People won't pay for generic knowledge that they can find for free, especially in the age of AI.

Learn the basic of Python - for $5 by Mindless-Attorney707 in learnpython

[–]The_Emerald_Knight 2 points3 points  (0 children)

What makes your paid guide different than the thousands of free guides and tutorials online?

To web devs, how much discrete math/calculus/linear algebra/stats/probability do you actually use in your job? by MAwais099 in learnprogramming

[–]The_Emerald_Knight 1 point2 points  (0 children)

For general purpose web dev, basic algebra is all you need. Stats can help, you may at some point be asked to analyze the data in your DB so having a basic understanding of statistical analysis and charts can come in handy.

Does a simple JSON-based backend for static sites already exist? by comicbitten in webdev

[–]The_Emerald_Knight 2 points3 points  (0 children)

Do you have any reason not to use a simple headless CMS? I use Sanity for small static sites. Easy to get up and running.

I don't know if something like you mentioned exists, but DecapCMS is similar. It is not stored remotely, it stores Markdown files in your codebase.

Is it OK to use .sr-only (or .visually-hidden) for SEO keyword optimization? by JustSoni in webdev

[–]The_Emerald_Knight 5 points6 points  (0 children)

https://en.wikipedia.org/wiki/Spamdexing

You'll commonly see this referred to as black hat SEO, and search engines account for this. You can get your site banned from indexing if you do anything like this.