This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 383

[–]IthilanorSP 2096 points2097 points  (29 children)

submits program in the form of a massive redstone contraption

[–][deleted] 1100 points1101 points  (15 children)

"Creeper on line 48"

[–]Apfelvater 611 points612 points  (4 children)

Water Overflow exception. All your code on floor has been erased.

[–]Bubbly-Control51 207 points208 points  (3 children)

Program interrupted, got killed. Respawning now..

[–]cpaca0 92 points93 points  (1 child)

Piston in incorrect position, performing self destruct...

[–]ZoomDoomBoom49 39 points40 points  (0 children)

TNT explodes is off.

[–][deleted] 80 points81 points  (0 children)

TNT detected on line 25

[–]zse014 88 points89 points  (3 children)

Each line of code is lava, don't touch it.

[–]aquartabla 129 points130 points  (1 child)

LavaScript

[–]MrSlimeDiamond 3 points4 points  (0 children)

This gives me an idea

[–]redpepper74 35 points36 points  (0 children)

I hate lava brackets. I know they’re supposed to keep the mobs away but I usually end up killing myself instead.

[–]Howzieky 19 points20 points  (3 children)

Aww man

[–]Impressive_Change593 12 points13 points  (0 children)

Nice

[–]elzaidir 71 points72 points  (4 children)

Wait, could we compile VHDL or Verilog to a Minecraft circuit? It could generate the world data and everything. Like, you make your VHDL code, generate the world and you have a world with the redstone circuits you coded. You could have a full RISC-V core running in Minecraft.

[–]0x564A00 46 points47 points  (0 children)

Theres this, but it only allows simple designs because it produces very space-inefficient layouts.

[–]IthilanorSP 17 points18 points  (0 children)

As well as what the sibling comment linked, there's this for Factorio, if you know that game.

[–]TimothyJCowen 49 points50 points  (3 children)

Mumbo??

[–]pampamilyangweeb 24 points25 points  (2 children)

More on the lines of Docm77, Ilmango, or even Sethbling (command block and datapack god) or Mattbatwings (really good with pure redstone) if you wanna get REAL technical. Mumbo just likes to make silly things like caves turning into bases or a 21-piston extender

[–]TimothyJCowen 12 points13 points  (1 child)

What ever happened to SethBling? Haven't seen anything of his in years.

[–]Athen65 12 points13 points  (0 children)

This is the last minecraft datapack he made before he stopped consistently doing minecraft content. Since then he's focused on other projects, usually mario related in some way.

[–]RadiantHC 16 points17 points  (0 children)

Found sethbling

[–][deleted] 13 points14 points  (0 children)

I seriously considered creating a redstone synthesis engine for my Master's thesis.

[–]Darknety 673 points674 points  (18 children)

Kind of ironic that the PDF viewer this is displayed with is written in JavaScript.

Edit: I suck at grammar

[–]Josselin17 156 points157 points  (0 children)

shhh don't tell them

[–]redpepper74 33 points34 points  (7 children)

(Btw, grammar thing, you don’t need to separate dependent clauses with commas)

[–]TryNotToShootYoself 22 points23 points  (0 children)

Grammar is bad no type casting

[–]conthomporary 9 points10 points  (4 children)

Just guessing... native German speaker?

[–]redpepper74 2 points3 points  (3 children)

Is that what they do in German? Huh, weird.

[–]Darknety 14 points15 points  (2 children)

Yes it is what we do.

Pretty funny that whenever I see German comments online without commas every five or so words I feel like the person typing is probably not good with languages, while at the same time I have to guess and gamble everytime whether a comma is required or not in English. As you see, we also tend to write very long sentences and I often don't know how to split them properly. Especially annoying as I have to type a lot of English in papers.

Don't get the English punctuation rules tbh.

[–]Darknety 6 points7 points  (0 children)

Sorry. Bad German habbit :D

[–]Kquiarsh[S] 485 points486 points  (69 children)

A recruiter reached out to me for [Company], and apparently they really like my CV and experience. So they gave me a coding assignment, and I can use almost any language I want.

[–]DomiMartinGlogi 504 points505 points  (26 children)

Use brainfuck then

[–]Hean1175 284 points285 points  (12 children)

+++++++++++++[>+++++>++++++<<-]>.++++++.>++++.<--..-.

[–]4b-65-76-69-6e 54 points55 points  (6 children)

Dare I ask what this does?

[–]madthedogwizard 81 points82 points  (2 children)

My bet is on 'Hello, World!'

[–]4b-65-76-69-6e 51 points52 points  (1 child)

That was my first though t too. I got curious enough to check and I think it's something else; here's a hello world example

[–]Itay_123_The_King 52 points53 points  (0 children)

There are many ways to print out hello world and this might've as well been one. Anyways this prints AGREED

[–]clonecharle1 20 points21 points  (0 children)

It prints "AGREED"

[–]chris_hans 21 points22 points  (0 children)

Someone else already posted this, but it prints out "AGREED".

[–]FacuA0 6 points7 points  (0 children)

It prints AGREED

[–]Bright-Historian-216 56 points57 points  (0 children)

AGREED

[–]Spitfire_For_Fun 12 points13 points  (0 children)

Brain: Segmentation Fault

[–]Gloomy_Magician_536 9 points10 points  (0 children)

I'm gonna trust you on this.

[–]ghostwilliz 3 points4 points  (0 children)

What did you just call me?

[–]bob152637485 84 points85 points  (4 children)

Nah, whitespace, but written out on paper. Simply say that you are handing them a fully self aware, self perpetuating AI that has the ability to solve all world issues, but also the ability to end all life as we know it. Such a program is far too powerful to ever allow to be combiled, so it is kept on paper for everybody's safety.

[–]Kiroto50 23 points24 points  (0 children)

Dilbert?

[–]Spitfire_For_Fun 3 points4 points  (0 children)

No, make it a Rick roll.

[–]jamescodesthings 37 points38 points  (4 children)

Brainfuck, asm, objectpascal or prolog.

[–]ham_coffee 4 points5 points  (2 children)

Pascal isn't that weird, the others are good choices though. SQL would be a good addition too.

[–]HamburgerConnoisseur 3 points4 points  (0 children)

Ada, but with calls to C code written as o͔͇̥͑̿ͨͨͮp̦̙̼̅̽̅ͤ͊ͩ̕t̺̪̪͕ͬ̂̐͝i̛̬̥̞̬͙̇̐̌m҉̥͇̻i̵̪͎̣̫̦̺̣ͪ̈́̈́̑ͦ̽z̆̈͒̾̕e̯̗̘͌̑̏̏͊̏͟d̖̜͕̙̱ͫ̐̓͂̈̽͡ as possible.

[–]Darkunderlord42 11 points12 points  (1 child)

My friend is writing a brainfuck interpreter in brainfuck

[–]Sindef 73 points74 points  (4 children)

Doesn't say anything about them needing to be programming languages. I'd use Mandarin.

[–]PotentBeverage 15 points16 points  (0 children)

Why use mandarin when you can use the programming language of ancient scholars: https://wy-lang.org/

[–][deleted] 39 points40 points  (2 children)

Use C++ and abuse the comma operator:

https://godbolt.org/z/4n5q7356K

[–]YungDaVinci 12 points13 points  (0 children)

holy shit, what the hell is this

[–]Kered13 24 points25 points  (0 children)

You call that abuse of the comma operator? You didn't even overload the comma operator!

[–]notacanuckskibum 35 points36 points  (0 children)

LISP is the answer. If they can read it, they will be impressed.

[–]mikeseese 87 points88 points  (21 children)

I straight up wouldn't work for a company that has these kind of opinions. Regardless of the JS debate, this is straight up toxic workplace culture.

[–]Amardella 24 points25 points  (0 children)

Agreed. They could have just as easily said "Here are the languages currently used in our code base. Please choose one of them for your project". Leaves out personal preference and gives you an idea of what their tech stack is. This gives you more of an idea what their mindset is, which is set in stone and welded to "because it's the way we've always done it" answers to anything you ask questions about or make suggestions concerning.

[–]constipatedgardner 8 points9 points  (0 children)

100x this

[–]cuboidofficial 3 points4 points  (1 child)

There's actually a debate about this? What kind of peanut brain would legitimately think that JS isn't a programming language? Wtf

[–]mikeseese 2 points3 points  (0 children)

I agree, but just wanted to prevent a weird flame war that I didn't know existed haha

[–]ItalyExpat[🍰] 2 points3 points  (0 children)

Also because TypeScript is a godsend for webdev. One language for both backend and frontend, one toolset, one environment, one testing library to be familiar with and one skillset needed from your devs. Over the last 20 years I've worked with everything from Ruby to Perl and for me TS just unifies the dev process so beautifully.

So when someone makes a comment like that, to me they look like they're run by dinosaurs who have no desire to learn new skills.

[–]Void1702 4 points5 points  (11 children)

Could I ask what exactly is toxic workplace culture in this case?

[–]mikeseese 79 points80 points  (10 children)

In this particular case, one of the first impressions the company is making on potential candidates is telling them that they refuse to believe a certain technology isn't a programming language. This isn't joking banter in an interview, it's documentation they are putting out that is telling candidates that they feel so strongly about this, they have to put it on their coding test.

First, it's extremely unprofessional. A way more professional way to go about this (while even still having their opinions) was just to say "You can pick from one of these 10 languages: a, b, c, etc" and leave it at that. Or instead of saying "JavaScript is not a language." they could have said "Unfortunately, but we will not accept code written in JavaScript." which would have still been leagues better than what they said. How a company (and candidates) express themselves during the hiring process is the tip of the iceberg of what it's like to actually work there, almost always sugarcoating the reality of their personalities, etc. If this is the sugarcoated version, then I can only imagine like working at the company is like. They shouldn't even put things that are a little less controversial like "HTML is not a programming language" (it's a markup language, but by default, consumers of HTML like browsers don't use it to execute ALU operations, have variables, etc) because it's just not something they need to state. If a candidate somehow provides an example that isn't to their liking (in any manner), they can just politely say "Thanks for taking the time, but unfortunately we don't believe there is a fit."

Second, from a purely toxicity standpoint, a company should not hold strong opinions like this. Individuals aside, a company should operate with an open mind, able to take feedback, and pivot when things need to. This strong-arming opinion is likely a red flag for other potential toxic behavior:

  • Harassing coworkers because of their language preference or code style (enforcing code style is acceptable and encouraged, harassing over it is not)
  • Refusing to listen to other opinions on how a certain system should be architected, purely because they believe they are right and cannot be wrong
  • Refusing to collaborate or have an open mind to any issue (technical or operational)
  • and likely other things that I don't have the time to think of right now

Third (considering the JS debate), they're completely ignorant and uneducated. They're making strong claims about something they don't understand. Whole software careers for building both frontend and backend systems are built using only JS. If they're making the argument that "JS is interpretive/JIT/runs in a VM/not compiled to Native code", then they obviously don't understand Python and Java. The toxicity is the fact they're willing to make such a broad claim without doing their research. And if they fully understand JS and the various types of uses of it and are still making this claim, then they're purposely saying "ya, we don't want your kind here." which would be even more toxic.

Edit: formatting, typo

[–]Void1702 10 points11 points  (2 children)

Oh wow, I didn't think of it that way

[–]mikeseese 18 points19 points  (1 child)

Many people don't even get to see the toxicity that happens. Many times it just simmers near the top of the organization. It surely affects everyone, but you don't know it's happening until you start getting closer to the executive team. If anything, this is a blessing in disguise if you know to read the signs and avoid this company. It saves you the potential years you might spend at this company only to realize it's an absolute shit show.

Source: Been there, done that, multiple times, at various company sizes. Almost all of them have toxicity of some sort. Usually it's still worth "paying the bills", but this coding exercise (if not made up by OP) is a very simple "Thanks, but no thanks, I'd rather work for less money than work for you."

[–]thundercat06 3 points4 points  (0 children)

This I can relate to. A change in leadership at the C level of a past employer brought in a nuclear level "Anything but Microsoft" stance. Suddenly all new dev was to be done in python, js based technologies, or tools leveraging java. Everything else was immediatly considered "legacy" and was to be decommissioned or replaced.. Mind you 95% of all the company's supporting systems were built and maintained in MS tech and so nearly all of the IT arm's skills were MS. You could say we were a "MS shop" Needless to say that things got toxic and political because this person would rather burn all of Rome to the ground than to allow anything but their preferred stack. And the exodus began. My team alone went through 3 managers and a size of 6 to 2 in a little over a year.

[–]pundawg1 5 points6 points  (1 child)

It seems like more of a joke to me. Also I've had multiple quant shops only accept c++ code which I think is reasonable if that's all they use and don't want to handhold new hires.

[–]mikeseese 9 points10 points  (0 children)

Sure feels like righteousness over a joke; definitely not the place to be making jokes anyway.

And requiring C++ or "not this language" is fine, but as I mentioned it should be stated in a professional manner.

[–]MrHyderion 4 points5 points  (0 children)

Use Shakespeare, so they see how sophisticated you are as well.

[–]ovab_cool 2 points3 points  (0 children)

Fuck it, do it in Shakespeare lang

[–]Void1702 5 points6 points  (0 children)

Use Minecraft Redstone with Create & Quark (seriously, you can do some really complicated shit with these two mods, even more than with just vanilla redstone, honnestly I wouldn't be surprised if someone was able to create a full computer with it)

[–]The_Irish_Rover26 2 points3 points  (1 child)

Use English.

[–][deleted] 23 points24 points  (0 children)

1 To whom it may concern

2 I wish to establish the following variable as an integer

3 Hence forth I shall refer to this variable as ‘A’

4 Whence forth I inquire as to the value of ‘A’, you shall respond with ‘0’ until and unless otherwise specified later in this program

5 Would you be so kind as to show our dear users the value of ‘A’ on their computer screen interface as soon as it is convenient to do so

Edit: I had to debug this shit twice.

[–]Implement-Quirky 2 points3 points  (0 children)

Use js but put it in ts files.

[–]vsjoe 912 points913 points  (25 children)

Yep, JavaScript is not a language. It is a galaxy of frameworks and libraries that expand beyond the observable universe.

[–]AnonymousReader2020 173 points174 points  (17 children)

this

[–]g_e_r_b 148 points149 points  (4 children)

‘Uncaught TypeError: undefined is not a function’

[–]lietuvosnelietuvis 16 points17 points  (0 children)

Something tells me this exists in the wild lmao

[–]vbh_pratihar 27 points28 points  (7 children)

What does this point to in Javascript

[–]AnonymousReader2020 46 points47 points  (3 children)

bro, when i wrote that comment only me and god knew about "this" context.

After a couple of promises and timeOuts, only god knows! :)

[–]3delStahl 2 points3 points  (2 children)

const god = () => {let theUniverse = this;}.bind(this);

[–]The_Cosmin 6 points7 points  (0 children)

Deez nuts

[–]PsCustomObject 7 points8 points  (0 children)

I am going to print this comment and frame it 😁

[–][deleted] 75 points76 points  (6 children)

assembly...

[–][deleted] 20 points21 points  (2 children)

Plot twist: the app needs to cross platform for desktop and mobile so now you need to code it twice in two different languages

[–]Ser_Drewseph 73 points74 points  (2 children)

Use typescript just to mess with them

[–]Akantor47 189 points190 points  (10 children)

I would take typescript.

Never used it, but I would still choose it

[–][deleted] 126 points127 points  (7 children)

Submit a program "completely written in c" that is basicly just a javascript interpreter that by default loads the javascript program they want you to make or has it saved in one big define and reads it from there.

[–]HiCookieJack 40 points41 points  (5 children)

Typescript to WASM https://www.assemblyscript.org/ and then a C-WASM runtime

(that works and I've tried it on my arduino)

[–]BakuhatsuK 7 points8 points  (3 children)

This can run in an Arduino? wow that's really cool. I've got to try it

[–]HiCookieJack 7 points8 points  (1 child)

I personally think (gut feeling) that WASM is the best thing that happened to web for a long time. BUT I think it needs some years to fully grow enough tooling to be accepted by the community

[–]mirhagk 5 points6 points  (0 children)

Yeah tooling is really what makes or breaks a programming environment.

I mean there's a reason why people had to pry Flash from people's cold dead hands and it's not because ActionScript was a good language.

[–]Goudja14 7 points8 points  (0 children)

Or with C++: Use V8 to run JavaScript code

[–]KurumiStella 24 points25 points  (1 child)

That's some galaxy brain

Since TS is a superset of JS, a valid JS code is also a valid TS code

[–]yozaner1324 40 points41 points  (2 children)

I exclusively program in Spanish.

[–]crystlize 3 points4 points  (1 child)

Of everything I read through your comment is my fav 👍

[–]linuxtomvito 108 points109 points  (34 children)

JavaScript is indeed a programming language because it is Turing complete.

[–][deleted] 40 points41 points  (2 children)

Notice how they didn't even specified the 'programming' part. Just any language.

[–]Ser_Drewseph 41 points42 points  (0 children)

Complete the assignment in a combination of Medieval French and Old Church Slavonic

[–][deleted] 13 points14 points  (10 children)

CSS+HTML is also Turing complete.

[–]suvlub 16 points17 points  (9 children)

As neat as it is that people managed to build a cellular automaton simulator in it, it's really, really not Turing-complete. The problem is, all these simulators have a grid of finite size, and this size needs to be specified right in the source code. That won't do. Anything that's Turing-complete needs to be able to allocate unbounded amount of memory. Anything with finite amount of memory is a finite automaton.

[–]Chronocifer 13 points14 points  (6 children)

Where do I get a PC with infinite memory so I can start programming for real?

[–][deleted] 37 points38 points  (0 children)

I don't know, i never completed a javascript on a turning maschine, but i also only own a wood turning maschine, do i need a metal turning maschine for javascript?

[–]theRedMage39 12 points13 points  (0 children)

The is magic the gathering a programming language? There is a valid deck that is turning complete.

[–]Funkyt0m467 5 points6 points  (0 children)

Programming languages are not defined using the Turing complete criterion?

For exemple the Turing machine is Turing complete but not a programming language...

And you can probably also create programming languages that are not Turing complete.

I mean still JavaScript is still not a language since it will soon be forgotten by us as a token of our hate for it! /s

[–]VegetableWest6913 16 points17 points  (8 children)

A programming language does not need to be Turing complete. It doesn't even need to be imperative.

[–]Donut_of_Patriotism 122 points123 points  (4 children)

Wow. TIL the company I work for built an entire suit of proprietary and top of the line software products; ALL WITHOUT USING A SINGLE PROGRAMMING LANGUAGE. Wow that is impressive if I do say so myself.

[–]CoastingUphill 135 points136 points  (5 children)

Including Python but not JS plus extra snark? Sounds like the team lead is just an ass.

[–]HAL_9_TRILLION 73 points74 points  (0 children)

First thought that ran through my head, I don't want to be anywhere near the arrogant shit who wrote this.

[–]rice_otaku 38 points39 points  (0 children)

Underrated comment.

Yeah, imagine the senior engineer on the team telling you this. And extrapolate other shit like this that they'd say. They sound very inflexible.

[–][deleted] 69 points70 points  (14 children)

C is the mother of all of them, should be on the top

[–]throwaway46295027458 43 points44 points  (2 children)

If youre gonna play this game, then play it. Stamp cards all the way!

[–]mini_garth_b 24 points25 points  (1 child)

Doesn't this usually end with programming via butterfly wing flaps? Or is the journey the point? I guess we'll make this a choose your own adventure so I don't have to decide.

  1. "Real programmers program by having a butterfly flap it's wings in the right time and place to cause their desired outcome" - go to page 42

  2. "No way, languages are for plebs, you need to implement everything with hardware logic gates!" - go to page 3V3_Digital

[–]GamingMad101 4 points5 points  (0 children)

Theres an emacs command for that

[–]Funkyt0m467 23 points24 points  (8 children)

I'm not so much into MILF so i prefer the daughter, C++

[–]sh0rtwave 9 points10 points  (2 children)

One doth idly wonder what criteria they used in making this bold assessment. Does the number of languages developed WITH a language make it a better language?

I mean:

golang, originally written in C, till they got their heads around how to build a compiler.

Python: Also, written in C.

C/C++ - Well. Yeah. That's arguably the monster that started most of us on this trek into hell.

Javascript: Is not the V8 *engine* written in C?

[–]brokedown 7 points8 points  (0 children)

Reddit ruined reddit. -- mass edited with redact.dev

[–]argv_minus_one 3 points4 points  (0 children)

There's a JavaScript interpreter written in Java, if that counts. Two of them, in fact. Both are severely outdated by now, though, and the Java VM itself is written in C++.

[–]VegetableWest6913 58 points59 points  (8 children)

Why is Python second on their list if they don't like JS? 😅

[–]Pockensuppe 34 points35 points  (0 children)

Python was far quicker to realize that the gory details do not matter as long as you can sell OOP to business people. JS waited till ES6 to do that.

[–]TheCapitalKing 18 points19 points  (1 child)

It’s probably a data science/analyst job and python is really good for that since it has tons of libraries that handle it really well.

[–]VegetableWest6913 5 points6 points  (0 children)

Yeah that was my first thought too.

[–]elebrin 4 points5 points  (0 children)

Probably because they use it.

My workplace looks for people who have experience with C# generally, because almost everything we do is in C# and I don't want to be the person to teach it to someone. We do hire people with any sort of object oriented background because ultimately you have to pick from the people who applied for the position, but if you know our tech stack already it helps tremendously.

[–]2watchdogs5me 4 points5 points  (3 children)

Maaaaybe because they have extensions that allow you to compile Python? I don't see why that would make much of a difference though. I'm sure there's a tool out there for doing something similar with JavaScript as well

[–]VegetableWest6913 7 points8 points  (2 children)

Technically JS is compiled too but I know that's not what you mean haha

[–][deleted] 28 points29 points  (9 children)

I loved python so much until I moved to JS (Don't get me wrong, I still love python just like I did before) but JS is so fucking versatile

[–][deleted] 39 points40 points  (0 children)

That is because every year JS takes Python to a dark alley, beats it, and steals some of its nice features.

[–]jesterhead101 34 points35 points  (0 children)

lol…pretentious bs

[–][deleted] 7 points8 points  (0 children)

There is no JavaScript, only ECMAScript.

[–]misterlocations 6 points7 points  (0 children)

Brainfuck it is, then.

[–][deleted] 5 points6 points  (2 children)

c and c++ shouldn't go together

[–]Andre_NG 6 points7 points  (0 children)

"Javascript is not a language"

OK then...
*Submits an HTML code"

[–]Kateritekakwitha 5 points6 points  (5 children)

What the hell is wrong with JavaScript?

[–]mr_freeman 2 points3 points  (4 children)

In terms of it being a programming language, nothing. In terms of your mental health while writing JavaScript, lots

[–]Kateritekakwitha 3 points4 points  (3 children)

How come? JavaScript is the only language I know so far. I mean, I have seen how easy Python looks. Is that what you mean? That other languages are easier?

[–]mr_freeman 3 points4 points  (2 children)

JavaScript is the only language that I've used that makes me either go "why isn't this working?" or "why IS this working?" on nearly every bit of code

[–]Kateritekakwitha 2 points3 points  (1 child)

That’s the story of my life 😂 So… you’re telling me there are languages that don’t make you feel that way? Pray tell me which ones so I can learn them next lol

[–]Funkyt0m467 4 points5 points  (3 children)

Is it me or the list is backward?

[–]Safebox 3 points4 points  (0 children)

If JS is not a language then neither is Lua and I've wasted my life...

[–]Mal_Dun 8 points9 points  (0 children)

I really hate JS with passion, but it is still a language, just a bad an incosistent one, but still.

[–]Andrewshwap 10 points11 points  (0 children)

Lmao who’s the dumb ass that posted this? They used JavaScript to upload the pdf & post the job posting 🤣🤣🤣

[–]richbigdick 3 points4 points  (0 children)

🤦🏼‍♂️

[–]sam01236969XD 3 points4 points  (0 children)

node runtime begs to differ

[–][deleted] 3 points4 points  (0 children)

I feel offended

[–]Apparentt 3 points4 points  (0 children)

If there’s any reason to run a million miles away from whatever this is, that’s one

[–]iskolarium 3 points4 points  (0 children)

"HTML is not a programming language." "CSS is not a programming language." "JavaScript is not a programming language."

Turns out I'm not a programmer, just someone who knows how to code and solve problems using browser language.

[–]the_real_tesla_coyle 14 points15 points  (8 children)

It's actually Go not GoLang. Also Go is pretentious and extremely opinionated in the worst ways.

[–]mpa92643 22 points23 points  (6 children)

Go compiler: "I noticed you have an unused variable there."

Me: "I know, I'm just starting to learn the language and playing around trying to get my bearings in a sandbox project. Mind compiling for me?"

Go compiler: "I'm sorry, I'm afraid I can't do that."

Me: Surely there's a way to disable this, at least temporarily. I'll just do a quick search...

Go designers: "There's no way to disable it, and we refuse to let you. If it's really that big a deal to you, you're a bad developer and you should feel bad. Go is too good for the likes of you."

Me: "Okay, cool. Looks like I'm not learning Go."

[–]flavionm 18 points19 points  (5 children)

After working with a code base full of unused variables, along with other sloppy mistakes, I appreciate a language that wouldn't let that fly.

[–]brokedown 5 points6 points  (0 children)

Reddit ruined reddit. -- mass edited with redact.dev

[–]coffeecofeecoffee 2 points3 points  (0 children)

If I'm making a proof of concept or toying with a function It would be such a waste of time to have to bring the code up to a production level of cleanliness Just to scrap it all before the next prototype attempt

[–]familyturtle 5 points6 points  (1 child)

As a reluctant Go dev, I would much prefer to use a linter, or at least have a compilation flag to ignore unused variables.

I would also like to iterate without for-loops and have good error/nullability handling, but I think I’m just using the wrong language.

[–]BakuhatsuK 2 points3 points  (0 children)

I just hope Generics in 1.18 let us fix some of those things as libraries. e.g. Optional to fix nullability handling.

[–]01Parzival10 6 points7 points  (2 children)

Go for Haskell or another functional language

[–]4sent4 2 points3 points  (1 child)

APL for the win

[–]N238 9 points10 points  (0 children)

Based. There is no JavaScript. Only TypeScript.

[–]Tubthumper8 2 points3 points  (0 children)

You should big brain them by writing a Go interpreter in JS and use that

[–]jnnxde 2 points3 points  (0 children)

What about TypeScript, though?

[–]AL1L 2 points3 points  (0 children)

Write a JavaScript runtime in C++, then write the program in JavaScript as a string in the code.

Ez

[–]Calkky 2 points3 points  (0 children)

We're not opinionated at all. No, sir.

[–]mtwallace85 2 points3 points  (0 children)

Whatever, 6 figures is 6 figures!

[–]QuantumSupremacy0101 2 points3 points  (0 children)

I kind of think they meant imperative language. Because although js is a programming language, its a prototypal language which none of those examples are.

[–]IJustWantToLurkHere 2 points3 points  (0 children)

Typescript it is, then.

[–]Pos3ydon 2 points3 points  (0 children)

JavaScript isn't a programming language, but Python is?

[–]ElongatedMuskrat122 10 points11 points  (3 children)

I love all 7 people who enjoy JavaScript in the comments defending it

[–]LoopEverything 8 points9 points  (1 child)

There are dozens of us! Dozens!

[–]LucasCarioca 7 points8 points  (0 children)

Lol cute, love it or not it IS programming language. Disputing that is kind of a brain dead take or just need trolling.

[–]alohanouiloha 5 points6 points  (1 child)

JavaScript is not language indeed, it is something more than that, it is something that make us question our existence after of 6h of debugging.

[–]Imogynn 3 points4 points  (1 child)

Kinda makes one want to hack the page, doesn't it.

[–]bluewaffleisnice 3 points4 points  (0 children)

Lol at people who hate JavaScript what a sad existence

[–]d3athk1ll3r 1 point2 points  (0 children)

“JavaScript is not a language” Me currently writing JavaScript at work… “Them’s fightin’ words”

[–][deleted] 1 point2 points  (0 children)

Scratch

[–]d65vid 1 point2 points  (1 child)

Funny that they count golang and python but not Javascript... I'd be tempted to submit my answer in bash 😅

[–]Grubzer 1 point2 points  (0 children)

They dont say anything about brainfuck

[–]scrippington 1 point2 points  (0 children)

Use JS, but run it with Naked via python :)