← Home ← Back to /g/

Thread 107146053

58 posts 16 images /g/
Anonymous No.107146053 [Report] >>107146177
/wdg/ - Web Development General
I've query'd things you people wouldn't believe edition

>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your best friend for fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS

>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go
https://quii.gitbook.io/learn-go-with-tests - Learn Go with Tests

>Resources for miscellaneous areas
https://github.com/bradtraversy/design-resources-for-developers - List of design resources
https://www.digitalocean.com/community/tutorials - Usually the best guides for everything server related

>Need help? Create an example and post the link
https://jsfiddle.net - if you need help with HTML/CSS/JS
https://3v4l.org - if you need help with PHP/HackLang
https://codesandbox.io - if you need help with React/Angular/Vue

/wdg/ may or may not welcome app development discussion. You can post and see what the response is.
Some app technologies of course have overlap with web dev, like React Native, Electron, and Flutter.

We have our own website: https://wdg-one.github.io

Submit your project progress updates using this format in your posts, the scraper will pick it up:

:: my-project-title ::
dev:: anon
tools:: PHP, MySQL, etc.
link:: https://my.website.com
repo:: https://github.com/user/repo
progress:: Lorem ipsum dolor sit amet

Previous: >>107121932
Anonymous No.107146136 [Report] >>107146220 >>107146292 >>107147245 >>107147840 >>107148688 >>107151599 >>107151849 >>107152009 >>107154336
good evening web developers, got a quick question, which code editor are you using for web development? I have seen visual studio code and zed and like zed because it is not microsoft and looks very clean. do you think it is good?
Anonymous No.107146177 [Report]
>>107146053 (OP)
>I've query'd things you people wouldn't believe edition
good meem, blade runner, all movies, would recommend
Anonymous No.107146220 [Report]
>>107146136
I use Doom Emacs, but I mainly do backend stuff
Anonymous No.107146292 [Report]
>>107146136
phpstorm master race
Anonymous No.107147245 [Report]
>>107146136
I use vs code, I don't do much with it 2bh, but it is enough to create node tools, back when I was learning .net I used visual studio (the ide), when I was doing php I was using vs code, when I was doing node website I was using vs code
if I could be reborn I'd use emacs and vim
Anonymous No.107147840 [Report]
>>107146136
I use vscode. I don't like having separate editors for separate languages.
There are languages where vscode is not suitable though.
blessbrah No.107148688 [Report] >>107150473
>>107146136
vs code is pretty decent for my Angular frontend. Just stock, no plugins and works fine. IntelliJ for my Spring backend works great. I recommend the JetBrains offerings. They made Android Studio pretty decent to use.
Anonymous No.107150473 [Report]
>>107148688
POV you booted up android studio
Anonymous No.107151311 [Report]
>trying to get more into data analysis
>see lots of services recommended
>check them out
>almost all of them cost hundreds a month to use
Anonymous No.107151599 [Report]
>>107146136
Kate :)
Anonymous No.107151849 [Report]
>>107146136
I use the best editor of course, pic related.
Anonymous No.107152009 [Report] >>107152484 >>107152956
>>107146136
emacs for most things. I used Flutter for a while and wrote all my Dart in VSCode.
Anonymous No.107152484 [Report] >>107152909
>>107152009
can you explain to me briefly what's going on on that edit? I'm very confused and fascinated
Anonymous No.107152909 [Report] >>107152931 >>107152956
>>107152484
that's (Doom) Emacs running on my phone via Termux, with vim-like keybindings.

There's a Clojure REPL running in the background. Pressing , , in normal mode sends the top-level function the cursor is on to the REPL and displays the result.

On top of that, I have the "enlighten-mode" of CIDER (the most popular Clojure extension for Emacs) turned on, so next to each variable in every function, its value is displayed live as it is being evaluated:
https://docs.cider.mx/cider/debugging/enlighten.html

(and because enlightened functions are slow as fuck, you get to watch it more or less in slow motion)

It's a nice blurring of the lines between debugger and editor, though to anyone looking for a fully fledged debugger for Clojure I would recommend taking a look at FlowStorm:
https://www.flow-storm.org/

The whole "send this expression to a REPL" thing works in most/all REPL-based languages in Emacs (support for other Lisps is obviously excellent, support for Python is good, for JS it's lackluster but does exist)
Anonymous No.107152931 [Report]
>>107152909
that makes sense, it's really cool
Anonymous No.107152956 [Report]
>>107152009
>>107152909
btw anyone know how to set something like this up for JavaScript?
I asked this in the last thread >>107136921 but didn't get a reply.
Anonymous No.107152981 [Report]
how you guys deal with many events and app state in vanilla js?
Anonymous No.107153670 [Report] >>107154371 >>107154381 >>107154839
After 6 years working as frontend dev I can honestly say that I hate this shit.
I'm not even sure if switching to backend could spark the interest I once had and I really have no idea what field should I aim to move to.
I'm tired of libraries and frameworks, and the amount of complexity that seems absolutely needless to me, and on top of that I hate working with designers and I hate modern web design with burning passion.
SmoothPorcupine[19] No.107154253 [Report]
/$/ rescue restyle
Anonymous No.107154336 [Report]
>>107146136
I use vs code for everything. I was forced to use emacs in university because all the coding exams were in emacs so I used it a bit after graduation but switched to vs code later because it's much better and it's the standard.
Anonymous No.107154371 [Report]
>>107153670
with the time (not much, since I haven't been here for so long) I started seeing front end ecosystem as a threat
Anonymous No.107154381 [Report] >>107154396 >>107154429 >>107154451
>>107153670
>I'm tired of libraries and frameworks
You could try and convince your bosses to use fewer libraries. E.g. you don't need Axios, you don't need Formik, you don't need Lodash, and you might not even need a framework, but often a framework can make things easier.
Anonymous No.107154396 [Report] >>107154560
>>107154381
>you don't need Axios
fetch for the win
Anonymous No.107154429 [Report] >>107154560
>>107154381
>you don't need Lodash
isn't that what un-retards js float math? how do you do that natively, is it by int->float shifting?
Anonymous No.107154451 [Report] >>107154502 >>107154560
>>107154381
>You could try and convince your bosses to use fewer libraries.
Try getting a job as frontend dev without experience with React and Next.js these days.
Anonymous No.107154502 [Report]
>>107154451
depends where you work. we got rid of react and next and made our own library with jsx/tsx, tailwind support, nest for the backend and if needed strapi as the cms.
Anonymous No.107154560 [Report]
>>107154396
Exactly
>>107154429
I haven't used Lodash myself but it's implemented in JS right? So anything it does, you can just implement yourself
>>107154451
I assume he already has a job since he's saying he's tired of what he's doing. So he could try and push for change within his company to make things more enjoyable.
Anonymous No.107154839 [Report] >>107154900 >>107155786
>>107153670
frontend is pretty bad, filled with people who lack technical skills. It doesn't require any actually valuable knowledge, like networking or multithreading and introduces a lot of unecessary complexity because frontend soidevs want to feel validated.

>t. moved to backend / devops and I'm enjoing working in tech again
Anonymous No.107154900 [Report] >>107154980
>>107154839
>introduces a lot of unecessary complexity because frontend soidevs want to feel validated
This is exactly how I feel. And this complexity just tries to solve the same problems over and over again while introducing new ones.
I just want to enjoy programming again.
I thought about learning MySQL and Node, since I already now JS but also considered Python. I would benefit from knowing two languages and I could also move to other fields besides web dev.
Anonymous No.107154980 [Report] >>107160603
>>107154900
I would unrionically recommend Java. Solid choice of a language with a huge ecosystem. And you can easily switch to Kotlin later. Currently working in Kotlin and Quarkus and it's very solid combo, but Spring is amazing too. Plenty of jobs as well. But you would have to start from a junior probably, unless you lie in your resume, which I recommed.
Anonymous No.107155786 [Report]
>>107154839
Old school wordpress/Magento/php + photoshop + vanilla CSS, JS for interaction dev here.
I checked out when every started using JS frameworks, being ultra modular.
Banging out wordpress sites and whatever ecommerce platform and being good with vanilla html/css/js plus adobe skills still seems extremely valuable to smaller companies.

I can't fathom doing all this react/vue/angular stuff to become a small cog in a corporate environment who's useless outside of it. I've seen too many young front end devs list off their expertise in six frameworks IDK how to use only to ask how to build a static website, or get blown away by the notion of someone building a layout in vanilla html/css.

Front end is a mess right now and unless you're raking in serious money, it seems like a bad idea to overspecialize these days vs being a jack of all trades. Especially when the tools to build something on your own are getting better and batter.
Anonymous No.107156105 [Report] >>107156172
I fucking hate React and I fucking hate that every company is sucking its dick. Why is nobody using Vue/Nuxt? I have so much more fun with Vue but noooooo React everywhere
Anonymous No.107156172 [Report] >>107156496
>>107156105
Name three (3) ways in which Vue is better than React
Anonymous No.107156496 [Report] >>107157094 >>107157136 >>107158401
>>107156172
scoped css (fuck tailwind)
no retarded jsx
no big corporation behind it
Anonymous No.107157094 [Report] >>107158401 >>107161530
>>107156496
JSX is based though
Anonymous No.107157136 [Report]
>>107156496
>scoped css
This+BEM and CSS is a non issue, I rarely even have to think because no longer do I get retarded bugs or have to comprehend 100+ tailshitcss properties
Anonymous No.107158366 [Report]
bumping
Anonymous No.107158401 [Report] >>107161275
>>107156496
>>107157094
I prefer to write html in html files, js in js files and etc, but I understand that people like jsx because you can have a file per component which gives you a way to isolate styles in the file of the component

its whatever. frontend always sucks
Anonymous No.107160248 [Report]
Sirs where i can find react v2 app?
Anonymous No.107160603 [Report]
>>107154980
Java would be a good choice in my area too, I see a lot of job offers.
I'd say that right now it's Java > PHP > Node > Python in my country.
Anonymous No.107160792 [Report] >>107161285 >>107162562
>they dont know @scope is 85% on caniuse
>but muh firefox
Irrelavant 1% market share browser.
Anonymous No.107160998 [Report]
>consolidate app from multiple platforms onto one
>put cloudflare in front
>response times go down the shitter
okay man
Anonymous No.107161275 [Report]
>>107158401
>I understand that people like jsx because you can have a file per component which gives you a way to isolate styles in the file of the component
??
jsx doesn't isolate any styles.
Anonymous No.107161285 [Report] >>107161313
>>107160792
>they don't know next.js is 85% in the job market
>but muh i-hate-tailwind
Irrelevant unemployed people
Anonymous No.107161313 [Report]
>>107161285
>they don't know next.js is 85% in the job market
depends which country and which company
Anonymous No.107161530 [Report]
>>107157094
TSX is peak comfy
Anonymous No.107161647 [Report] >>107161813
I think I've realised that I'm actually willing to tolerate website adverts as long as they're limited and light on resources

E.g. MDN and Stack Overflow have limited and lightweight adverts. Sometimes I browse those sites in my Firefox profile which has no browser extensions (I use this profile for online banking etc - no extensions means less risk of extensions grabbing my financial details). Neither of those sites make me immediately reach for my ad blocker, because the adverts aren't too intrusive. But other websites (e.g. GeeksForGeeks) have heavy adverts which make browsing slower, and I instantly think "fuck this, I need my ad blocker".

Therefore, if a website can find a sweet spot of having just some lightweight adverts, they might make more money from adverts, because people won't feel instantly compelled to use an ad blocker. But maybe heavy and intrusive adverts really do generate more ad revenue because so many normies don't use ad blockers.
Anonymous No.107161813 [Report] >>107162566
>>107161647
I remember when I was maybe 10 or so, I saw a news story about how adblockers actually make your computer slower because of the adblocking software using too much CPU. This was back in the days of animated flash banners, mind you.
That's when I realized that the news is full of lies.
Anonymous No.107162537 [Report] >>107162573 >>107162612
hey bruddas, I want to learn JavaScript, which book would you recommend? I mean a real book, no PDF or digital shit.
Anonymous No.107162562 [Report]
>>107160792
correct, still ff is the browser I use, love and many tines dev for if personal project, that doesn't mean the star isn't chrome mobile, desktop and safari, I think safari is kind of a bitch too, but some times you can't opt out, since these people throw cash
Anonymous No.107162566 [Report] >>107162757
>>107161813
>the news is full of lies
Depends on who is writing the news I think. Anyway, you know how some websites show ads if you want to use them for free, but they'll remove ads if you pay? That's what MDN does, and I think that approach is fine, since their ads are small, lightweight, and not intrusive, so I don't mind them too much. I wish more sites were like this, but maybe there's more money to be made from normies if your website has tons of flashing intrusive ads.
Anonymous No.107162573 [Report]
>>107162537
no one reads books anymore you dumb retard. talk to ai
Anonymous No.107162612 [Report] >>107162631 >>107162696
>>107162537
pic related maybe, haven't read it though, check which edition contains the latest release of ecmascript, as for free and digital u have ecmascript release docs, javascript.info, mdn docs, there's a website with like 20 exercises for modern js which demands an email from you, and w3c if everything else fails
Anonymous No.107162631 [Report] >>107162696 >>107162777
>>107162612
*pic related (can't upload in incognito, so here, javascript the good parts and javascript the definitive guide), also chatfpt or alternatives are not something you should discard they're very powerful and convenient, maybe hackerrank and leetcode too
Anonymous No.107162696 [Report]
>>107162612
>>107162631
thank you very much!
Anonymous No.107162757 [Report]
>>107162566
>Depends on who is writing the news
You can look up who publishes the news on Wikipedia, which will quickly make clear that virtually everything political on the news is indeed either an outright lie or a lie by omission.

>Anyway, you know how some websites show ads if you want to use them for free, but they'll remove ads if you pay?
yeah in theory I like that model too, the problem is that particularly a lot of Android apps etc. still sell your data even when you get the paid version. And then there's YouTube, which still shows some ads even to those who are dumb enough to buy a subscription.

Brave had the right idea: enforce adblock and privacy at the client side, then give people the opportunity to support websites they care about by being shown some ads and sending the revenue to visited websites. Unfortunately crypto regulation pretty much killed that off, and most of /g/ always hated Brave because most of /g/ is too dumb for crypto.
Anonymous No.107162777 [Report]
>>107162631
>javascript the good parts
I read this 5 years ago as my intro to JS, and as soon as I started doing real shit I noticed that the book is horribly outdated.
Unless there's a new edition out, I recommend just reading the guides on MDN.