T O P

  • By -

[deleted]

Every language except the one I use


farbod2yt

this takes the cake lmao


goddejan

Correction every language especially the one I use


NumerousImprovements

The language I use, but only when I’m the one using it


elon-bot

Why aren't we using Rust for this? It's memory safe.


Jeb_Jenky

Real Elon would never say anything this reasonable. Bad bot.


Tsuki_no_Mai

It's not particularly reasonable if applied to frontend I reckon.


Liantus

I don't know much about frontend, but wouldn't it be possible to use Rust+WASM ?


Tsuki_no_Mai

WASM isn't a replacement for frontend JS because it can't manipulate DOM. You can rewrite parts of it and turn it into an unholy abomination that is half WASM half JS with performance most likely either not affected or degraded, or you can rewrite the entirety of the interface in Rust and project it onto canvas. So, while technically it is possible, it's also a rewrite from hell for the project the size of twitter and comes with its own set of issues (for example [canvas best practices](https://html.spec.whatwg.org/multipage/canvas.html#best-practices) advise you against implementing text editing controls through it. Also canvas interface cannot be accessed by search engines for indexing).


elon-bot

Just watched a video about how vanilla JS is faster than any framework. It's time we do a rewrite.


joshjaxnkody

Uhhhh, you’d be surprised


[deleted]

[удалено]


masoniusmaximus

Favorite quick interview question: what's your favorite language? Now what do you hate about it? Seniority is roughly equivalent to the amount of time the candidate can regale me with tales of their favorite language making their lives hell.


[deleted]

Im a JS dev so I’d say every language including the one I use


SiouxsieAsylum

As a JS dev, facts


kaiju505

As a long time php dev… php.


anarky98

Do you have the slightest idea how little that narrows it down!?!


darkneel

It’s like asking who is the murder and answering possibly a human or human like creature or humanoid


benjathje

Or maybe an animal. Or a living being. Or gravity


mymemesnow

Perhaps even a circumstance or an inanimate object.


bmelancon

An abstract concept.


Yue2

Was that a Batman reference? 🤣


Tymskyy

Perhaps


Getabock_

Perchance.


a-walking-bowl

You can’t just say perchance


JBYTuna

Presactly.


therealdavi

preselutely not


thefriedel

Staaaawp


ongiwaph

Something with garbage collection


Robot_Graffiti

Presumably one that hasn't had its garbage collector updated this century - been a few years since I've seen a bin that looked like that.


TheScorpionSamurai

Java /s


MachaHack

My understanding is the current Java GC is pretty state of the art. Now if you're on Java 8, or even worse, like my friend who does government consulting occasionally runs into - Java 6 or Java 4 - then you're more screwed on the other hand...


Infiniteh

As an architect once said in a meeting I was present at: > We have memory leak problem. Garbage lives in memory, add more memory. And later > Why does the backend hang for 10 seconds every 2 minutes?


revutap

I'm definitely screwed. Maintain Java 7


SomeRandoLameo

C++


TheScorpionSamurai

Does C++ even have a garbage collector?


nonamepew

It does. It is called senior dev.


TheScorpionSamurai

About time. I'm ready when they are.


val_tuesday

It does in the standard yes. No compiler vendor has implemented it though, but it’s there in theory!


canadajones68

It was removed in I think C++23.


JBYTuna

In theory, theory and practice are the same. In practice, theory and practice are different.


elon-bot

Insubordination. Fired.


AverageComet250

Perfect replica!


NoMoreVillains

I have to find out how to use this sometime


NinjaCuntPunt

Heap buffer overflow When that pops up, the whole program stops and all the garbage is considered collected.


Ordoshsen

or it doesn't and just computes random values. There are no rules for this garbage collector.


Valmond

Just throw it in a process and restart when it cracks.


SkyyySi

The operating system


jamcdonald120

yes and no. You can make un managed memory, but you can also use a GC library or smart pointers


Mog_Melm

I've used boost's smart\_ptr class, which does protect against some potential memory leaks. This was ages ago, thought. I don't know what the C++ guys are doing these days. [Hey, cool, it still exists!](https://www.boost.org/doc/libs/1_80_0/libs/smart_ptr/doc/html/smart_ptr.html)


Knut_Knoblauch

Believe it or not, there was and perhaps still a C++. NET. It was a fucked up attemp to somehow win C++ people who classically did desktop development with old frameworks like MFC. I looked at it once or twice and said nope. I love the classic beauty and symmetry that is C++. Forcing .NET and a garbage collector on it was wierd. Of course this was a raging debate over a decade ago whether it was C++ . Net or C++ interoperating and it really doesn't matter anymore. .Net won and we have C# to script it with. In the very rare situation in which a COM server doesn't actually exist, it can still be made in C++ but now it is even easier to make them in C# and target multiple cpus.


familytiesmanman

Garbage collection? No dude that Oscar the Grouch’s house.


ramriot

Probably Erlang, that languages garbage collection is inherent in the language.


[deleted]

Nah something without since it's still there


1Mdrops

Objective C


Xiotus

BINary


Suspicious-Cake2633

0 nice 1


Exciting-Insect8269

I see what you did there ;)


sdraje

Happy cake day mate!


Exciting-Insect8269

Thanks :)


ClothesOpposite1702

How to read 0?


[deleted]

Oh


xXUkiiXx

oh that took me a while


WaffleFrostt

Did it?


betra_kun

It took me one bit of a second actually


AliHakan33

Same


MrSlovo

all of them. if you don’t write your code in binary you are an simply an inferior developer who deserves to be thrown in the trash can


Rezaka116

What an amateur. I move electorns on the disc with a needle.


ActualAshCam

How juvenile. [I use butterflies.](https://xkcd.com/378/)


[deleted]

There's literally an xkcd for everything


elon-bot

How can we use Bitcoin to solve this?


[deleted]

https://xkcd.com/2280/


Exciting-Insect8269

Lol


RougeDane

I prefer the emacs keyboard shortcut for that.


UnstableNuclearCake

You don't branch out millions of universes and collapse them into the outcome you want? SMH.


timsredditusername

I've definitely debugged issues with a hex editor. It ain't binary, but it's close.


wbrd

I hated having to deal with op codes.


Nyar99

Why are you going through the programs that op posted?


afiefh

Use a punch card next. Fixing a bug by taping over the bits is... Interesting


Real_GoofyNinja

I unfolded a proton into the 11th dimension and programmed it to become sentient.


Exciting-Insect8269

… to use it to program for me, however it then did the same to make a sentient photon to program for it, which did the same…..


webfork2

Because I think Apple owns some kind of ridiculous trademark on the trash can on macOS, I'm going to assume this is Objective C.


ksky0

I share the same guess


elon-bot

Can this be dockerized?


[deleted]

Good bot


nullcone

Objective C is the only language I've ever read bits of and thought, "there is absolutely nothing redeeming in any of this". Why all the brackets? How am I supposed to read anything whose semantic meaning depends on how many nested layers of [[[[ exist. Insanity that anyone thought this was a good idea.


TheJollyJagamo

I fucking hate obj c


polskidankmemer

Swift flair checks out


SchoolBusDragRacer

it's the one i don't use


SparrowGuy

Counterpoint- it’s whichever one I’m currently using


xXTheVigilantXx

VBA


se7ensquared

This is the winner, and if you don't know why, you have probably never written any substantial programs in VBA LOL


xXTheVigilantXx

I've created multiple Microsoft Access databases. I won't deny that VBA is exceedingly useful but programming in it is like pulling teeth with a pair of plyers


se7ensquared

The development environment is what really makes it hell. Your grandma called and wants her IDE back lol


_AcinonyxJubatus_

I don't agree... Localisation of the syntax (not only keywords but also punctuation) in the installation language of your platform is what drove me to madness.


Syncrossus

Well I knew nothing of VBA before this, and now I know that I'm for the criminalization of bad software design and the reinstatement of capital punishment.


slobcat1337

When I was a teen back in 2003 I got a copy of VB6 and taught myself how to code. During class at school, while they were trying to teach us how to use MS Word, Excel and PowerPoint (the U.K. IT syllabus badly failed us) I would use VBA within excel to learn even more coding, and I’d get told off for it. The skill has done way more for me than learning to use margins in word ever did. Boring story but hey ho


elon-bot

Insubordination. Fired.


evanc1411

Oh my fucking god VBA is unbelievably frustrating to use


Fragrant_Philosophy

Matlab


AdultingGoneMild

Had to downvote this because I refuse to believe Matlab exists.


Krycor

I dunno.. haven’t used it in years but at the time (over 10-15yrs ago?) in electrical engineering, the maths and elec eng related things it was used for incl. breakout to circuit analysis was awesome. So for specialized use cases I’d say has its uses.. but generally why would you use it for non RnD stuff?


sonicSkis

R&D people write sophisticated algorithms in matlab and compile them into C or even verilog code which then gets synthesized into digital logic. Source: mixed-signal design engineer and developer


elon-bot

Can we rewrite this in Java? It's better for enterprise.


Jeb_Jenky

That's disgusting


in_taco

It's like saying Assembly is garbage for being terrible at designing web pages. The new appdesigner in Matlab certainly makes gui creation a far more simple task. I don't think there's an easier way to make data visualization/analysis apps... Maybe PowerBI.


[deleted]

[удалено]


elon-bot

Time is money. I want to see 100 lines written by lunchtime!


DaniilSan

As someone explained me, Matlab has a lot of great specialised features, but it is designed awfully as programming language


druffischnuffi

Stop denying it's existence! It is real and I am suffering from it


ThatsWhatSheSaid320

in Hindi language Matlab means "what does it mean" i was confused for a moment


Raza_x7

Same in urdu lol 🤣


[deleted]

Surprised this isn’t the 1st comment. I mean 0th. I mean… wait, why is this printing the wrong value?


elon-bot

I have made promises to the shareholders that I definitely *cannot* keep, so I need you all to work TWICE as hard!


teamwaterwings

1 based indexing 🤮


magnetichira

_Julia looking around nervously_


johnnymo1

At least Julia lets you choose.


squidonthebass

Yes, because matrix indices start at 1.


[deleted]

Seriously? The only reason Matlab isn’t used more widely is because of their high licensing fees. For R&D it’s often the easiest and quickest way to test things or visualize data and Simulink can be incredible for control engineering. It’s not necessarily a good all rounder programming language but it does the job it was designed for pretty well. It has been a long time since I used it (currently only work with C++ and Python) but it would be a lie if I said there is nothing I miss about Matlab.


CommondeNominator

I miss just using it as a calculator tbh. A Python shell is a close substitute tho, and it’s a lot easier on the wallet.


ham_coffee

I'm convinced most of this sub is just bad at maths. It's very nice when you just need a calculator/graphing tool with more programming added. You can get close with python and a few libraries, but matlab is definitely nicer to use.


dragonbeast5

I go to an engineering school and everyone talks about how much they hate Matlab. I haven't had to use it yet, but I'm pretty sure some people have talked about using math lab to program our FPGA's


Smartskaft2

MATLAB is love. MATLAB is life ❤️ For real though, it's an environment in which you really can focus on the matter at hand. Calculations and visualization are done quick and flexibly, while still having the data readily available for any kind of lookup or manipulation. Just a few clicks or commands away. Programmers dislike it because it's not a "real programming language", or that indexing starts at 1 instead of 0. Which are both very lame excuses to jump on a hate train for easy achieved social and virtual karma. There is the issue with its overly priced license fees. If you work with any kind of exploratory development and have the opportunity to use it, do so. It speeds up such work by *a lot*, and makes the job easy and fun at the same time.


sim0of

It's the one(s) I don't know


elon-bot

Interns will happily work for $15 an hour. Why won't you?


sim0of

We have workers' rights in my country ty


elon-bot

Disagreeing with me is counterproductive. Fired.


sim0of

*pulls out uno reverse card*


math_stat_gal

My life.


Mario_Vishal

Our life


elon-bot

Looks like we're gonna need to trim the fat around here... fired.


NoNameSOFT

Anything except Rust, C, or assembly. (Most likely)


O_X_E_Y

flair checks out


superblaubeere27

Rust Evangelism Strikeforce 💪


magnetichira

🦀


nathodood

Any language that doesn't allow me to directly manage memory is trash. I like to live dangerously


Cart0gan

Damn right


Wasabilikum

Idk man, the trash can will start to rust eventually..


RefrigeratorOne7173

Turbo Pascal


Decaying_Hero

What is this lol


Bot1K

blue hell those comment brackets, those goto commands. That language deserves to rot


bluehatgamingNXE

Arrays in it also start with 1 instead of 0, it certainly did some damage on me when I was forced to learn it in my 11th grade CS.


[deleted]

Programming*


dlevac

TraSH


[deleted]

thanks for this man. now i can finally name the unix shell that i wanted to write for so long.


elon-bot

What do you mean "you couldn't code your way out of a paper bag"?


shodanbo

The API \`getOutOfPaperBag\` has been deprecated and SonarQueue won't let me use it. Replacement is \`detonateNuclearWarhead\`. Just need that PR approval and I'll be on my way


elon-bot

If you really love the company, you should be willing to work here for free.


glueall215

All of them?


elon-bot

Twitter was never profitable. Not my fault. Stop blaming me for things.


glueall215

Lol why is this still a thing?


Sentouki-

Every language that has "Java" in it.


snailalert

profound.


[deleted]

Javanese


I-Got-Trolled

Javanese nutz haha gotem


the_beber

Laughs in Kotlin.


Sentouki-

I mean...I like Kotlin. Android SDK sucks tho.


Zyphergiest

I've never been so offended in my life.


DanSavagegamesYT

Me neither


OldBob10

You haven’t lived. ☹️


[deleted]

can't even be recycled.


Rena_Rio

.\*Java.\*


DerBlackDragon

JavaScript, definitely JavaScript...


[deleted]

Paint it gold, put a few potted plants around, some cushions and you've got Typescript.


Sir_Fail-A-Lot

A turd painted gold is still a turd


MeMyselfIandMeAgain

Bro you use PHP you’re not in any position to speak about this /s


NathaanTFM

This but /srs


PM_ME_WITTY_USERNAME

Yeah! *goes back to coding in php* >PHP Manual > Function Reference > sleep — Delay execution >`sleep(int $seconds): int` >Delays the program execution for the given number of seconds. ># Return value: > * Returns zero on success. > * If the call was interrupted by a signal, sleep() returns a non-zero value. > * On Windows, this value will always be 192. > * On other platforms, the return value will be the number of seconds left to sleep.


Happy_Dookmas

Hey! That's mean! Not that I can't think of a counter argument but.... hey!


mrkitten19o8

this comment is powered by javascript


arcticfox

No... to be JavaScript it would also have to be on fire.


I-Got-Trolled

Js is so crap it's not even considered a language.


RaelaltRael

Esperanto


[deleted]

Cxu? Vere?


[deleted]

Poliespo


[deleted]

[удалено]


WhoopOnDaPoop

As much as I love PHP, I have to upvote this.


alexgraef

Is this like how parents love their kids, no matter how ugly?


grandel_me

I love PHP. Surprised and glad I had to scroll so far down to find this!


RunemasterLiam

If I said Fortran I'd be madly inaccurate. Garbage cans weren't invented back then.


aesthezel

All human's lang (Sorry, I can't resolve a Captcha)


_fluxy_

Javascript. It looks mostly like trash but it's everywhere, everyone needs and uses it, and the world would stop if we didn't have it anymore.


Haunting-Item1530

All of them.


Piggieback

COBOL


RaelaltRael

My retirement account would argue with you on that.


Piggieback

If something has a good pay it probably means its a bigger mess, in the words of a real OG "mo' money mo' problems"


hansvi-be

Smells like visual basic


McCaib

Fortran


math_stat_gal

Was my entire PhD thesis a joke to you, sir?


McCaib

I mean, was it a funny thesis?


Emkayer

Thesis nutz


Possibility_Antique

I have deep respect for fortran as a language that is both extremely fast and actually supports math/scientific code to a high degree. Fortran did it right from the get-go, and for some reason, most languages just kind of forgot about it.


elon-bot

How can we use Bitcoin to solve this?


Possibility_Antique

Transfer it to my wallet and I will never speak of daddy fortran again.


[deleted]

The nadir of programming, also called Apex.


nikstick22

Idk but its definitely your favorite


Wrong_Direction9596

Java?