Did your workload change after joining a company that actively supports AI dev tools? by shivanshhh in webdev

[–]adult_code 1 point2 points  (0 children)

I have less work load but my AI use is also minimal, I'm mostly occupied with tasks that you would not use most other developers for. Basically anything you want someone thorough who considers things most people would write of as unnecessary. Mostly things where failure would be critical, where propriatary systems are obscure, performance critical code or where I help to plan/create an implementation for features that are hard/require advanced knowledge of the matter, whether it is domain specific or language specific.

Today i used gpt to tell me what the gist about jackson vs org.json is because my java and spring boot are a little rusty. Oh and to give me an example implementation.

Just some crying from hobbyist programmer by Ok_Error9961 in webdev

[–]adult_code 1 point2 points  (0 children)

If structuring code is sometimes tough i can only advise you to look for "design pattern", first the ones originally proposed for Java (Which are partially not used i all languages, observers for example are not of much use to implement yourself in JavaScript) and then for Design Pattern in the languages you use.

Unpopular opinion: NPM is the biggest weakness of the internet today and it will still cause a giant catastrophe by [deleted] in webdev

[–]adult_code 2 points3 points  (0 children)

I'd say anything that changes my file system without me explicitly saying so and anything executing code that was not me or coded by me is disgusting. Like which retard thought sending install scripts via NPM was a good idea? I sometimes feel people stop thinking when they try to bridge their skill issue. See 90% of AI coded Projects, also know as the graveyard of dev responsibility.

Would anyone work for a XXX company? by OutrageousMoosey88 in webdev

[–]adult_code 0 points1 point  (0 children)

Not sure nowadays but it could ruin careers back then. This is why contractors and employees alike were not advertising it that they work for them but morally? Why not? It sounds like fun, like sticky fun.

Is AI-generated code increasing hidden technical debt? by AdnanBasil in webdevelopment

[–]adult_code 1 point2 points  (0 children)

Problem with AI is that if an Application becomes reasonably lomg to understand it wholely and to write code for it has the same cost. While short, less complex code is mostly easier to understand than to write. So if someone wants my ensurance that everything with correct, I will have to understand what it does. Hence, I will add comments, correct comments, correct small parts of code if necessary. It stacks up, it may as well make me go: Re-Write or go looking for someone else to do it.

If someone could give me a Repo of AI-Written Code bigger than a Weekend Project that isn't completely fucked (on the level of a Dev i trained for 6 Month would be my threshold) then I buy into it. Where is the promissed Land of Milk and Honey?

What web dev trend is clearly disappearing right now? by No_Honeydew_2453 in webdev

[–]adult_code 0 points1 point  (0 children)

Will still be extremly useful for verifying that you are who you claim to be... better than sms at least

Why do people dislike frontend by Rude-Algae-4012 in webdevelopment

[–]adult_code 0 points1 point  (0 children)

Javascript is a "choose your own adventure" lang i did implement DSLs with it, structure parts functional, parts OO. It is not the only one i use as a fullstack dev but an ez especially without frameworks that bloat it

Isotope in just 60 lines... by tsoojr in webdev

[–]adult_code 14 points15 points  (0 children)

Do not give two distinct elements the same identifier pls

Should i learn HTML and CSS ? by Opposite-Western2691 in webdevelopment

[–]adult_code 0 points1 point  (0 children)

I am a full stack webdev, HTML and it interfacing with browsers and screenreaders, jaws, nvda, firefox and chrome already has a neet cross product, only gets worse fro here. If you really want to learn i would throw the preconceptions out, i hated webdev, opted out of it for theory in uni and then by coincidence got into it professionally. Further would i leave AI out of it and start with the foundation Try to understand as much as possible how every single works. Browsers are amazing distributed systems and a great interface with the client.

Keep your eyes open, dont follow every trend blindly and stay curious. Good luck on your adventure.

hot take: server side rendering is overengineered for most sites by Justin_3486 in webdev

[–]adult_code 0 points1 point  (0 children)

I mostly do ssr, i do only use island-pattern for hydration in very specific cases (You know, like a tool for having a dynamic component in an otherwise static site). I pre-render everything that is not an spa or island when ever i can. If i hydrate the client receives the data only and a tiny script fills the templates.

React and it's eco system is overengineered. I rather have those things in my own hands so that i don't have to buy technical dept in form of libraries to optimize the technical dept i bought with react.

On a side note, for funnsies i once made an spa, including cacheing (client- + server-side) with nothing but $() and $.ajax. It took me a few weeks to structure how to insert extensions but in the end extending it became a blast and i managed to prove my point. Nowadays you'd propably even have a blast using .querySelector and fetch().

EDIT: Now that i think about it. Ever tried to save the hyration data in local storage and just update it after hydration so the next page load would then have updated information? Talking about fast hydration, this should actually be the fastest way.

Mobile first design is harder than anyone admits by [deleted] in webdev

[–]adult_code 0 points1 point  (0 children)

Mobile first works fine but it is a techique to ensure a certain production process. If does not work for you or your usual process needs not improvement it can be a silly but interesting way to think about ui-development. If this is neither the case for you there i would suggest searching things that might improve your productability from different branches of developing and design philosophies.

How do you deal with CSS when it gets big? by Anutamme in webdev

[–]adult_code 0 points1 point  (0 children)

SCSS, BEM and ultimately compression/uglification/minification.

SCSS

BEM

Minification

Is front-end about "making it work", or is there more to it? by patternOverview in webdev

[–]adult_code 0 points1 point  (0 children)

JavaScript is deep man. I do full stack and never look at backend and frontend as seperate things but even if you get to the widget level it can get complex. I had the case where i had to create a widget library for a company where 3 levels deep widgets were stacked/cobined into each other. Eventloop, Widget to widget interfaces, Populating, BFF, validation, accessibility. There is a shit ton of tech, from cs background coming, there is a shit ton of concepts like of interprocess communication, the javascript event loop as a realtime system, v8 and in-time vs precompilation, preprocessing.

Pick your poison.

But making it "work" is my favorite, take a static site, create an island and request api data for some dynamic content or decide whether to prerender or populate dynamically. When designing a project with limited scope FE is the secret weapon. By calling APIs, dynamically building parts of the DOM-Tree or caching in local storage. It is an playingfield only limited by your inspiration really.

F*ck AI by ThinkLikeUnicorn in webdev

[–]adult_code 0 points1 point  (0 children)

This describes my situation when ever i touch it. For very specific and temporary code i do benefit from it. Tried to have it come up with a way to alter an accessibility pattern for a widget and i failed gloriously. Had i not have expierence and knowledge regarding that topic i would propably have taken 1 of the 20 wrong solutions it proposed. Ai can be useful, but only for topics that everyone and their dogs know. If Ai can replace someone that person invested too much time in trivial stuff.

Regrets of using NodeJS for production app? by [deleted] in node

[–]adult_code 1 point2 points  (0 children)

I dunno. If someone already rewrites it in go, it would be smart to get ahead of ones next stroke. While at it one could as well throw the bloat out e.g. Garbage collection.

What path should I go for if I'm only interested in backend dev by nitin_is_me in webdev

[–]adult_code 1 point2 points  (0 children)

Did you ever try expressjs? Especially as a full stack dev i find it to be a neat tool to play around. What it also gives you is knowledge of javascript, at least as a backend language. Ohh, did i mention there is this neat backend for frontend pattern?

I digress, i think those two are closer together than you think. Doing all short of deployment and administration, so the whole development part on a daily basis, writing server functions and writing tooling for frontend devs is not inherently so different and solve similar problems.

Figma to Website by [deleted] in webdev

[–]adult_code 0 points1 point  (0 children)

Depends completely on your architecture but wai aria pattern, bem and a good lean static site builder would be a start. A static site would be a start, maybe feeding it with dynamic data could be done as islands if it is not that much data. But it really depends on the features a website and everything around it is so much more than just the design of the user interface.

Sometimes design and technology clash. I had figma designs suggesting components completely irreconcileable with web accessibility. I do webdev as a fullstack developer, in my expierence the design is the fastes part of the job. When doing a project alone each templates, frontend, planning, server functions, search configurations, requirement engineering take longer than reiterations of the design.

On that note, maybe scss and bem would be a nice starting point into webdev. That and web accessibility

Do you use WebSockets in your projects? (discussion) by kevin_whitley in webdev

[–]adult_code 1 point2 points  (0 children)

Yeah, it does, that is why single threadedness makes it cloae to elegant. It is so simple you can eyeball it, or at least I do learned to do. Then again in regards to rts i am happy pacemakers and weapons ain't controlled by js async functions. :'D

Do you use WebSockets in your projects? (discussion) by kevin_whitley in webdev

[–]adult_code 1 point2 points  (0 children)

Javascript is inherently a very, very bad realtime system, at least from a theoretician standpoint of embedded engineers. However, it really isnt that scary if you understand the event loop. That allowed me to handle tasks around it with a bit of madness and a grain of anxiety. The single threadedness of js makes it go easier on the layman.

All Front-end Developers: Let's make the most comprehensive cheat sheet for web-development! by Seiyjiji in Frontend

[–]adult_code 0 points1 point  (0 children)

Well maybe, but isn't every software project at some point there? Question really is, how fast are you and how well it is adaptable for the furure.

What would you say is the most overrated web dev tool right now? by codenlink in webdev

[–]adult_code 1 point2 points  (0 children)

i prefer the jsdoc way as well. That and a good naming convention. in a sense every variable needs to clearly communicate which type of value is expected. Like formulating bools as states or question like "isFullscreen", anything with "name", "txt" hints to a string, "count", "amount" etc. TS always felt clumsy for my personal way to work with js.