Click here to Skip to main content
15,887,135 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Progress and the death of cool code Pin
jochance8-Feb-24 4:59
jochance8-Feb-24 4:59 
GeneralRe: Progress and the death of cool code Pin
Bruce Patin8-Feb-24 5:07
Bruce Patin8-Feb-24 5:07 
GeneralRe: Progress and the death of cool code Pin
Gerry Schmitz8-Feb-24 10:24
mveGerry Schmitz8-Feb-24 10:24 
GeneralRe: Progress and the death of cool code Pin
englebart8-Feb-24 16:05
professionalenglebart8-Feb-24 16:05 
GeneralRe: Progress and the death of cool code Pin
dandy7213-Feb-24 10:42
dandy7213-Feb-24 10:42 
GeneralRe: Progress and the death of cool code Pin
honey the codewitch13-Feb-24 12:41
mvahoney the codewitch13-Feb-24 12:41 
GeneralRe: Progress and the death of cool code Pin
dandy7214-Feb-24 3:48
dandy7214-Feb-24 3:48 
RantReact and Material UI PinPopular
Marc Clifton7-Feb-24 3:35
mvaMarc Clifton7-Feb-24 3:35 
Disclaimer: Rants of noob working with React and Material UI.

Pretty much despise both.

Material UI: It's default styling is for the geriatric -- mostly blind, needs everything in huge fonts, swimming in whitespace. And figuring out how to style Material UI is such a PITA, regardless of how much documentation there is on styling.

React: Really, no two-way data binding? State and props? OK, components are great, but half the time I have to extend the "props" with React.PropsWithChildren, like WTF, why??? And communication between dissociated components requires a pubsub (so I've read and implemented), or between parent-child components which I still haven't figured out -- seems straightforward but I haven't tried it yet. And markup in the TypeScript code? I get that because of the nature of a reusable component, but still, yuck. I want code to be code, markup to be not in my code.

And then, there's the "old" way of using React, with classes and super(props, state and the "new" way with "hooks": "Classes can be reused by using higher-order components (HOCs) or render properties. Hooks came into use later and offer a simpler and more logical approach to writing components." So which style to use? I'm not keen on hooks because I like to contain things in classes - with hooks, everything is functions, from what I see. Blech.

And using React with third party components like jqxWidgets requires various components be "ref'd" because setting a specific state field appears to update all the state fields, so things like a jqxComboBox goes haywire when typing in specific text -- React resets the selectedIndex even though I'm not setting it in the state! So any field that uses {this.state.foo} causes React to say, "hey, there's state stuff on this widget, so let's f*** it over every time the component's state changes!"

And don't even get me started on using react-router which then requires (according to SO) that everything now be children of HashRouter instead of BrowserRouter which means hashes in the URL's.

I really do like the component stuff, Material UI can go the way of the dinosaur for all I care, and yet I feel like React is itself heading to extinction.

GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 6:16
professionalJeremy Falcon7-Feb-24 6:16 
GeneralRe: React and Material UI Pin
Chris Maunder7-Feb-24 7:02
cofounderChris Maunder7-Feb-24 7:02 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 9:13
professionalJeremy Falcon7-Feb-24 9:13 
GeneralRe: React and Material UI Pin
Marc Clifton7-Feb-24 8:08
mvaMarc Clifton7-Feb-24 8:08 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 9:25
professionalJeremy Falcon7-Feb-24 9:25 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 6:40
professionalJeremy Falcon7-Feb-24 6:40 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 6:46
professionalJeremy Falcon7-Feb-24 6:46 
GeneralRe: React and Material UI Pin
snorkie7-Feb-24 7:26
professionalsnorkie7-Feb-24 7:26 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 9:03
professionalJeremy Falcon7-Feb-24 9:03 
GeneralRe: React and Material UI Pin
pkfox7-Feb-24 10:55
professionalpkfox7-Feb-24 10:55 
GeneralRe: React and Material UI Pin
jmaida7-Feb-24 17:54
jmaida7-Feb-24 17:54 
GeneralRe: React and Material UI Pin
0x01AA9-Feb-24 5:20
mve0x01AA9-Feb-24 5:20 
GeneralRe: React and Material UI Pin
GuyThiebaut7-Feb-24 21:47
professionalGuyThiebaut7-Feb-24 21:47 
GeneralRe: React and Material UI Pin
jochance8-Feb-24 4:50
jochance8-Feb-24 4:50 
GeneralWhy I don't use python Pin
honey the codewitch7-Feb-24 1:39
mvahoney the codewitch7-Feb-24 1:39 
QuestionRe: Why I don't use python Pin
CPallini7-Feb-24 1:54
mveCPallini7-Feb-24 1:54 
GeneralRe: Why I don't use python Pin
Richard Andrew x647-Feb-24 2:56
professionalRichard Andrew x647-Feb-24 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.