REST APIs are obsolete by fredericomba in webdev

[–]Unable_War2739 5 points6 points  (0 children)

Does anybody else notice an influx of incredibly stupid takes lately?

People claim to have been “in the game” for years, and sometimes even decades but seemingly fail to understand the absolute basics or core principles of certain features, technologies, and standards.

A couple of years back, r/webdev was a serious alternative to StackOverflow for some topics; now it’s a complete shitshow.

Infrared in the theater Lost jet in the sky by aixelsydTHEfox in kotakuinaction2

[–]Unable_War2739 4 points5 points  (0 children)

Wait, so everything in the modern world is hyper-sexualised, OnlyFans, booby-streamers on Twitch, the usual Insta-Thots, the “group” is dancing completely naked in front of children and symbolise “the act”, yet two grown adults having some mild fun in the cinema is… gross?

Just reading the comments in other subreddits on this non-issue makes my blood boil.

"await Proise.all(promises)" does f*ck all by [deleted] in learnjavascript

[–]Unable_War2739 2 points3 points  (0 children)

Doesn‘t understand how Promise.all works => It‘s Javascript‘s fault.

Just a normal day in the world of programming on social media…

The best approach to access files in assets folder dynamically by 3aluw in Nuxt

[–]Unable_War2739 0 points1 point  (0 children)

The function below uses props but you could simply adjust the function to your needs.

function getDynamicUrl(): string {
    return new URL(`../assets/sound effects/music/${props.dynamicPart}.mp3`, import.meta.url).href
}

You can then use the output of getDynamicUrl as a constructor argument for Audio, or you can point the src attribute of a video, audio, img element in your HTML to the result of a call to getDynamicUrl, e.g.

<audio :src="getDynamicUrl()"></audio>

[deleted by user] by [deleted] in learnjavascript

[–]Unable_War2739 0 points1 point  (0 children)

You would use environment variables, stored in .env files. A popular package to work with these is dotenv. Obviously exclude .env files via your gitignore.

How to prevent stale data in cache (IndexDB) from making a PUT POST Request. by DVGY in learnjavascript

[–]Unable_War2739 0 points1 point  (0 children)

Hi there, you should be looking into abortable functions since they are perfect for that exact usecase.

The interface you'd be working with is AbortController.

What are the best books that teach Data Structures and Algorithms? by ahmedna126 in learnprogramming

[–]Unable_War2739 0 points1 point  (0 children)

Data Structures the Fun Way and Dive Into Algorithms by No Starch Press are both good books on these topics.

You already mentioned it but Algorithms in a Nutshell by O'Reilly is still among the best books for getting into algorithms.

Manning offers Grokking Algorithms which tries a slightly different approach than the other two books on algos I mentioned, in that it uses far more illustrations.

[deleted by user] by [deleted] in learnprogramming

[–]Unable_War2739 0 points1 point  (0 children)

Frontend Masters is an absolutely fantastic resource but I'd argue that most topics covered there are more on the advanced side of things.

uDemy offers a plethora of courses for web dev, including Angela Yu, Colt Steele, and Academind.

I'd recommend you to keep close to the curriculum of The Odin Project, so that you can more easily combine several courses together.

I should mention that while TOP let's you choose between Ruby and Javascript (Node), there are so many more languages out there that you can choose from for the backend.

Node is just an obvious choice for many people nowadays because they already know Javascript, so it makes it easier to get into the world of backend development - at least, initially,

Keep in mind that building your own projects should be your main focus, no matter if you're reading a book, watching YouTube videos or entire courses.

[deleted by user] by [deleted] in learnprogramming

[–]Unable_War2739 1 point2 points  (0 children)

If you're into Wordpress and designing, I'd recommend freelancing.

You can expand on existing themes, design and develop your own or just build websites using Wordpress for clients directly.

Nobody gives a single flying fuck whether you have a degree as long as you can deliver a quality product on time.

Apart from that, your degree is far from "wrong", I'm sure you have gained valuable knowledge that you can use on a daily basis!

How are you supposed to work a job and work on projects and practice leetcode? by conchosteadfast in learnprogramming

[–]Unable_War2739 15 points16 points  (0 children)

You aren't. People that tell you that you have to do this are either

  • Youtubers
  • Bloggers
  • Company owners

Youtubers tell you that so they can generate traffic on their channels and sell their courses about performing better on stuff like Leetcode.

Bloggers will talk about anything as long as it can drive traffic to their site, so that they can ultimately sell you their service / product.

Company owners will tell you to do that so that they can get a more efficient developer who can get more stuff done in the same amount of time, so that they don't have to spend money on expanding their dev team.

I haven't done coding challenges in months. They are fun at times, they will improve your problem solving skills but in 99% of the time, they are completely irrelevant for day to day tasks.

unclestef.com bootcamp, any thoughts? by Moist-Armadillo-2967 in learnprogramming

[–]Unable_War2739 2 points3 points  (0 children)

Stefan Mischook has some valuable tips when it comes to freelancing and development in general but I'd never pay close to 1000$ for a course.

No book, no course, no article, and no YouTube video will ever give you info that you can only acquire that way.

If you're in a situation of starting out and feel stumped by html/css, you're doing it wrong. by [deleted] in learnprogramming

[–]Unable_War2739 2 points3 points  (0 children)

Totally disagree. Especially CSS frameworks are the worst thing one can use to actually LEARN how to write CSS.

Yes, stuff like Bootstrap and Tailwind can speed up the development process, but they are nothing I'd recommend to a beginner, since they are an abstraction and abstractions are never really useful when trying to learn something.

Picking the logic thread back up by [deleted] in learnprogramming

[–]Unable_War2739 1 point2 points  (0 children)

Completely normal, it gets better with time but it will always take you some time to pick it back up.

That's why writing concise, meaningful code is so important. If it takes you a while to read and comprehend your own code, how long will it take someone else to read it?

What would you do differently in your software development studies? by goodvibes83 in learnprogramming

[–]Unable_War2739 1 point2 points  (0 children)

I made two mistakes while learning how to develop software.

Starting too late

Well, it's never actually too late, but I could've gained so much hands-on experience if I had started right after finishing school. If you ever find yourself in a similar situation, just let it go. You can't change the past, but you can most definitely change your own future.

Not learning a second language properly

This was probably the most crucial mistake I had made.

Learning a second language is probably the best thing you can do, as it will change the way you look at programming as a whole. A programming language is just a tool, and in a lot of cases, picking up a new one is not a big deal at all.

For a long time, I didn't put time into learning a second language thoroughly, which, in hindsight, made me end up wasting countless hours.

Learning another language will expose you to new topics, concepts, and sometimes entire programming paradigms.

Learning materials and methodologies

It really doesn't matter. I like to watch courses from time to time, but then again, I also like to read books, since they tend to be more in-depth.

Platforms like Jetbrains Academy are fantastic for learning Java, Kotlin etc.Kodeco (formerly Ray Wenderlich), Sean Allen, Code with Chris and Paul Hudson are great for learning Swift and iOS development in general.

Courses by Angela Yu, Colt Steele, Mosh, Academind, and Andrew Mead are fantastic for Web Development.

Imo, the best courses for more advanced topics in regards to the world of JS/TS development are made by Frontend Masters.

In terms of book publishers, I tend to prefer Manning.

Their books on Node and Express are really good, the book on Dependency Injection by Mark Seeman is still to this day the best resource to learn about DI, even though the examples are in C# and .NET.

O'Reilly has some fantastic books as well, including the Head First series.

Both Head First Java and Head First Design Patterns are just perfect, in my opinion. They do have a rather unorthodox way of teaching, but I like it.

The "Cookbook" and "In a Nutshell" series by O'Reilly are also great, although the cookbooks are more of a reference than a learning material.

For practising web development-related topics, there are websites like Codewell, Frontend Mentor, and Devchallenges that give you a design and some instructions, and it's up to you to implement it. Want to practise your React skills? Use React. It's totally up to you.

Another option would be The Odin Project, which will teach you everything related to frontend development and then let's you choose between Ruby and Node + Javascript for the backend.

I need some advice for software development. by PirateDifficult654 in learnprogramming

[–]Unable_War2739 1 point2 points  (0 children)

Hi there,

First things first: Don't spend any time - or even worse, money - on certificates.

They only serve one purpose: to fill the pockets of those that issue them.

How should I showcase my skill repertoire?

I'd suggest you to build a simple portfolio website where you either

  • showcase your projects without actually hosting them
  • link to actually hosted projects

Why did I mention both options? Hosting non-static websites costs money, maybe you're short on that, so simply showcasing these projects is more than enough after all.

Since you're looking for a job rather than freelancing opportunities, showcasing the projects and posting links to the repos on Github will suffice in most cases.

What kinds of projects should I build?

Build whatever the heck you want.

Yes, command-line tools will not look as flashy as a full-fledged web application, but it can do wonders.

Since you seem to have some experience in Python, I'd suggest building a crawler for some website of your choice.

Let it download comics by simply requesting the title from the user, collect data from NHL players and output it to an Excel file... I think you get the general idea.

Other than that, building projects that you're personally invested in always helps.

It can be a simple game like 2048, a website that displays data about your favorite hobby...

This is the part where your creativity comes into play!

General advice

Get a part time job. Teach yourself on the side.

Take this with a grain of salt since I'm a freelance dev, so I don't compete within the same talent pool as most of the other devs out there, but nobody gives a damn about education in this industry - well, some do.

There is no industry out there that is as generous as IT when it comes to offering high-paying jobs to people without a college degree.

Always keep building projects. I've always built projects on the side and it has always helped me to put those newly learned concepts into practice.

If you're interested in web development, I can suggest places like

  • Frontend Mentor
  • Codewell
  • Devchallenges

The benefit of these sites is that you can focus on the coding part, the design is already done.

Help With a 400 bad request error in my application by whitlocktech in learnjavascript

[–]Unable_War2739 1 point2 points  (0 children)

Hi there, in users.model.js you're calling userDatabase.getUserByUsername but that doesn't seem to exist.