[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

You may love it or hate it, but Javascript is definitely one

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 118
Thread images: 10

File: too_intelligent_to_not_use_JS.png (15KB, 833x833px) Image search: [Google]
too_intelligent_to_not_use_JS.png
15KB, 833x833px
You may love it or hate it, but Javascript is definitely one of the most controversial languages out there and it is the fastest growing today. Discuss your feelings about JS.
>>
>>59376125
I like it
>>
File: 4L_QJCgMrGQ.jpg (58KB, 500x500px) Image search: [Google]
4L_QJCgMrGQ.jpg
58KB, 500x500px
>>59376137
I love JavaScript. I used to be one of those fags that made fun of JS and people who used it because they couldn't program in C. But now I realize that JavaScript is an extremely important language to use with much higher job outlooks that any other language.

Basically C fags are mad they spent all their time learning a much more difficult language that won't give them as good a career as someone that spent their time learning an easier language that is much more useful and in demand.
>>
>>59376194

for client end yes javascript is amazing. For back end tho its a meme
>>
>>59376125
Shit debugging, shit programming tools (autocomplete, refactoring), weak type system, way to many libraries that do the same shit.

At least we have typescript today.
>>
>>59376125
it's a fucking joke. I mean as an actual language.
>>
>>59376570

is there really that many more benefits to using typescript in VS than just writing raw JS and using chrome dev tools...?
>>
>>59376570
You're just dumb, lol.
>>
>le anonymous function everywhere dude xD
>>
>>59376638
>t. web dev
>>
>>59376588
Typescript addresses most of the complains I have with JS, it gives you a proper debugger, autocomplete (because types), refactoring (because it comes with its own build system).

The chrome dev tools are also great and very important (working with either javascript or typescript), but if you work with typescript the compilation will fail if you mess up and it will not generate the javascript files. It makes you more efficient.
>>
Javascript is a bad general programming language that has been taken way further than it ever should have thanks to webshit spreading to everything else. I use clojurescript instead.
>>
ITT: people who havent used es6 or typescript and still think js is the same as when they did web dev intro in highschool
>>
ES6 has some of my favorite syntax of any language. Arrows are addicting.
>>
Javascript with Flow typing is surprisingly comfy.
>>
>>59376125
You have to download a 1Mb jQuery file just to do basic addition.
>>
It's a necessary evil, but I'm glad it's that ugly, because somehow it keeps amateur programmers from trying some of the good stuff, and that keeps the poojets away.


t. Senior SW Dev
>>
>>59376809

lol wut
>>
>>59376747
>definding such a colossal fuckup of a language
>being a web dev
>>
>>59376125
I hope more people learn Javascript and all its bad parts.

That way there will always be demand for programmers who know a real language.
>>
>>59376809
>jQuery in 2017
>>
>>59376820
var test = "1" + "1" - "1"
alert(test)
>>
File: 20091116-so-large.gif (60KB, 1024x874px) Image search: [Google]
20091116-so-large.gif
60KB, 1024x874px
>>59376820
>>59376834
There is no native addition operator.
>>
>>59376839

you cant add strings together anyway i thought?
>>
>>59376829
t. Professional fizzbuzz writer in C
>>
node and electron will kill the desktop pc
screenshot this
>>
>>59376811
Pretty much this.... But men I sometimes still fiddle around typescript
>>
>>59376125
The main source of nu-"""""programmers""""".
A big source for cancer that's killing the web.
>>
>>59376853
just run it for a good laaugh
>>
File: FelixArgyle2.jpg (434KB, 750x800px) Image search: [Google]
FelixArgyle2.jpg
434KB, 750x800px
You guys do understand that picking a programming language to use shouldn't be based on which one is the hardest, oldest, or has the most memes, right?

I bet every programmer in this thread spends at least as much time on the internet as they do programming. Guess what programming language basically runs the entire internet?

To further prove my point here's a smug anime girl with a condescending smile
>>
>>59376839
>i'm trying to add strings
>why doesn't it work

Is DSP getting into webdev now that his gaming career is over?
>>
>>59376874

lmfao

oh wow
>>
>>59376849
Yes there is. Type "1+1" in the chrome/firefox terminal and tell us what happens.
>>
>>59376839

it gets confused because you cant subtract a string

"1" + "1" works fine.
>>
>>59376860
>projecting this hard
fuck off you NEET
>>
File: 1489382617.png (5KB, 236x128px) Image search: [Google]
1489382617.png
5KB, 236x128px
>>59376888
Genius.
>>
>>59376935
Show us some projects you made then :^)
>>
>>59376879
Why the fuck doesn't that produce an error?
>>
general web browsers need to die, but js cancer is already spreading into the desktop and backends. people are building frameworks to do js faster thinking it'll ever compare to a language where you can manage the memory all under the "a modern computer can handle it" referendum.

I do love reading developers' insights who use JS though: e.g. you shouldn’t generally need pointers. Can you give a more real-world example of a case you’ve encountered where pointers would be helpful?
>>
>>59376947
>using the smiley with a carat nose
>>
>>59376947
>doxxing myself
m8, you're a fucking retard.
>>
>>59376942
Without the quotation marks dipshit.
>>
`> ["10", "10", "10", "10", "10"].map(parseInt)`
Guess the result
>>
>>59376888
>Yes there is. Type "1+1" in the chrome/firefox terminal and tell us what happens.

Now I want you to type that in any other programming language. Go on, try it, it'll probably do something stupid like give an error or not compile or run.
>>
>>59376888
>>59376931
see >>59376948
>>
>>59376962
>t. Professional Fizzbuzz writer
>>
>>59376990
oh wow, is that the best you can come up with?
>>
>>59376996
Provide some proof of employment then.
>>
>>59376125
I love it.
>>
>>59377001
why? I don't need to prove shit to you. Your kek tier language is a joke and web "development" is cringeworthy at best.

I don't need to prove credentials for that statement to be true. I don't give a fuck what some NEET on the internet thinks to get himself out of his fat rolls in the morning.
>>
>>59377025
>t. Unemployed NEET who thinks his expert FizzBuzz skills will soon land him a job writing C
>>
>>59376942
>add a string to another string
>it concatenates them like one would expect
I don't see the problem here
>>
>>59376942
try that in C
printf("1" + "1");
>>
>>59377025
wow m8 I hate webdev but my job is full web app stuff related, desktops apps are death to the mainstream audience, learn Js
>>
>>59377120
we have different opinions. I don't think desktop apps are dead. If they, why don't you go uninstall your browser?
>>
>>59377128
>implying there are normies on /g/
>>
>>59377136
>implying /g/ isn't full of normies these days
just fucking look at this thread.
>>
File: 2817548361.jpg (70KB, 545x416px) Image search: [Google]
2817548361.jpg
70KB, 545x416px
>his programming language doesn't do string arithmetic

 $ cat conc.php
<?php
echo "1" + "1";
$ php conc.php
2
>>
>>59376875
>Guess what programming language basically runs the entire internet

Gonna have to go with C on that one.

Linux is C, so all servers running linux "run the internet". Routers are probably written in C, and they also "run the internet". nginx and apache are both written in C, and they also "run the internet".
>>
File: qtchan.png (206KB, 1280x1440px) Image search: [Google]
qtchan.png
206KB, 1280x1440px
>>59377128
I'm trying to
>>
>>59377169
Servers and routers are built on top of transistors, not C, sp transistors run the internet.
>>
>>59376875
>Guess what programming language basically runs the entire internet?
C.

Javascript is a front-end meme. This site worked just fine for a long time without JS. The entire internet backbone is not built on javastript, and you'd be deluded to think so. It was built on programs written in C.

You can still build a really presentable website in nothing but HTML and CSS
>>
>>59376194
>in demand
Can agree to this.
>much more useful
Bullshit.

Point me to one bootable program that's ever been written in javascript.
>>
>>59377202
what the fuck is that?
>>
>>59376875
yeah, your memscript is useless m8. Every website can function 100% without it.
>>
>>59377218
Wrong, servers and routers are powered by C. It's C that's powered by the transistors
>>
>>59377257
my shitty 4chan browser writtin in c++ with qt; it's coming along, though
>>
>>59377228
>>59377266
You wouldn't even be able to post on this website without Javascript because spambots would flood the site without captchas.
>>
>>59377274
lovely... That's still a desktop application
>>
>>59377286
yes you would. You could use proof of work as an alternative meas of allowing someone to post. It would probably cleanse /g/ as well.
>>
>>59376125
What can JS do that python can't?
>>
>>59377218
All of that would be useless without electricity.

Burning fossil fuels, waterfalls, the wind and nuclear fission run the internet.
>>
>>59377300
Be native in modern browsers.
>>
>>59377286
Wrong. Javascript just provides the UI to the server-side scripts that verify your shit. You could just as well use this site without javascript and use wget and curl to authenticate the captchas. It would be horrible, but you could do it.

By the way, javascript is an interpreted language and the interpreters are browsers and browsers are desktop apps and desktop apps are binaries and all binaries must be written either in assembly or in compiled languages and C is the father of all compiled languages that still see use in the modern age
>>
>>59377290
yeah, i'm trying to uninstall my shitty web browsers. they've overstepped their boundaries way too far trying to be entire OS's with shitty controls, media players, etc.
>>
>>59377296
Yeah that will show those people with botnets!
>>
>>59377331
At some point it becomes uneconomical to spam with proof of work if it is implemented correctly.
>>
>>59376125
>You may love it or hate it, but Javascript is definitely one of the most controversial languages
the first clause implies the second clause you mongrel
>>
>>59377336
If you have 10,000 computers on your botnet then you have the spamming capacity of 10,000 posters.
>>
>>59376125
install gentoo and clojurescript
>>
>>59377325
All binaries must be implemented on machines that are built with transistors. We should just get rid of C and directly program FGPAs.
>>
>>59377357
No, that would be terrible
>>
>>59377128
>apps

Fuck off.
>>
File: out.png (318KB, 1600x900px) Image search: [Google]
out.png
318KB, 1600x900px
>>59377202
tfw my qt3.14 emacs client still doesnt post
>>
>>59377375
>get triggered this easily
>>>/tumblr/
>>
>>59377286
solving captcha (load image then send post request) gives you a cookie that you put to a multipart post request to post to 4chan... you don't need javascript for that; just get and post requests and cookies
>>
>>59377165
php concact operater is .
>>
>>59377362
No, what's terrible is not having a memory safe way of performing string concatenation without jumping through a bunch of hoops.
>>
>>59377393
And no one is going to bother doing that because it's a huge fucking pain, so this site would not exist.
>>
>>59377411
>4 u
>>
>this language powers the web
>>
>>59376194
Java = jocks of the world
Js = what u want 2 learn when ur starting out, exploded n still growing lots of jobs, prob in the Js will be future 9-5 office job

Python, Cs > everything eles

Ruby, php = dying breeds but worth specialising in for potential big bucks


Lisp = god tier languague, extremely difficult, expect a reward of 50k a year after uve master it, lol

At least this is what ive learned so far as Ive just step into the tech world
>>
>>59377424
>I don't know how to read the function signatures of map and parseInt
>>
>>59377424
you're fucking retarded
>>
>>59377438
learn clojure(script), elisp, and clisp. install gentoo
>>
File: huh.png (215KB, 1280x1440px) Image search: [Google]
huh.png
215KB, 1280x1440px
>>59377411
solving captchas is more of a pain in the ass than implementing 1 get and 1 post request and saving 1 cookie. how lazy are you?
>>
>>59377424
Try Number instead.
>>
>>59377455
good job, you just made the world's shittiest web browser
>>
>>59377486
bro, he made something. Which is awesome. Now he has something to work on and refine.
>>
>>59377438
>lisp
>extremely difficult

haha no

Common Lisp can be a little overwhelming at first because of the fuckhuge number of functions and macros that are part of the standard, but once you get comfortable with the doumentation (CLHS mostly, with a coule reference books), its not bad. It goes pretty deep, there are ways to write lisp for best performance (type declarations, compiler directives, etc), but if you really want to, you don't have to pay attention to that.

Elisp is a fucking cakewalk and the built in documentation system in emacs makes it even easier.
>>
>>59377486
it's just for 4chan, but yeah, comfy is still a ways away.
it does auto save images to disk in an organized way and opens everything in my default desktop app which is nicer for me than the site already.
>>
>>59376967
[10,10,10,10,10] ??
>>
A language so horribly designed that most serious libraries written to use it use pre-processors to turn it into other languages.
>>
>>59377607
no,
parseInt(string, radix);

open the console in dev tools and check it out
>>
>>59376125
Javascript is the most powerful language in the world.
>>
I used to make fun of javascript and how ridiculous it was to use.

Eventually I realized that I was looking at it from the wrong perspective. I now look at it as challenge to master, not something to avoid.
>>
>>59377228
Disable the meme then retard, see how many sites support your dumb ass.

Js isn't a good language but with nobody offering a native browser alternative (with VB script/dart both dead), you're stuck with it. Potentially forever until native apps don't require a 40mb download to do the extremely simple shit websites provide. Stay mad c cuck
>>
>>59376125
I use noscript for a reason.
>>
>>59377870
yeah, autism
>>
>>59377777
>javascript is a challenge
>>
world's biggest meme
I wish we could start over and make lua or scheme standard for websites and manipulating DOM
>>
>>59377896
I should elaborate. Writing good code in javascript is a challenge
>>
>>59377777
Nice digits!
>>
>>59377954
thank you for noticing me senpai
>>
>>59377935
>muh good code
If it works, it's good code
>>
>>59378084
kek
>>
>>59378084
prove the code works
unit tests dont count as proof
>>
I personally think it's the best language. It's all paradigm. It uses prototypes. Weak typing is the future. Really it is the language of the future. too bad most javascript programmers are web dev cucks
Thread posts: 118
Thread images: 10


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.