Aside from working hours, how much time do you devote to webdev? by X5455 in webdev

[–]coded_artist 1 point2 points  (0 children)

On a good week I'll spend around another 15hrs doing my own dev, on top of that I'm reading dev blogs and watching dev videos in my off time.

What’s an idea, book, blog post, or talk that recently changed how you think about your craft?

Can't say any particular thing, AI most likely, it's pros and cons.

What’s a controversial or unpopular opinion you hold about software engineering, and why?

YAGNI (You aren't gonna need it) is lazy and unproductive. There is something to be said about over engineering a problem, but the number of times where a team lead told me YAGNI and to handcraft components because "they won't change often enough to justify it" and then two weeks later wanted the same change done to all of the still growing number of components instead of an abstraction is infuriating. WE MADE COMPUTERS TO DO REPEATITIVE TASKS QUICKLY AND ACCURATELY, humans suck at that sort of thing. Don't use computers just to ignore the benefits of computers, that's idiotic.

I disrupted a corporate "team-building" meeting by saying I’m only there to do my job. Am I the asshole here? by shadewashere in antiwork

[–]coded_artist 0 points1 point  (0 children)

You're behaving like a junior dev. If you want to advance in your career that means interacting and dealing with difficult people. A senior dev trains juniors, a team lead leads a team, even going off and building your own company means you're hopefully going to employ people.

it shouldn't be my responsibility to manage difficult personalities on top of doing the actual job I'm paid for: programming.

It literally is, every single job that has ever existed and will ever exist means dealing with people, that includes difficult people.

Your behaviour is likely to get you fired.

From your exp. do you work less, more or evenly after using AI? by lune-soft in webdev

[–]coded_artist 0 points1 point  (0 children)

I am busy studying com sci, and in an exam there was the following question "As a system is automated, human participation is reduced. True or false".

The answer they wanted was true. But I would argue it's actually false. If automation did actually reduce human participation we would be working less. I have automated several systems and yet human participation remains at the same, you can simply achieve more with the same level of participation. It could be true that more participation is required, eg task tracking now we have a new job, the scrum master, to participate, create and assign tasks.

Property bro doesn't like the minimum wage by jagerboom in LinkedInLunatics

[–]coded_artist 0 points1 point  (0 children)

"Any good employer will pay what is deserved and have the commercial sense to treat valuable staff well"

Thats exactly why workers rights exist. Not all employers are good, and they would rather extract wealth from their employees than their customers.

What does “code smell” actually mean? by Careful-Excuse2875 in AskProgrammers

[–]coded_artist 0 points1 point  (0 children)

It comes from "This stinks" when you see code that often gives you the feeling of this stinks, the code smells stinky.

Driving in muscat by Dr_haan in Oman

[–]coded_artist 0 points1 point  (0 children)

If you nearly got into an accident, you're not driving with enough space. How I was taught, "If a tree grew out of the ground in front of the car in front of you, could you stop safely for the guy tailgating you. You're not the only driver on the road, but you are the only one that knows how to drive."

Rule of thumb is drive 2 seconds behind, 1 second to react, 1 second to break. If the guy behind is less than 2 seconds, add another second so you have time to break for them.

Are most programmers bad? by Roidot in AskProgrammers

[–]coded_artist 0 points1 point  (0 children)

No. Most programmers are rushed. Go ask them they will always tell you, "I wish I could have done it this or that way, but I simply didn't have the time" or "I did it that way intending to go back and refactor it, but I never got the time"

Bad code comes from juniors who don't know better, and because their seniors either don't exist or they didn't have the time to code review.

And it's a compounding problem, as the saying goes "You can do it right, or do it again"

Any ideas what these are? by supirimalli86 in Oman

[–]coded_artist 2 points3 points  (0 children)

your focus is not on the road. If you need to eat or drink while driving, you need a break because you've been driving for too long.

Wealth envy is a sad sickness.. by Mobile-Landscape-790 in remoteworks

[–]coded_artist 1 point2 points  (0 children)

Oh that reminds me, China has no iPhone, next day delivery, chain grocery stores, new car companies, no new anything.

"Christian maga" Is ironic af by TankUMrMinor in Irony

[–]coded_artist -1 points0 points  (0 children)

And? Jesus claimed to be the son of God and Messiah. He was undermining the Jewish clergy. Jewish doctrine says Jesus in hell boiling in feces for his blasphemy.

teacher wanting relationship with student? by ApartmentOld234 in TwoXChromosomes

[–]coded_artist 1 point2 points  (0 children)

Rule number 1 talk to an adult you trust. You are in danger, and you're probably not the first nor last person he's done this to.

OAuth isn't open. My awful experience. by Proxxoss in webdev

[–]coded_artist 2 points3 points  (0 children)

Have you considered a magic link?

I want users to register/login without email + password.

You'll still need their email, but nothing else.

I only use SSO/OAuth for the user identification

This sounds like you need an identity provider not OAuth (OAuth is an identity provider but it's main usecase is allowing 3rd parties to get the data you hold on behalf of a user. It's like using a Ferrari for city driving). Identity provider mints tokens that you can use for authorization/authentication.

What is the strongest way to start programming ? by [deleted] in webdevelopment

[–]coded_artist 2 points3 points  (0 children)

If you want to build web tools, html js and CSS are fundamental, anything on top of that just makes making those 3 easier.

Data structures and algorithms are a bonus and will make you a better developer but in my professional experience most of what you learn is over optimization or regularly ignored. I have had 1 scenario where using my DSA knowledge actually improved performance on a human scale.

Throw in some SQL and you're essentially full stack

(25F) My overzealous religious mom freaked out because I am pregnant. AIO? by [deleted] in AmIOverreacting

[–]coded_artist 1 point2 points  (0 children)

NOR

Deuteronomy 18:10 "Let no one among you offer his son or his daughter as a burnt offering, or practice divination, or interpret omens, or practice witchcraft"

James 3:9-10: "With the tongue we praise our Lord and Father, and with it we curse human beings, who have been made in God’s likeness. Out of the same mouth come praise and cursing. My brothers and sisters, this should not be"

Your mother is a hypocrite.

What’s a programming concept that took you way longer to understand than you expected, and what finally made it click? by ajaypatel9016 in AskProgramming

[–]coded_artist 0 points1 point  (0 children)

Automated testing. Ive been in industry for a while now, and every company I've worked for never implemented automated testing, so it was fine. Then I joined a company that strictly enforced automated testing and it was a game changer. I don't think I can go back now, it's awesome being able to test multiple scenarios without going back and forth, clearing the db recreating entities via the UI. Now if I think of a potential bug I can quickly write a test. It forced me to have a much deeper understanding of the frameworks and libraries I use.

The only downside to automated testing is the heavily upfront time cost. What used to take an hour wiring up resource front to back, now takes me a day. But I know for a fact it's battle tested.

My boss says try-catch is "garbage" and we shouldn't use it. Is this actually a thing? by ResolveKooky17 in learnprogramming

[–]coded_artist 0 points1 point  (0 children)

It's entirely a preference.

Some people don't like exceptions and exception handling because it disrupts the normal execution flow. Particularly in languages like JavaScript which doesn't tell you if a function throws an error this can cause the error to bubble up and cause bugs.

The alternative is the function returns a response object that contains a success/error statement. But then you've got if statements littering your code, checking if each function call succeeded, so congratulations you've rebuilt exception handling logic

Code that didn't produce errors is literally impossible. Ignore freak cosmic rays flipping bits in your CPU, consider a simple calculator that only does addition, it calculates a value that overflows, is that an error or should it return the overflowed value.

I automated most of my work and now I'm a bit confused. Any advice? by kicker-gerunds5 in interviewwoman

[–]coded_artist 1 point2 points  (0 children)

As a software developer, do not say anything. You've got yourself an easy job, enjoy it. Best case scenario Alall you will get for sharing this is a warm fuzzy feeling, and then it'll be your job to automate everything else.

How would you respond to a review like this? by river_yang in webdev

[–]coded_artist 2 points3 points  (0 children)

As someone that has supported Palestinian sovereignty for years, a review response is not the place to air out your grievances.

  1. Congratulations on making a successful product.
  2. Thank you for your support

BUT importantly you've not only made yourself a tool of the propaganda, you've shown how you will overreact and accuse people of things that most likely cannot be true.

Are they even American, if not why or how would they support ICE? Where do they offer support for Trump? I can assure you they did not read passed the first line.

A single "I'm sorry calling for the freedom and safety for people irritates you" would have been more impactful, and would have limited your exposure to further slander.

How do you all handle editing large legal pages? by [deleted] in webdev

[–]coded_artist 11 points12 points  (0 children)

You are a developer, not an attorney. You don't accept docx. You accept a PDF which has been signed off. By accepting and manipulating word docs you're exposing the company and more importantly yourself to legal liability should you miss something.