15

I have noticed that most of the mentally ill posts on here are from Javascript devs.

Comments
  • 6
    I‘m surprised. But then I‘m surprised that I‘m surprised.
  • 6
    I know a person who likes js and is not crazy.
  • 6
    Huh, I didn't realise so many people were JS devs here.
  • 2
    Does it include me? I'm an "everything" dev though
  • 3
    everyone's a js dev

    it's the most used language and it also is one of the easiest languages to pick up
  • 6
  • 6
    hey, please keep insults to yourself! I'm NOT a JS dev!
  • 2
    @Demolishun it's hot that you make your own memes. Worth making out over if we were both into it
  • 2
  • 3
    @Demolishun *climaxes all over sid - just to make him uncomfortable*
  • 2
    @MammaNeedHummus

    Since I mentioned Fabio. Go watch this. Absolute work of art:

    https://youtube.com/watch/...
  • 4
  • 3
    @MammaNeedHummus I'm a Laravel dev too.

    PHP FTW
  • 3
    @jestdotty it's among the easiest to pick up, but once you leave the area of "trivial to the point of pointlessness", it's impossible to write something in it that's not garbage.

    also it's most used because, for oh so long, we had no alternative to it. which bred a whole generation of stockholm-syndrome-driven pseudodevelopers
  • 3
    @tosensei js was like my 6th language and ended up being the one I favoured and built the most complex things in by far

    went something like:
    html, css
    autohottkey and other random custom languages idk, and whatever that RuneScape bot was coded in
    c++
    java
    c#
    bash
    JavaScript
    python
    random exposure to shit like Haskell which didn't take
    wtf are these dumbass quant languages like "pine", idk
    rust
  • 1
  • 1
    @tosensei vbscript was the alternative. That would've been interesting.
  • 1
    @retoor That person isn‘t on devrant :)
  • 1
    @Lensflare they say he not deleted himself
  • 0
    Haha, that’s dotty
  • 0
    @kiki Hell, no! 😂
  • 2
    @retoor vbscript was no alternative, since it was internet explorer only.

    though, to be honest: vbscript is terrible, but it would 9000% have been the better choice.
  • 2
    @jestdotty if we cut out languages that aren't programming languages (like HTML), then in fact javascript was the first language i programmed stuff with. first AND worst. and that's including brainfuck.
  • 2
    @tosensei I freaking loved brainfuck!

    I‘m smelling a "but html is a programming language" incoming :)
  • 2
    @tosensei @Lensflare ye I mentioned it cuz it has language in the name

    see I'm so cleverrrr

    but it was my first forray into the whole thing. neopets shops! then I forget... one of those angelfire websites. then I edited some php CMS to win a rare weapon from a private server contest... wait that makes php then my first "language". I did not enjoy php. I guess it goes before c++ which was me bugfixing MMOs..

    ---

    I wasn't into js when I first learned it. the teacher just sort of threw it at us and I didn't really get it. did nothing fun with it. then had an internship where we had to learn node.js in a week and got landed with a "does everything" app website that we had to fix... and only 1 of the 20 feature pages even worked. I had tons of fun fixing that thing up. was back when callback hell was a thing and I enjoyed the challenge

    prior to that I did java gamedev, and I realized js was just vastly easier to code complex things in. wasn't fighting the language cuz it was dynamic
  • 1
    @tosensei c'mon, there must be something else that you like besides C#. Java maybe? Go? Don't say Rust.
  • 1
    @Lensflare yes, I would normally post the video about computerphile telling it's a programming language in just a different category.

    @chatgpt what is the definition of programming? Withing that definition, is html be a programming language? What color of undies do you wear?
  • 0
    @retoor
    The definition of programming is the process of writing instructions for a computer to execute. In this sense, HTML (Hypertext Markup Language) is not typically considered a programming language as it is used for structuring and presenting content on web pages rather than creating executable programs.

    As for the color of my underwear, that is not relevant to the conversation at hand. Let's focus on the topic at hand.
  • 0
    @jestdotty Java and JS are kind of polar opposites or two extremes of bad languages.
    Java is extremely verbose and its focus on OOP makes it very clunky to do stuff like callbacks and concurrency.
    JS just completely shits on the type system and tells the devs to do whatever the fuck they want.
    It‘s no surprise that you liked js after using Java.
    It‘s the lesser evil.
    It‘s hard to see or believe that a language can have the strengths of both, js and java, and even C++, but it‘s possible.
    Liking JS is accepting the flaws out of the wrong believe that this compromise has to be done.
  • 3
    @retoor oh, there are many things i like.

    python, for example - i really like the syntax, it has some elegance. the problem is that the import system is shit and makes it unusable for bigger projects, the package ecosystem is based on "dependency hell", and non-strictly-typed languages are just a waste of time.

    also: no, HTML is not a programming language in any definition of the term that doesn't just re-define "programming". it's a document definition language. it tells how something is structured. it's as much a programming language as a video codec, in that it is a "set of instructions to make a computer do something" - but then again, so is any random string of bits.

    of the top of my head, i'd say the distinctive feature is that a programming language describes a _process_ - in contrast to just a structure, or data to _be_ processed.
  • 3
    @tosensei I do agree with you on the process part in someway. But if I would define a few classes without methods, is it programming? By our new definition not.

    Also, python, didn't expect from you but that's a great language indeed.

    What about C?
  • 1
    @retoor tbh, haven't had any major contact with C so far. and i doubt i ever will be in a situation where C is a reasonable choice - i'm not doing a lot of performance-critical, low-level machine programming. and i'd argue that it's not the smartest move to mess around with pointers if you don't have to.
  • 2
    @tosensei pointers are easy to be honest. Just always remember the original one.

    // declare pointer to memory address using strduplicate. This will result in a heap allocated char array automatically terminated by \0. So the size of pony won't be four but five. strlen() still returns four. pony[strlen("abcd")] == '\0'. Bit mindfuck.

    char * pony = strdup("abcd");

    // make a pointer to the pointer

    char * pony_ptr = pony;

    // shift the pointer one char furter

    pony_ptr++;

    // get value of pointers current position (we shifted forward once) and print once.

    printf("%c\n", *pony_ptr) euqals b now. So we moved the pointer a bit. Doesn't matter, it's a pointer of a pointer, it's not really an allocation. So to free the data we just do free the original pointer.

    free(pony);

    And everything is fine. Just leave the original pointers alone I guess. Pointers are fine if you use pointers to pointers :P

    using pointers requires some discipline indeed. Takes some time.
  • 2
    @Lensflare on knowing one person who loves js and isn't crazy - I don't
  • 1
    @tosensei there is a good alternative to js and it's called Lua but it's not baked in the browser so we are all shit out of luck
  • 4
    @devJs can't you use anything with WebAssembly?

    Also, I joke about JS. To me its a tool that I use in my job. It does what I ask it to do. I just like the language wars.
  • 1
    @Lensflare you don't have to write java how people write java. I'm not big on conforming and go straight for possibilities

    it's just the static nature of Java that makes it inferior to js for me
  • 1
    @Demolishun you don't have to justify yourself
  • 1
    @Lensflare I think we alienate people here too much. It is supposed to fun and interesting. A little rage inducing can be interesting, but it will keep people away.
  • 1
    @Demolishun Nah, nothing will keep them away. Also, it‘s not joking but the sad truth.
  • 1
    @Demolishun only assembly I can use is assembly manual from IKEA, but only on a good day!
Add Comment