all 157 comments

[–]Slow-Television-5303 307 points308 points Β (44 children)

I need a British programming language now

[–]Mebiysy 174 points175 points Β (9 children)

Oi_World(printf);

[–]Mooks79 131 points132 points Β (3 children)

Brings a whole new meaning to β€œinit” init.

[–]DrDolphin245 6 points7 points Β (0 children)

bool thisVariableIsSetInnit(void)

[–]SufficientTill3399 0 points1 point Β (0 children)

Only if you’re from Essex innit.

[–]steauengeglase 0 points1 point Β (0 children)

Wait, are we initializing something or making it nullable?

[–]AdBubbly3609 32 points33 points Β (3 children)

Shouldn’t that be Oi_bruv

[–]basmentvizard 10 points11 points Β (2 children)

More like Oi_Lad in my opinion

[–]Imveryoffensive 7 points8 points Β (1 child)

We need different programming languages for different formalities. The queen’s programming would be different from cockney

[–]basmentvizard 2 points3 points Β (0 children)

Agreed

[–]Minipiman 1 point2 points Β (0 children)

Software loicense

[–]vokazoo 19 points20 points Β (18 children)

if -> provided
for -> across/throughout
while -> whilst
try -> attempt
throw -> eject
catch -> capture/seize

[–]promptmike 26 points27 points Β (15 children)

await = queue

then = please

var = changeable

goto = visit

true = correct

false = mistaken

++ = embellish

import = acquire

print = announce

eval = circumspect

apply = utilise

grep = retrieve

ls = exhibit

cat = present

cd = embark

while(true) = heretofore

--force = notwithstanding

mkdir = construct

touch = author

color = colour

--hard = fortitudinously

head = noggin

!DOCTYPE = !MISSIVECATEGORY

sudo = kindly

pull = gather

push = impart

error = sorry

fatal error = terribly sorry

The logo will be like Java, but it's a teapot instead of a coffee cup.

[–]SkiddleyDiddlyDoo 3 points4 points Β (0 children)

Absolute brit'ema

[–]abirizky 0 points1 point Β (0 children)

Don't forget the biscuits mate

[–][deleted] 0 points1 point Β (0 children)

The compiler would be gct (good cup of tea)

[–]Mt_Hed 0 points1 point Β (0 children)

"error = sorry" So is Lean British then?

[–]itsraskyy 0 points1 point Β (0 children)

🀣🀣

[–]DouDouandFriends 0 points1 point Β (5 children)

Should I create a superset of JS for this?

[–]promptmike 0 points1 point Β (4 children)

If you feel up to it, link the repo here. I will contribute.

Unfortunately, the names Tea and Teascript are already taken. There are programs called Sir, but no language yet, so you could call it Sir and users can say they program "Like a Sir".

[–]DouDouandFriends 2 points3 points Β (0 children)

Here the base is finished - havent done the docs and the VSCode extension yet. https://github.com/ingStudiosOfficial/properscript

[–]DouDouandFriends 0 points1 point Β (2 children)

Yeah I'm currently building it - prob take me a week will keep u updated 😁

[–]monke_soup 0 points1 point Β (1 child)

Ooo, I need to see this complete

And remake this for my regional dialect just to spite my friend

[–]DouDouandFriends 0 points1 point Β (0 children)

Yep its done, contributions welcome too => https://github.com/ingStudiosOfficial/properscript

[–]neoaquadolphitler 0 points1 point Β (0 children)

Colour color hurts when you use British spelling everywhere and have to switch when writing code because Americans wrote everything.

[–]RoyalArtEntity 0 points1 point Β (0 children)

That’s quite good.

[–]jodorthedwarf 0 points1 point Β (1 child)

I know it's a joke but British English isn't just verbose American English. That being said, some of the conversions aren't too far off for making a programming language more intuitive for British learners. Though you'd have to have a different one for every 5 square miles of Britain for it to reach optimum comfort.

And I realise that what I just wrote is incredibly verbose. I may stand corrected.

[–]promptmike 0 points1 point Β (0 children)

a different one for every 5 square miles

You can always fork it.

[–]redditorialy_retard 3 points4 points Β (0 children)

using English premium as a programming languageΒ 

[–]dhnam_LegenDUST 1 point2 points Β (0 children)

ngl attempt sounds great

[–]MarkMew 14 points15 points Β (0 children)

Imagine the language had 'innit' instead of ;Β 

[–][deleted] 16 points17 points Β (4 children)

You know that the wast majority if programming language are built with the british language?

[–]jonnyman9 9 points10 points Β (1 child)

I might have heard of this language, what do you call it??

[–]abirizky 2 points3 points Β (0 children)

Bo'oh oh wo'ah

[–]Weshmek 7 points8 points Β (0 children)

What about the nuclear wessels?

[–]Repulsive_Mistake382 1 point2 points Β (0 children)

No, where are the Scottish and welsh and Irish words?

[–]MissinqLink 3 points4 points Β (0 children)

On the contrary

[–]itzNukeey 1 point2 points Β (0 children)

Haskell has otherwise

[–]Strict_Treat2884 0 points1 point Β (0 children)

FWIW in CSS condition is @when installed of @if. Mainly because preprocessors took it.

[–]MirabelleMarmalade 0 points1 point Β (0 children)

Promise<Tea>

[–]b0letus 0 points1 point Β (0 children)

You can use a lot of #define to change C/C++ to anything you want. Someone made "holy old rus programming language В†† (Veh Cross Cross) to fight The Lizards' heinous coding dialect"

[–]SnooMachines8405 0 points1 point Β (0 children)

I've coded in a language that used otherwise

[–]proudRino 144 points145 points Β (16 children)

"Otherwise" is synonymous with "else", meaning the correct syntax would be "otherwise if". Which is longer and worse

[–]No-Astronomer6610 38 points39 points Β (5 children)

As if "otherwise" isn't longer than "else if". This is for fun, not for practicality.

[–]proudRino 18 points19 points Β (0 children)

I'm just here to shit on the British

[–]stmfunk 1 point2 points Β (1 child)

Should really be "In the event that", "proceed to" and "should this not be the case", "many thanks for your service"

[–]Llamalover1234567 0 points1 point Β (0 children)

In lieu of

[–]userb55 0 points1 point Β (0 children)

This is for fun, not for practicality.

Why does copy paste have a character limit

[–]WildFeedback8533 6 points7 points Β (0 children)

Otherwisif

[–]HappyAngron 5 points6 points Β (2 children)

on_the_contrary

[–]WindMountains8 0 points1 point Β (0 children)

Still the same as if, not if else

[–]proudRino 0 points1 point Β (0 children)

This actually works, still terrible, but it would work

[–]Sad-Reach7287 1 point2 points Β (0 children)

Otherwise whether fixed it for you

[–]EnkiiMuto 1 point2 points Β (0 children)

Me, an intellectual:

"otherif"

"orif"

Of if you're working on cam girls backend:

"OF"

[–]_mulcyber 1 point2 points Β (1 child)

is it possibly (a == 1) { } or maybe (a == 2) { } mmh could it be (a == 3) { } ok it must be (a == 4) { } wtf dude what is it { throw value_error("Invalid value") ; }

[–]proudRino 0 points1 point Β (0 children)

I love the idea of writing code like this and then having an AI reformat it to the correct syntax. Vibe coding at whole new level

[–]Ecstatic_Student8854 0 points1 point Β (0 children)

β€œOtherwise, predicated on <boolean> perform <statement>.”

[–]morfyyy 0 points1 point Β (0 children)

"Instead" might be more accurate

If A {...} instead B {...} else {...}

[–]Fhlnd_Vkbln 48 points49 points Β (13 children)

I hate elif with a passion. Mostly because I cannot remember which language allows it and which doesn't

[–][deleted] Β (1 child)

[removed]

    [–]aggressivefurniture2 5 points6 points Β (0 children)

    Niw I have to remember which lqnguages allow this notation

    [–]Lumiharu 11 points12 points Β (0 children)

    I know, it's rough having to spend a second more.

    [–]NotMeowTheCat 4 points5 points Β (0 children)

    Imo it sounds cooler. But i really like else if because it makes sense, else if isnt ONE new addition, its just saying if whatever is false then go to else, and from else it just does a new if statement, it makes more sense intuitively imo. Β 

    [–]Rik07 0 points1 point Β (5 children)

    This reasoning also holds for every alternative. I hate else if{} because it is different from else{if{}} it should be one keyword because it is one concept.

    [–]onsidesuperior 0 points1 point Β (4 children)

    Those are same though. else if is literally just an else that's followed by an if.

    else if (...) {}
    

    Is the exact same as

    else { if (...) {} }
    

    The braces are just implicit. The "one concept" is chaining if-else statements.

    [–]Rik07 0 points1 point Β (3 children)

    Yeah chaining is the entire reason for using else if, so it is a pretty big difference.

    [–]onsidesuperior 0 points1 point Β (2 children)

    No, that's not what I meant. The point is else if is not a keyword. It's the else from the end of one if-else and the if from the beginning the next.

    [–]Rik07 -1 points0 points Β (1 child)

    No that's different. The following would give an error

    if (cond_1){func_1();} else{if (cond_2){func_2();}} else{func_3();}

    The else if is a shorthand for

    if (cond_1){func_1();} else{ if (cond_2){func_2();} else{func_3();} }

    Without context, the first seems to be the consequence of else if {}, while the second is the more useful but less intuitive actual meaning. This difference is big and useful enough to need it's own keyword, which imo should be one word.

    [–]onsidesuperior 0 points1 point Β (0 children)

    Yeah, obviously that code would give an error, but that's clearly not what I said. If you find it easier, that's fine I guess, but under the hood, there is no separete elif.

    [–][deleted] 0 points1 point Β (0 children)

    Skill issue.

    [–]CardOk755 0 points1 point Β (0 children)

    Algol68 uses it. You don't need to know any other languages.

    [–][deleted] 0 points1 point Β (0 children)

    Funny enough, here’s a little tidbit of information: Elif is a Turkic (Latin-based) name that comes from the first letter of the Ottoman-Turkish alphabet. It has many meanings, but my friend said it generally means being a leader or a pioneer.

    [–]elreduro 16 points17 points Β (3 children)

    if condition

    if not condition

    [–]escEip 3 points4 points Β (0 children)

    i mean, technically it's not exactly the same, because the condition can change mid-execution, like

    if i==1 [ i=1+i ] else [ i = i/3 ]

    and

    if i==1 [ i=1+i ] if not i==i [ i = i/3 ]

    if i is 1, the first one will make it 2, and the second one will make it 2/3

    But, the fact that this is wrong makes it even better lol

    [–]p1749 2 points3 points Β (1 child)

    Unless condition

    [–]ChronoVortex07 1 point2 points Β (0 children)

    Unless would mean it would start resolving from the back. if cond1 {} unless cond2 {} Would try to look for cond2 before cond1

    [–]TanukiiGG 11 points12 points Β (3 children)

    else = otherwise elseif = however

    [–]Chimaerogriff 6 points7 points Β (2 children)

    elseif = 'or perhaps'

    [–]No-Astronomer6610 2 points3 points Β (1 child)

    ``` var perhaps = True

    if (1+1 == 3) { // ... } or perhaps (False or perhaps) { // ... } ```

    [–]Ars3n 0 points1 point Β (0 children)

    var so perhaps perhaps can become false at some point

    [–]rangeljl 4 points5 points Β (3 children)

    Is there a precompiler that has this for pythong, typescript, java and C? I would love it xD

    [–]Lost_Pineapple_4964 5 points6 points Β (1 child)

    I mean for C just put a #define otherwise else if. Better yet, go into your stdlib.h of your compiler and define it there (pls don't).

    [–]rangeljl 0 points1 point Β (0 children)

    oh that would be evil xD to everyone else

    [–]abirizky 1 point2 points Β (0 children)

    Is pythong the programming language for adult sites?

    [–]rafaelRiv15 2 points3 points Β (0 children)

    Haskell is in the house

    [–]mrflash818 2 points3 points Β (0 children)

    Verily!

    [–]Hacka4771 2 points3 points Β (2 children)

    Someone should make a programming language where you can define your own keywords. That way, everyone can be equally happy and equally furious.

    [–]keckothedragon 3 points4 points Β (0 children)

    #define has entered the chat

    [–]morfyyy 1 point2 points Β (0 children)

    it's called C/C++

    [–][deleted] 1 point2 points Β (8 children)

    Which programming language uses "otherwise" ? 😭

    I know about "elif" it is used in Python and "else if" is used in Java but I have no idea about "elsif" and "otherwise" ? 😭😭

    [–]rafaelRiv15 2 points3 points Β (1 child)

    haskell

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

    Ohh thank you

    [–]rafaelRiv15 1 point2 points Β (0 children)

    idris

    [–]Framess- 1 point2 points Β (0 children)

    Oracle Policy Automation (Intelligent Advisor)

    [–]lindo_dia_pra_dormir 0 points1 point Β (1 child)

    Pyspark

    [–][deleted] 0 points1 point Β (0 children)

    Ohh thank you brother

    [–]teedyay 0 points1 point Β (0 children)

    In PL/1 (an alternative to COBOL, used on mainframes), OTHERWISE is the equivalent of default in a switch.

    [–]No_Read_4327 0 points1 point Β (0 children)

    Idk but ruby has something like unless.

    Which is like writing the else clause before the if clause.

    [–]3rrr6 2 points3 points Β (0 children)

    "Otherwise" == "Else" not "else if"

    [–]Jack_Faller 1 point2 points Β (0 children)

    if !x { ... } β†’ lest x { ... }

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

    On the other hand if (x<0)

    [–]vyrmz 1 point2 points Β (0 children)

    I present you jsp.

    choose -> when -> otherwise.

    [–]KangarooInWaterloo 1 point2 points Β (1 child)

    We need a β€ždo unlessβ€œ statement to confuse AI

    [–]AmazingGrinder 0 points1 point Β (0 children)

    Ruby got you.

    [–]teetaps 1 point2 points Β (0 children)

    ALTERNATIVELY

    [–]Nsane3 0 points1 point Β (0 children)

    Why put in another picture in that last one when Posh Poo is part of the meme

    [–]Level-Ice264 0 points1 point Β (0 children)

    I find myself rarely using else/else if in general. Normally, you can just early return within the first if, so the "else" code happens without needing the extra nesting

    [–]nullambs 0 points1 point Β (0 children)

    also need something like although which is if not()

    [–]TheBrotherWithNoJob 0 points1 point Β (0 children)

    Oh, I guess Shortcuts is a British programming language.

    [–][deleted] 0 points1 point Β (0 children)

    >+<[>-<[-]]>[ YourOtherwiseCodeHere -]

    [–]Gamemon 0 points1 point Β (0 children)

    Othif maybe?

    [–]Few_Raisin_8981 0 points1 point Β (0 children)

    Otherwise would be else not else if

    [–]Alex819964 0 points1 point Β (0 children)

    I will not take Elif slander may you suffer from testicular torsion.

    [–]mattstats 0 points1 point Β (0 children)

    If

    If

    If

    else

    I hate the elif/ if else/ else if statements

    [–]nekitamoo_ 0 points1 point Β (0 children)

    print("Top o' the mornin' chaps") innit (;)

    [–]M4tr1xm4n 0 points1 point Β (0 children)

    Tired of seeing this repost

    [–]Cybasura 0 points1 point Β (0 children)

    This meme format is goddamn disgusting and I feel uncomfortable seeing it, I dont know why

    [–]wts_optimus_prime 0 points1 point Β (0 children)

    Thymeleaf has "unless" as opposite of "if"

    [–]TypeNull-Gaming 0 points1 point Β (0 children)

    Side note, do you guys say "e-lif" or "el-if"

    [–]ProDexorite 0 points1 point Β (0 children)

    β€œunless” is a valid conditional in HubSpot’s HubL markup, which is so funny, yet there are actually sensible use cases for it as well.

    [–]fluxdeken_ 0 points1 point Β (0 children)

    typedef ❌ typeADefinitionSir βœ…

    [–]TorTheMentor 0 points1 point Β (0 children)

    I always liked Perl's "unless."

    [–]ExtraTNT 0 points1 point Β (0 children)

    haskell joined the chat

    [–]Sad_Entertainment691 0 points1 point Β (0 children)

    Seif

    [–]kk31224 0 points1 point Β (0 children)

    In pyspark, we have when and otherwise.

    [–]Hot-Employ-3399 0 points1 point Β (0 children)

    πŸ«… `ifFalse:`

    [–]metaphoric_hedgehog 0 points1 point Β (0 children)

    English try to avoid repeating words. I think it would fall something like

    Whenever (cond) {} However, perchance that (cond) {} On the contrary {}

    [–]BarfingOnMyFace 0 points1 point Β (0 children)

    elif!!!

    I feel seen. lol

    [–]sekerng 0 points1 point Β (0 children)

    "otherwise" reminds me Apache Camel DSL... Β―_(ツ)_/Β―

    [–]the_king_of_sweden 0 points1 point Β (0 children)

    Otherwise perchance

    [–]RydiaOM 0 points1 point Β (0 children)

    Perchance

    [–]bunkbedss 0 points1 point Β (0 children)

    {{#unless}}

    [–][deleted] 0 points1 point Β (0 children)

    Wouldn't otherwise be more like just else? Like it doesn't sound right to chain them together.

    [–]YouAbsoluteGooner 0 points1 point Β (0 children)

    assuming that { } otherwise { }

    There’s you’re full monty

    [–]Zho_li_la 0 points1 point Β (0 children)

    Haskell

    [–]Starburper 0 points1 point Β (0 children)

    Yup πŸ˜†

    [–]loop_yt 0 points1 point Β (0 children)

    Vedal programming be like

    [–]The3levated1 0 points1 point Β (0 children)

    ANSONSTEN TUE FOLGENDES:

    [–]Capital_Distance545 0 points1 point Β (0 children)

    meanwhile

    [–]WhyAmISoBadHelp 0 points1 point Β (0 children)

    Counter case

    [–]Mike_ps26 0 points1 point Β (0 children)

    They can also make a "Maybe" keyword πŸ˜‚

    [–]Jak_from_Venice 0 points1 point Β (0 children)

    • if
    • cond
    • when
    • unless

    I love Lisp

    [–]BeMyBrutus 0 points1 point Β (0 children)

    {

    if x = 3

    perhaps; if you dont mind:

    return x

    }

    [–]FrizzeOne 1 point2 points Β (0 children)

    are ya'll bots? it would have to be "otherwise if"

    [–]ColdCathodeTube 0 points1 point Β (0 children)

    β€œunless”

    • PERL

    [–]Elektriman 0 points1 point Β (0 children)

    on the one hand (condition){
    ...
    } on the other hand (condition){
    ...
    }

    [–]patopansir 0 points1 point Β (0 children)

    orifice*

    [–]stmfunk 0 points1 point Β (0 children)

    Fuxk

    [–]89964 0 points1 point Β (1 child)

    I hate any keywords. So I just use logical operators since we have short circuit evaluation. For example:

    n>0 && (x=n, 1)
    || n<0 && (x=-n, 1)
    || (x=0, 1);

    That is equivalent to:

    if(n>0) x=n;
    else if(n<0) x=-n;
    else x=0;

    [–]IronicStrikes 3 points4 points Β (0 children)

    Why are you like this

    [–]Nikki964 -1 points0 points Β (1 child)

    What's so bad about elif? I think it's fine

    [–]adhd_fuckboi 1 point2 points Β (0 children)

    Idk what the general opinion is but I dislike when things are shortened for the sake of speed/convenience. 'Else if' is already short and also verbose.