Message from @Deleted User
Discord ID: 455068214808805386
the whole type coercion thing produces a lotof headache.
yeah it does. It was a language made for the 1997 web not the modern one
JS I know a litle better than PHP. I never used PHP for a long time.
PHP has a lot of problems historically by facebook and Zend has done a lot of work to fix it.
Facebook is a disaster in my opnion. Way to slow.
They also developed ReactJS. But I like ReactJS.
Jesus
Do you ever tried ReactJS?
yes
don't like it?
I've spent 6 months doing just that
I have no opinion on it.
It is in combination with Redux quite nice, it is inspired by Elm, a functional web framework.
I don't care what it is inspired by
You have a global state, and then you change it over actions, and state changes can trigger changes in React components.
I only care that I can get stuff done with it
Speaking of ReactJS, I'm working on that stuff right now.
Caused an orgasm, it is perfect for prototyping.
React is pretty good, makes building websites with JS much easier in my opinion.
@meratrix so does vue, angular 2 etc
Vue is hyped at the moment.
yeah I know, I just know ReactJS already, so I'll use it when I'm doing small side projects.
@meratrix I managed fine for years with just jQuery, Handlebars and some event handlers
Well, I'm 20, so I haven't been doing this for years.
I am more a fun of the principle (e.g. Flux) itself.
@meratrix I am 35 and I have been doing this since I was 20
I am happy to ignore jQuery.
@Deleted User it was like heaven on earth when it was first out
and DOM manipulations.
React hides this all.
@Deleted User I know, jQuery was good for its time.
I am sure it does, but it is worth knowing what happens in the browser
I learned a bit of JQuery a while ago, but class I was taught in started with JS and then moved on to ReactJS, so that's what I use.
Plus, mixing JQuery and ReactJS is a really bad idea.
You don't need it with React, or lets say, I never had an use case for needing it.
I tried it once, then realized why it wouldn't work. You know that ReactJS creates a "virtual" DOM, and then makes the changes you make to that to the real DOM, well because JQuery interacts directly with the DOM, ReactJS doesn't pick up on the changes you've made to the DOM and thus the "virtual" DOM and the real DOM get out of sync.
Leads to some real fucky behavior if you use a lot of JQuery.
```json
[
{
"tab_id": 0,
"tab_name": "Sol System",
"tab_info": {
"planetoids": {
"planets": {
"mercury": {
"has_moon": 0
},
"venus": {
"has_moon": 0
},
"earth": {
"has_moon": 1,
"luna": {
"name": ""
}
},
"mars": {
"has_moon": 1,
"phobos": {
},
"demos": {
}
},
"jupiter": {
"has_moon": 1
},
"saturn": {
"has_moon": 1
},
"uranus": {
"has_moon": 1
},
"neptune": {
"has_moon": 1
}
},
```
```json
"moons": {
},
"dwarf_planets": {
"pluto": {
"has_moon": 1
},
"Eris": {
"has_moon": 1
},
"Haumea": {
"has_moon": 1
},
"Orcus": {
"has_moon": 1
},
"Quaoar": {
"has_moon": 1
}
},
"satellites": {
"natural": {
"comets": {
},
"asteroids": {
},
"meteoroids": {
}
},
"artifiial": {
}
},
"natural_formations": {
"asteroid_belt": {
"name": "Asteroid Belt"
},
"kuiper_belt": {
"name": "Kuiper Belt"
},
"oort_cloud": {
"name": "Oort Cloud"
}
}
},
"rovers": {
}
}
},
{
"tab_id": 1,
"tab_name": "",
"tab_info": {
}
},
{
"tab_id": 2,
"tab_name": "",
"tab_info": {
}
}
]
```
@Deleted User Currently working on a JSON "database" for an Astronomical Information website I'm working on.