Message from @Deleted User

Discord ID: 455068214808805386


2018-06-09 17:53:53 UTC  

the whole type coercion thing produces a lotof headache.

2018-06-09 17:54:35 UTC  

yeah it does. It was a language made for the 1997 web not the modern one

2018-06-09 17:54:36 UTC  

JS I know a litle better than PHP. I never used PHP for a long time.

2018-06-09 17:55:04 UTC  

PHP has a lot of problems historically by facebook and Zend has done a lot of work to fix it.

2018-06-09 17:55:30 UTC  

Facebook is a disaster in my opnion. Way to slow.

2018-06-09 17:55:53 UTC  

They also developed ReactJS. But I like ReactJS.

2018-06-09 17:56:05 UTC  

Jesus

2018-06-09 17:56:07 UTC  

Do you ever tried ReactJS?

2018-06-09 17:56:14 UTC  

yes

2018-06-09 17:56:25 UTC  

don't like it?

2018-06-09 17:56:46 UTC  

I've spent 6 months doing just that

2018-06-09 17:56:47 UTC  

I have no opinion on it.

2018-06-09 17:57:01 UTC  

It is in combination with Redux quite nice, it is inspired by Elm, a functional web framework.

2018-06-09 17:57:27 UTC  

I don't care what it is inspired by

2018-06-09 17:57:38 UTC  

You have a global state, and then you change it over actions, and state changes can trigger changes in React components.

2018-06-09 17:57:38 UTC  

I only care that I can get stuff done with it

2018-06-09 17:57:46 UTC  

Speaking of ReactJS, I'm working on that stuff right now.

2018-06-09 17:58:08 UTC  

Caused an orgasm, it is perfect for prototyping.

2018-06-09 17:58:08 UTC  

React is pretty good, makes building websites with JS much easier in my opinion.

2018-06-09 17:58:23 UTC  

@meratrix so does vue, angular 2 etc

2018-06-09 17:58:37 UTC  

yeah, these are alternatives.

2018-06-09 17:58:43 UTC  

Vue is hyped at the moment.

2018-06-09 17:58:48 UTC  

yeah I know, I just know ReactJS already, so I'll use it when I'm doing small side projects.

2018-06-09 17:59:09 UTC  

@meratrix I managed fine for years with just jQuery, Handlebars and some event handlers

2018-06-09 17:59:31 UTC  

Well, I'm 20, so I haven't been doing this for years.

2018-06-09 17:59:32 UTC  

I am more a fun of the principle (e.g. Flux) itself.

2018-06-09 17:59:54 UTC  

@meratrix I am 35 and I have been doing this since I was 20

2018-06-09 17:59:59 UTC  

I am happy to ignore jQuery.

2018-06-09 18:00:16 UTC  

@Deleted User it was like heaven on earth when it was first out

2018-06-09 18:00:18 UTC  

and DOM manipulations.

2018-06-09 18:00:43 UTC  

React hides this all.

2018-06-09 18:01:09 UTC  

@Deleted User I know, jQuery was good for its time.

2018-06-09 18:01:12 UTC  

I am sure it does, but it is worth knowing what happens in the browser

2018-06-09 18:01:36 UTC  

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.

2018-06-09 18:01:55 UTC  

Plus, mixing JQuery and ReactJS is a really bad idea.

2018-06-09 18:02:38 UTC  

You don't need it with React, or lets say, I never had an use case for needing it.

2018-06-09 18:04:24 UTC  

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.

2018-06-09 18:04:57 UTC  

Leads to some real fucky behavior if you use a lot of JQuery.

2018-06-09 18:06:09 UTC  

```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
}
},
```

2018-06-09 18:06:10 UTC  

```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": {

}
}
]
```

2018-06-09 18:06:43 UTC  

@Deleted User Currently working on a JSON "database" for an Astronomical Information website I'm working on.