|
also lol at the people itt unironically defending javascript in tyool 2016
|
# ? May 1, 2016 05:40 |
|
|
# ? May 15, 2024 07:12 |
|
BiohazrD posted:My favorite part of node is when someone says "eh I don't want to maintain this code anymore" and someone takes their package name then oops everything is now running malicious code npm posted:if you try to unpublish a given package@version: generally we will http://blog.npmjs.org/post/141905368000/changes-to-npms-unpublish-policy N.Z.'s Champion fucked around with this message at 06:47 on May 1, 2016 |
# ? May 1, 2016 06:44 |
|
npm is Good. oh no someone might want to use the name of a security package and npm allows it!!! what will we do! the package that no one would have dependencies on bc its a package that auto errors could now be used for malicious activities!!!
|
# ? May 1, 2016 16:41 |
|
javascript is bad therefore npm is bad H T H
|
# ? May 1, 2016 17:06 |
|
npm is the only reasonable package manager if you want to get up to date versions of web libraries
|
# ? May 1, 2016 17:25 |
|
i still don't know the difference between npm and bower other than npm is a corporation i guess?
|
# ? May 1, 2016 17:27 |
|
fleshweasel posted:npm is the only reasonable package manager if you want to get up to date versions of web libraries LOL "web libraries" like that must-have leftpad dependency.
|
# ? May 1, 2016 17:54 |
|
mishaq posted:also lol at the people itt unironically defending javascript in tyool 2016 it's a good way to make 6.5 figgies in 2016
|
# ? May 1, 2016 17:57 |
|
Doc Block posted:javascript is bad eh es6 isn't terrible I just wouldn't use it for anything but front end development in 10 years when you can actually feasibly support it
|
# ? May 1, 2016 22:44 |
|
My Linux Rig posted:eh use babel. problem solved.
|
# ? May 2, 2016 00:52 |
|
Ludwig van Halen posted:i still don't know the difference between npm and bower other than npm is a corporation i guess? there's about 5 different JavaScript package managers. bower was made with the explicit intention of being used for the "front end". npm was made for node, the "backend". however, what everyone always had in mind for JS was the same packages being compatible with both the front and back. so now in modern development (and I mean if your project is made with the cutting edge frameworks and practices within the last 1-3 year) we just use npm for everything because the idea that you need different packages in different places for front and back is obsolete.
|
# ? May 2, 2016 01:10 |
|
to explain a little better, most web apps used to work by having a back-end and then a /public folder that stored your front-end stuff. the front end will have folders like /images /views /controllers/ and /assets (or some synonym). if the front-end used a dependency like jQuery, it would be in /assets/jquery/jquery.3.2.1.min.js or whatever. now, things are "compiled", sort of. you can write your code in a form that a browser would never run. instead of your assets like jQuery needing to be in the /public folder somewhere, your compiler will go back one level into the /node_modules folder and get the resource, include it in the code, and there you go. no need for an /assets folder at all. in fact, things are often compiled into JUST a few .js files. images, code, HTML, it's all in .js files in base64 format or whatever. so in the old way, bower was designed to populate the /assets. what it did differently besides populating the folder, i don't really know. except i know that by default it would save things into the /bower folder, but you could rename is /assets or /resources, which you can't do with node. thanks for reading.
|
# ? May 2, 2016 01:52 |
|
but why
|
# ? May 2, 2016 01:57 |
|
quote:no need for an /assets folder at all. Thank god that was such a huge loving insurmountable hurdle. Christ, we've finally made it!
|
# ? May 2, 2016 01:59 |
|
akadajet posted:javascript is good for people who haven't been brain damaged by java style oop yeah, javascripts insane style of oop is way better there are poo poo tons of languages better than javascript in every way that you can use on the backend for server development. if you're reaching for js and you don't have to you screwed up somewhere along the way Condiv fucked around with this message at 08:12 on May 2, 2016 |
# ? May 2, 2016 08:09 |
|
i don't know anything about programming but i heartily lol at the idea of people using a language designed to make interactive buttons in web browsers to do backend application development
|
# ? May 2, 2016 08:53 |
|
mishaq posted:i don't know anything about programming but i heartily lol at the idea of people using a language designed to make interactive buttons in web browsers to do backend application development congratulations you are objectively more qualified than a node dev
|
# ? May 2, 2016 08:55 |
|
no but you see actually,PleasureKevin posted:what everyone always had in mind for JS was the same packages being compatible with both the front and back
|
# ? May 2, 2016 13:01 |
|
Ludwig van Halen posted:i still don't know the difference between npm and bower other than npm is a corporation i guess? bower is a colossal pos that u should avoid npm is alright most of the time
|
# ? May 2, 2016 14:06 |
|
at least with npm the people registering the modules are usually the author
|
# ? May 2, 2016 14:08 |
|
akadajet posted:javascript is a colossal pos that u should avoid
|
# ? May 2, 2016 20:15 |
|
why isn't pleasure kevin on probation. fyad's been slacking
|
# ? May 2, 2016 20:22 |
|
GameCube posted:why isn't pleasure kevin on probation. fyad's been slacking Pleasure levels have been very high lately. Must be related to the low probation levels.
|
# ? May 2, 2016 21:21 |
|
pleasure suit kevin
|
# ? May 3, 2016 01:23 |
|
the lady who invented the compiler said the next challenge was making a universal programming language, but the biggest obstacle was pissy programmers who didn't want to change their ways anyway look like java script bout to do it!
|
# ? May 3, 2016 01:47 |
|
thank you for highlighting all that text so I would know which part was important.
|
# ? May 3, 2016 02:10 |
|
PleasureKevin posted:
Java-script is the Jesus of computer langs.
|
# ? May 3, 2016 02:45 |
|
Little known fact: the first computer was programmed by Java Script
|
# ? May 3, 2016 03:01 |
|
Peanut and the Gang posted:Java-script is the Jesus of computer langs.
|
# ? May 3, 2016 03:01 |
|
obstipator posted:Little known fact: the first computer was programmed by Java Script it went like this [spoilers]the buildings tumbled in on themselves[/spoilers] computers were programmed with gears and poo poo, then punchcards replaced those, then assembly replaced that. but the problem with assembly was it was different on every processor. so you'd bust your rear end trying to learn it, then it would be useless in 5 years at best. so they made a language that unified them, plus used english words to boot and one of the creators of that says basically we're in the assembly stage again where theres tonnes of different dialects and they need to be reigned in.
|
# ? May 3, 2016 03:10 |
|
PleasureKevin posted:it went like this [spoilers]the buildings tumbled in on themselves[/spoilers] she said that back in 1961. no electronic computer was programmed with gears. prior to punch cards it was done with plugboards and poo poo like that. IIRC there were some experiments with mechanical computers, but people quickly realized that was bullshit, especially once the transistor was invented.
|
# ? May 3, 2016 03:31 |
|
Doc Block posted:thank you for highlighting all that text so I would know which part was important. you think I highlighted that for you? I highlighted that for myself, boy --Beyoncé
|
# ? May 3, 2016 05:03 |
|
the man who invented the personal computer said that node is bad
|
# ? May 3, 2016 05:38 |
|
love2es6
|
# ? May 3, 2016 06:11 |
|
Doc Block posted:she said that back in 1961. https://www.youtube.com/watch?v=s1i-dnAH9Y4 educate your self bitch
|
# ? May 3, 2016 06:40 |
|
Once solid-state transistors became commercially available, the only place electronic computers didn't quickly replace mechanical ones was simple adding/counting machines like cash registers. edit: that video pre-dates the commercial introduction of the solid-state transistor. I forgot that mechanical computers were a thing for bomb/gun sights in the 1940s and early 50s. Doc Block fucked around with this message at 08:03 on May 3, 2016 |
# ? May 3, 2016 07:57 |
|
PleasureKevin posted:
most languages today are c dialects anyway. even then they're all Turing complete so you basically just have to know if/else and loops and you can basically do whatever in any language
|
# ? May 3, 2016 20:34 |
|
how is es6 significantly worse than any other p-lang
|
# ? May 3, 2016 22:56 |
|
Flat Daddy posted:how is es6 significantly worse than any other p-lang is "this" still hosed up as hell in es6?
|
# ? May 4, 2016 00:06 |
|
|
# ? May 15, 2024 07:12 |
|
Condiv posted:is "this" still hosed up as hell in es6? not really, no. arrow functions, modules, and strict mode (es5) fixed it for the most part.
|
# ? May 4, 2016 00:08 |