These are chat archives for FreeCodeCamp/HelpFrontEnd

9th
Aug 2018
Dmytro Holysh
@dmk1111
Aug 09 2018 05:14
@Dalot using vanilla instead of jQuery could reduce your app size in the future, in case you want to load it faster
Rogério Dalot
@Dalot
Aug 09 2018 08:05
@dmk1111 That is nice, but you mean in the future, 1 or 2 months ahead or you mean like years? I am not going to be building complex stuff for at least 6-8 months
I do now know enough atm
Dmytro Holysh
@dmk1111
Aug 09 2018 08:09
@Dalot I guess there is no need to bring whole library with you, in case you need just one method from it, right? Better learn how to do same stuff without jQuery
I bet your users wouldn't like to wait additional minute while you're downloading jQuery to their mobile device with slow network. They'll just close your web page and search for something else
yozhikvtumane
@yozhikvtumane
Aug 09 2018 09:37
Hello
I can't find that Twitch project in curriculum
Where is it?
yozhikvtumane
@yozhikvtumane
Aug 09 2018 09:42
@padunk thanks! I thought it was gone
even though I used search
Rogério Dalot
@Dalot
Aug 09 2018 09:42
@dmk1111 So, why would someone use JQuery if it is as heavy as you say?
Dmytro Holysh
@dmk1111
Aug 09 2018 13:18
@Dalot there could be many different answers. I couldn't tell you, because we don't use jQuery on our project.
Rogério Dalot
@Dalot
Aug 09 2018 13:20
@dmk1111 was that intentional or you just do not need something like jquery?
Dmytro Holysh
@dmk1111
Aug 09 2018 13:21
@Dalot we use TypeScript and almost all ES Next features
@Dalot after it builds, we have ES5 compatible code, as we support IE11 as well and it doesn't support arrow functions, for example
Rogério Dalot
@Dalot
Aug 09 2018 13:22
@dmk1111 well that is still high end stuff for me
@dmk1111 is your project related to FCC?
Dmytro Holysh
@dmk1111
Aug 09 2018 13:23
@Dalot nope, this is my work project
@Dalot but after I started using TypeScript, I prefer to use it on my learning projects as well
for example, there is node-type package, that allows you to use TS during backend development on Node.js
Rogério Dalot
@Dalot
Aug 09 2018 13:32
You mean coding the backend with TS?
@dmk1111
Dmytro Holysh
@dmk1111
Aug 09 2018 13:39
@Dalot yep
@types repository has *.d.ts files for a lot of npm packages
Rogério Dalot
@Dalot
Aug 09 2018 13:44
@dmk1111 that is interesting... I am wondering tho, if that might be a risky thing to do, I mean, is nodejs like really stable and powerful right now as to be able to even kind of add another layer, TS, on top of it...? Take in mind that my question might be stupid
:smile:
Dmytro Holysh
@dmk1111
Aug 09 2018 13:46
@Dalot you can use TS in order to avoid type errors, but after you finish coding, you can compile it to regular JS
Rogério Dalot
@Dalot
Aug 09 2018 13:51
@dmk1111 well ultimately everything is compiled to regular JS right?
@dmk1111 Im guessing odejs is regular JS already right?
Nodejs*
Dmytro Holysh
@dmk1111
Aug 09 2018 13:55
@Dalot you use plain JS in order to code on Node.js
Node.js is built on top of V8 engine
methods that access file system, for example, are written in C
Rogério Dalot
@Dalot
Aug 09 2018 14:06
Huuuum nice
@dmk1111 did not know that
Dmytro Holysh
@dmk1111
Aug 09 2018 14:08
You can discover on GitHub Node.js internals
It is written in:
JavaScript 59.0% C++ 21.5% Python 12.8% C 3.7% HTML 1.4% Makefile 0.4% Other 1.2%
Rogério Dalot
@Dalot
Aug 09 2018 14:09
@dmk1111 and v8 is written in js and C++ right?
@dmk1111 hum I see
Dmytro Holysh
@dmk1111
Aug 09 2018 14:09
Actually more in C++:
C++ 68.7% JavaScript 29.4% Python 1.4% HTML 0.2% TypeScript 0.1% C 0.1% Other 0.1%
Lisa Copeland
@lisacopeland
Aug 09 2018 20:52
Hey does anyone have suggestions on where you can go to get on group projects
Aita Kane
@aita-kane
Aug 09 2018 20:54
hello everybody i was wondering what language can allow a group of people to do their homework online ? For instance, the teacher will post an exercise and the students will be able to do it after they logged in ? Thank you for your help
Rogério Dalot
@Dalot
Aug 09 2018 23:15
How should be someone proceed to event handingle on scrolling. Imagining that there are several behaviors a website should have on just scrolling, how should this be handled?
newmoon
@newmoon
Aug 09 2018 23:21
@Dalot Not sure I understand, but this comes to mind:
window.onscroll = () => {
  behavior1();
  behavior2();
  behavior3();
};