Follow

If you could end COVID-19 by sacrificing one programming language, which one would you choose and why is it PHP?

@gudenau
nooooooooo, pick any language but Python!

I vote for visual Basic, on the grounds that I have no love for it, it's neither elegant nor easy, does not teach you anything but I've had to learn it at some point. So I'm not killing some language I don't even have a relation to.
@fribbledom

@gudenau
oh come on -- if you're going to diss my favourite, you should at least have an argument of some sorts...
@fribbledom

@Mr_Teatime @fribbledom All the Python people either say it's a non issue, I'm making it up, it's a feature not a design flaw or it was required to have the language grow.

I'm tired of having the same arguments over and over again.

@gudenau
See, I think you're completely free not to like Python for whatever reason you choose -- as long as you're okay with me absolutely adoring it.

Realistically, I'm quite aware that it has limitations and isn't the best solution for every problem -- but it's certainly made it much harder for other languages to appeal to me.

I suspect it might just not be good for whatever it is you like to implement (e.g. fast/bulletproof code), or the way you prefer to write it.
@fribbledom

@fribbledom If y'all could wait until Monday in that case, I would really appreciate it. 😅 I just need PHP to exist until after this demo 😛

@fribbledom Do all of the languages influenced by it magically go away, too? If so, I pick ALGOL. ALGOL without a second thought.
@fribbledom i have a bigger grudge against javascript to be honest, but php is also a good candidate :shrug_akko:

@fribbledom i think there's a really strong argument that murdering Cobol would measurably improve the world

@mdhughes @fribbledom the trouble with wiping out Rust is that people are still tremendously dedicated. They would just rebuild it. Now PHP...nobody would want that back.

@fribbledom i hate javascript just as much as the next person but if you think it's worse than PHP you're very mistaken

@xnx38h
It may not be worse of a language, but it's the only one that works in a web browser. By removing JS, you make it so that the web is no longer a platform for developing applications.

PHP on someone else's websote can't hurt you.
JS on someone else's website can.
@fribbledom

@wolf480pl @xnx38h @fribbledom Also some file formats, such as epub, use/allow JavaScript "b/c reasons".
So those file formats would become safer as well.

@fribbledom definitely javascript, or maybe python...

Haven't used enough php to hate it yet, but I've heard stories.

@gcrkrause @fribbledom that's debatable...

I'm a very strong believer in strong typing, and that a function should have one return type and not be able to pass/assign whatever you want to anything...

(That's not to say you can't create datatypes that can represent multiple types, you can have things like union values that can represent multiple types, they just need to be explicitly defined)

@gaurdianaq @fribbledom jeah thats totally true for programming languages, but thats not really what Python is made for from my point of view.

@gcrkrause @fribbledom I was under the impression python was made to be a general purpose programming language?

What would you say it's meant for?

@gaurdianaq @fribbledom well, maybe thats actually, what its made for. what i wanted to say is: its not what I think Python is great for.

For example I think python is a great language for learning, for prototyping, for some linux scripting if bash scripts are not capable.

@gcrkrause @fribbledom I can agree about prototyping, though I feel like if it's your first language it could let you learn some bad habits that won't really transfer well to other languages, and I'd guess it's probably easier to go from say, java to python than the other way around

@gaurdianaq You can learn bad habits everywhere, its not really the job of the language to prevent this. But at least you are enforced to do proper indentation and have some semantic sugar which lowers the mental load while reading and writing (thinking about something like "if var is not whatever"

@Newpa_Hasai @fribbledom why would anyone throw away a low level language like c? O.o

@fribbledom Do instruction sets qualify as programming languages? They are the language used to make the hardware do what you want, after all. Because, in that case, x86, to maximize damage.

@kekcoin @fribbledom Absolute. I mean assembler isn't much more then the instruction set mapped in shortcuts and nobody complains about it not being a programming language. So absolute!

@fribbledom Is it an option to keep both in sealed vials in my basement, to serve as a threat to future generations?

@fribbledom I’d end VBS, VBA, and PowerShell.

Not taking questions at this time. ( :joy_cat: )

@fribbledom i would choose Visual J++, which is a real language by none other than microsoft

(en.wikipedia.org/wiki/Visual_J)

@fribbledom I was going to actually choose COBOL, because that kind of Hell should no longer exist. It is the 21st century, after all.

@jazzyeagle @fribbledom that's actually a cool idea

let's get rid of all languages and platforms not developed this century

@hirojin @fribbledom Not exactly what I meant. I meant get rid of all the stuff that is no longer *relevant* in this century. Linux, C/C++, Python... All made in the 20th century, but still relevant today.

@jazzyeagle @fribbledom to quote Tannenbaum in 1992: Linux is obsolete.

🤷‍♀️

@fribbledom
Can someone explain to me the hate that #php gets? I find it to be a pretty decent and mature oop language. Especially considering its beginnings.

@yisraeldov @fribbledom I don't know either!

There are of course inconsistencies among because as you said if you consider its beginnings it was designed for a completely other usecase.

The good part is that php is getting improved with new and up to date features.

@fribbledom I'd sacrifice JavaScript, really. It's a language designed for a different purpose than what it is being put to use for today. Things have been added, but it's all mostly syntactic sugar. PHP gets hell for its syntax, but anyone taken a good look at the proposal for declaring private methods/properties in JavaScript? It's so bad the issue tracker for the standard is full of complaints, yet they plowed ahead anyway.

@fribbledom
COBOL. Imagine the world's wealth and debts being gone instantly.

@fribbledom I thought I'd be unpopular for suggesting javascript, but I guess not! Some of the things it's being used for is criminal.

@fribbledom If you don't use it it isn't a sacrifice, it's an execution.

@fribbledom
JavaScript. Sorry, not sorry.

Not a bad language in itself, but the most abused language of all time.

@fribbledom would brainf*ck count? At least that doesn't mean anyone loses their job ^^

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!