#dev-general
1 messages ยท Page 381 of 1
ew
I'm scared to use Java 11 things, I dunno if my prof is using Java 6 or not bro
Basically
every lambda is a risk
so like if (someVar is Clazz: newVar)
no
That's KT dkim what the fuck are you doing
that's exactly what java does now, but what's the benefit
this is dkim we're talking about here lol
he says he prefers that over Kotlin's smart casting
๐ค
listen dkim
it's easier to implement but in terms of usage? there's really nothing bad about smart casting
there is literally 0 reason to not want smart casting
but
ok
No, i want to hear the reason, but what?
nvm
if you don't want to use properties from the new object, you just use them on the new object
e.g. ```kotlin
if (sender is Player) {
sender.sendMessage("Hello!")
}
I don't even think casting allocates any extra memory on the stack
CommandSender has sendMessage ๐ฅฒ
Shhh
it's an Audience, ofc it does
@half harness Audience is an Adventure thing
oh
well adventure docs broken
also, is it just me or is treating all gamerules as a string annoying lol
I mean, the only other option is a data class that wraps them all separately
and level.dat seems to treat them all as strings
there is no different reference types on the stack level
they're all just one
yeah
in fact smart casting probably doesn't do anything whatsoever
it just verifies it at compile time
doesn't really need to, yeah
since I would've thought casting would be free, as you're not even doing any conversion
it's not completely free in regular casting because of the checkcast instruction
since the type you're casting to is generally the actual (or a parent) of the runtime type
but in the case of smart casting the compiler can prove that the type is correct in that scope and thus no checkcast should be needed
yeah
also, one thing I do kinda miss from Java is the ability for all primitives to kinda just work together
e.g. ```kotlin
val byte: Byte = 1
if (1 == byte) // error - cannot compare byte with int
BS like that
terrible example, ik, but you get the point
bytes are extremely common at the network level
you can compare a byte to an int in Java iirc, yeah
I'd think integer literals shouldn't be comparable to bytes
well just use clojure
everything uppercase
Code in JS, no types
code in typescript, too many types
haha
no primitives in Kotlin
code in haskell, everything is function
every time I say it, I want to learn more about haskell
the compiler is smart enough to turn the objects into primitives in bytecode though, but they don't exist in Kotlin
see that's what im saying
no need for autoboxing /unboxing when you have no primitives ;)
wdym
it still compiles to JVM bytecode remember
the whole point of autoboxing is upgrading int to Integer
well yeah but I mean to the end user
we don't have to worry about that :)
man, valhalla is gonna be really useful at destroying collection (un)boxing
valhalla?
maven is horrible it won't accept kotlin one bit
valhalla plans to allow primitives to be used in generics iirc
I mean I don't see why we even have primitives
I have 0 clue how to do it gradle just accepts it
why not make everything a capital boi like Kotlin, for consistency
primitives are actually very useful
Kotlin with maven is a nightmare
yea it is
yeah Kotlin + Maven != good
gradle it goes in straight away
to the end developer? the only reason the difference exists in java is C precedent and their refusal to allow operator overloading
not true
I see no reason why everything shouldn't be a capital boi
kotlin + gradle == good
primitives allow you to avoid the runtime overhead of a class on the heap every time you want to use a number
bro to the end user
they can do primitives on the spooky compiler side all they want
but why should I need to know the difference
https://i.imgur.com/FdKnoKA.png i can't load any kotlin files from in here
you joking
nope
who would use maven & kotlin
whyyyyyy
thats fuckin' stupid
src/main/java only
ughhhhhh
get a load of this guy, eh?
u need to put kotlin code in the java folder for maven
you can just change the sources folder
lol
in maven
maven is 20 years behind
you can specify one
yea
the only cool thing about maven is that its build file is named pom
Gradle is the future of JVM build tools
yes
it is a reasonable design decision to not shove a bunch of magic in your compiler
If primitives hadn't been planned on the language side to begin with, the JVM wouldn't have turned out the way it is
Maven is just yesterday's news lol
gradle is the future of everything build tools. it compiles C/C++ better than makefile ever could dream
sure you can use gradle for clojure
Gradle could definitely be better though
Specially the API
I bet there is a plugin
well probably
Kotlin DSL > Groovy DSL 
but its not common
so i have to put all kotlin files with the java files?
yep
I mean do you use Kotlin? End users can't directly access primitive types and it's great! Again, I see no reason besides your arbitrary fear of "don't shove a bunch of magic in your compiler" when the compiler literally does so much crazy stuff already
if you want to use maven, yes
you can specify a path in the pom
javac doesn't do any crazy stuff at all
maven was built for Java only really
I'm 100% sure it optimizes a bunch of stuff
yeah javac is very plain and boring in the way it functions
and using primitives is just yet another optimization in Kotlin for instance
It barely optimises anything
most of the optimisation is done by the JIT compiler, not javac
that shit is crazy
it does magic
so it could be like that!
because yes, Java is compiled twice
the simplification of types is for everyone's best interest
The difference between java and kotlin is that java came first and the JVM was initially written for that language. What kotlin does wouldn't be good design if they controlled the JVM
that is my point
I'm 100% sure they would have a way to store numbers and stuff without the overhead of classes lmao
To the end user, there shouldn't be a difference is my point
Does compileClasspath also include the implementations?
yes
yes I agree
anything in the classpath at compile time is in the compile classpath lol
that won't change the fact that the system was made over 20 years ago and it is the way it is now
oh yeah no I get that
implementation was literally only created so Gradle could split compile into api and implementation, that's it
Yea Elara VM to change the industry
I'm praising Kotlin for abolishing the arbitrary lines between primitives and classes when your usage of them remains the same regardless of how they're stored
BEAM
and if they'd considered all the things everybody's considering now back then the JVM would have been completely different
oh yeah, Kotlin had 30 years of hindsight to work with and it shows haha
I mean look at CLR
Yeah
lets get the KVM, throw out java altogether
Damn, but wait, wouldnt implementations be what we actually want to fetch?
Kotlin does have a native runtime
@old wyvern
You can see what Java would have become if they'd known the (agreed upon) problems before creating it by looking at C#
Thats not what im asking bard
Bardy that's not what we're talking about
implementation shows up in compile classpath
what
C# was made to resemble java, not the other way around o.O
I swear Java came first
yeah
I don't think so because implementations are shaded by shadowJar while we need it to be compileOnly or compileOnlyApi since it'll "be available" at runtime
yeah but they improved upon it is his point
you are misreading my message
compileOnly appears in compile-time classpath but not runtime classpath
He's saying Java would've been better designed if they had the hindsight of being able to look at how C# improved on the design
Wouldnt that also end up us trying to download stuff that should actually be present only at compile time
well i'd say that probably holds true for any language tbh
in the areas we were just discussing, yes.
There must be a way we can prevent shadow to not shade specific stuff
true
look at how c# handles primitives and generics
C#'s conventions though are fucked lol
Debatable
does C# not do type erasure?
it does not
baked types bard
do not get me started on opening squiggly bracket on a newline
not just that, the naming
but that's not even the only thing I mean
No because we'll be looking for the configuration slim(or a better name) which extends compileOnly instead of going for all
Something like slim "group:id:version"
bro can you remove your embed thanks
ahh
Any luck with that working?
i never remove embeds
yeah I don't like the capitals at the start either. but I will literally murder someone over the squiggly bracket syntax
Trying but gonna have to fix an issue with my pc, it crashed installing Nvidia driver ๐ฌ
๐ฌ
bro wtf
die
Buy me the Graphic card and i'll swap 
no

๐open๐source๐driveeers
thats not an option matt
$20 and you get a nice amd card that'll catch fire
stick with nvidia ๐
why would u buy frm nvidia
lol
literal shit
read up
??????
iwanio, you know how much I love open source software. and I buy nvidia for a reason
GForce gang
I did read it
Speaking of which
ive used nvidia cards
GeForce Yugi ffs
what is a good language to learn besides java/kotlin?
all shat out on my
I need to update my drivers as well
absolute shit
Nvidia cards are the only option, I'm not even joking
they were not the dog's bollocks
Elixir
^
Haskell
does Go have a IDE?
C++
ooo
GoLand
what about c++?
CLion
Also need to renew my students license ๐ฅฒ
๐ฅฒ
I just did mine
use rider.
i dont think haskell has ide... is there a plugin for it?
or ReSharper if you're forced to use Visual Studio
It is much of a hassle?
github student pack gang
Not at all
illegal
It has one, but better to not depend on it too much
since when are you recommending c++
hmm
oh you like AMD but not Visual Studio lmao
only use c++ if u can't use rust
I mean its nice to know
thought poor taste would go hand in hand haha
yes? i use good software
and good hardware
c++, haskell, or go
now that's funny
which one
It wouldnt be my language of choice, but just in case you need it, might be something to just know to use
i have an amd cpu and gpu, they have lasted me for years
C works as well
what language is most common?
better than wintel with nvidia could do
my 1070 has lasted me since 2016 and it's still going strong bro
like i know c# is for unity
javascript
definitely not worth the effort for that reason
I have had nothing but problems with amd drivers
C++ is just used a lot in cp
u on windows?
yep
there u go then
???
I have a 1050Ti and its still got no problems gamerino. My AMD CPU i also can't fault
nah AMD makes great cpus
the linux drivers for amd are open source
amd cpus after 2016 good amd gpus bad
okay and?
js? python?
with proprietory drivers?
yep!
you are fake
not at all
is there a language for like controlling rpi thingies?
yes
Nvidia is a company I have a lot of faith in
what is it
AMD as well, just not for GPUs
never have faith in a corporation
i have a rpi, why not use it ๐คท
Thats called anything you want because a pi can run whatever you want
raspbian kinda slaps bro
and it's based on Debian
so I like it like, 10x more
python comes with it by def as well
i forgot exactly what it was, but isn't there like a board that u can connect
then u can control lights
and stuff
what languages can i use to control?
i mean kinda yeah
any dkim
any with libraries for gpio output
arduinos are more useful for that kinda stuff
presumably, if u were insane
wot
this
but yeah I ran a java discord bot off my raspi
had to get a weird version of java tho
did someone say haskell?
kinda fu nky
wot
uh
noh
Thats called a breadboard
yesss
just think baguette and wires
mines probably super dusty
breadboard
are breadboards "fragile"?
No
if so, mines probably broken :p
not really
Mines been dropped loads and it still works fine
they're just solid material that you put wires in and stuff
hm
i remember i wanted to use a while ago
but then didn't feel like figuring it out
since u have to put it in like specific spots
i mean yes, that is how electricity works
i wish u could just put led in slot 5 and then do like slot5().active() ez
๐
hehe
If u wanna get into all that a Pi Pico is a great start - it's like ยฃ5. Or an Arduino. Pis are good but usually used for more intensive tasks that an Arduino couldn't do
very nice
hm
i just wanted to use it bc i have it and didn't want it to go to waste
plus i dont want to buy something else and then lose interest again
Arduino is a microcontroller, mostly hardware based. a Raspi is a mini computer basically, more targeted towards computer things in a small package rather than basic wiring stuff
That's what I was trying to say
yea
looks like it yeah
then whats this
a non-complete circuit
That's just 5v in to the breadboard, and ^
wot
that doesn't do anything either lol
yup
what is that red thing at the top for ๐
you know how electricity works dkim?
power
xd
you need to complete the circuit
Red is 5v, blue is ground.
it's gotta be in a loop at all times
then how do you not understand why that wire is necessary to complete the circuit lmao
yeah and it doesn't do anything
oh
I presume this is a step-by-step instruction list
lol
probably because they're showing you step by step how to make it ^
noo
Pis and breadboards are proper sick. I have a knockoff Arduino called an Elegoo Uno R3 with a massive kit full of parts. It was like ยฃ20 if u wanna look into it
Works with all the Arduino software
๐
I definitely had to read that 3 times to not say "piss" in my head as the first word
You're sad.
me or dkim?
dkim
oh nice
noooooo
dkim that's depressing
๐ฆ
i thought u said theres no specific software/language

Arduino has its own IDE kinda thing
and it's own version of stripped-down C++
that's what thienbao has been suffering with, losing std::vectors and everything
oh
it's really just a text editor...
Arduino has a bit of software called the Arduino IDE you can use for ease
what exactly can arduinos do?
that so called IDE the only thing it does for you is compile the program with available libraries, the code writing itself is just on a text editor
or can they do everything ๐
it's a microcontroller so it's a fantastic bridge between the electronic and programming world
oooooo
this ^
lol i just find it so strange that i wouldn't be here if i didn't click on Codedred's "How to code a spigot 1.15 tutorial" in my recommended
I can't even remember why I'm here
oh it's already day 4? ๐
im on my way buddy
with 0 boosts ๐ค
if i had the funds, I would be using boosts rn lol
lol
though I dunno, I kinda like the blue name more than the purple
what if u could convert boosts -> money ๐
I loved that blue :(
wot
leftover from when I was booster
Nap time
no bed time
sleepy time is a good time
guys
we should give up being devs
I mean like
there are people who have been at this since 2012
theres no hope for us
look at mcmarket
lmao
then become a tryhard
thats not even remotely true
i've been doing this for a bit over a year and get clients
you're looking in the wrong places
#816184744797929522 is a good place
nowhere
spigot has some good offers
McMarket is a mess
you probably used the wrong format or something idk
I mean like
there are people who have been at this since 2012```eh
There are people who have been at this since way longer than that ๐คท
oh ok
lol
I feel like there are so many better things WE could do with java
then apply them to mc
hm
speaking of this
am i a good enough dev to put in #816184749752188958 ๐
sure
aaaaaaaa
Give it a go, why not
isn't it 1 every month?
just put your portfolio, experience, etc. doesn't matter how good you are.
i dont have a portfolio-
im kind of scared of minecraft
you don't need a domain really
the monsters scare me
and i dont even have a year of exp ;-;
Use github pages
endermen scare me the most when they have their mouth open
but also spiders
and the sound zombie make
anyone wanna make facebook 2.0 with me real quick
The sinking communist ship
should only take like 10 min
im an anarcho capitalist
yea
alright back to what i was saying
the way the minecraft monsters
they just LUNGE at you
like they rush at you
Sir, this is #dev-general
no one cares
Ma'am
and yes this is #dev-general
this is #dev-general
stop being cisnormative please
Sirette*, this is #dev-general
I'm sorry. Which one do you identify as?!?!
she/her
A ship! A ship!
So ma'am was correct?
LOL what
you cant assume just because someone isn't a male
that they are a female
there's something called no nbinary
statistically i can
no you can't
100% of the times i have tried it has worked
there are non binary people
ok
why should I go there
because you are taking about random topics in a channel dedicated to talk about developement
because this is #dev-general
ok fine
lets talk about development
so guys
I think ive found the solution to p vs np
Time travel, kill turing
public static void main(String[] args) {
System.out.println(OtherClass.PvsNPSolution);
}
Now all you have to do
is create a static string in another class
where you put in the solution
but I trust you know how to do that
very new to java you say?
i was gonna do that with react
yes
alright give it
solution first
scroll up
dyno trash
lol
have you solved pvpnp
pvpnp?
pvpnp
have u solved world hunger
I solved P VS NP
public static void main(String[] args) {
System.out.println(OtherClass.PvsNPSolution);
}```
Now all you have to do
is create a static string in another class
where you put in the solution
but I trust you know how to do that
give the beep boop
i solved it
@surreal quarry
hello
is anyone there
Not only does it make no sense, but you're pinging people because of it brother
That ain't a proof ๐
All problems can be categorized as "able to solve efficiently" and "not able to solve efficiently"
P is the "able to solve", NP is the "unable to solve"
yeah
Example of P would be a math problem, we have systems to quickly solve them
Example of NP would be chess, where the solution doesn't have a system
You didn't show the premise, we have no idea what the string is
Letting me prove it?
with a static string
dude
i wrote the main class
you're just writing the side class
we all know the main class is harder
dont take al the credit
give me some credit for solving P vs NP
it's pretty obvious how to create anotherClass with a static string
if you dont know how to do that, dioxin
go back to w3schools
class OtherClass {
public static String PvsNPSolution = "Titanic is right, he solved it";
}```
Oh dang
You're right
no
thats not it
no
no no
you have tomake the string the solution
and the proof
go ahead and do that
very simple task
stop being racist please
roleism
tiercism
anyway
Signs of a dead chat ๐
I did
alright send me it
It was just in a past life
on jithu
Can't, sorry
send me
the fucking code
on jithub
do it now
or else
I am going to be very mad at you
public class PequalNP {
public static void main(String[] args) throws Exception {
Class cache = Integer.class.getDeclaredClasses()[0];
Field c = cache.getDeclaredField("cache");
c.setAccessible(true);
Integer[] array = (Integer[]) c.get(cache);
array[132] = array[133];
System.out.printf("%d",2 + 2);
}
}```
There you go
2+2=5
All problems solved
thats very difficult for me to understand, dioxin
would you mind breaking it down a little
@tulip glade
Can't, thats fundemental. P=NP be complex
no
it's not
i was able t solve it
can you send me this on jithub btw
i want to import it into eclipse
and run some tests
dioxin
hellooooo
you just pasted it
SEND it to me
im going to sue for libel btw
this is just not cool my guy
Java caches Integer objects within the byte range
The code just modifies that cache
Err... I mean... P = NP
Wait @old wyvern I'm stupid
CompileOnly isn't runtimeClasspath xD
I wonder why Shadow added it 
wdym matt
When i tested it the dependency was compile path but still got shaded
there's no way you solved that
I was assuming this was a joke
Ayy it worked, no longer gets shaded! ;p
lol
If I solved that, I probably wouldn't be here right now. I'd be swimming in a bath tub full of dollar bills
-_-
god damn it
every fuckin' time
pdm remake? ๐คจ
PDM rewrite soonโข๏ธ
I wanna add support for more platforms and clean up the codebase at some point
Same
also, maybe we should rename it
basically
classic
hmmmmmm
hmmmmmmmm
I mean, it can literally support anything
I mean downloading dependencies in something that isn't a plugin isn't very common
It already can
All it needs is a file and an URLClassLoader
And Java 8 ๐
and a system that doesn't break on Java 16
๐ฅฒ
which we can probably do with jar in jar
for certain projects at least
Wait...
for certain platforms like Sponge, Velocity and Krypton, we can just use addToClasspath
what
couldnt you just make a child ClassLoader which exposes addURLS, and then use that?
nothing, he just wanted you to wait
that's what the jar-in-jar bootstrap thing does lol
still need jar in jar on Bukkit and Bungee though
omg bm got big brain ideas, now u just gotta add make it a reality!
yeah thats the boring part
๐คทโโ๏ธ
because we're not allowed to take control of the class loader remember
you dont need to
^
no reflective hackery needed
how are you going to load plugins though
you need to still have Bukkit load your code
yes
and the PluginClassLoader for Bukkit and Bungee doesn't support adding URLs
surely though, lucko wouldn't've implemented jar in jar if it was that easy
not sure if Bukkit will allow other class loaders loading shit into its memory
i can import my IJ settings into WebStorm, right?
yes
Kotlin DSL good
I mean, at least you get some decent highlighting
and you don't get any "method call is ambiguous" BS
Kts is definitely better
hold on a minute
poggers yes u can
why did you react with a vomit face when I said I was switching Krypton over to Kotlin DSL then 
and yes, I remember that lol
Wut? I never did
I swear you did
Find it
Not before, but i've been using for a while now
And was that supposed to be talking about gradle kts?
I thought you were talking about something else
"Krypton now going to superior Kotlin DSL"
idk what kind of other Kotlin DSL you know that would suit Krypton but... lol
ayyyy
each platform should be in a separate module
You keep talking about command kotlin dsl this event kotlin dsl that lol
true
Yugi, should we have a separate configuration to allow it to be transitive?
I mean, in context though
I didn't read anything else just thought you were talking about another one of those weir dsl changes
Sometimes, for commands both DSL and builder suck
that's why I use neither 
I mean, Krypton supports registering LiteralCommandNodes, but it's generally encouraged to use Command
just registering nodes directly with the dispatcher allows you to make commands with actual argument types and stuff
and coloured arguments
This is so stupid, this means slimConfig extends from compileOnly but by reading the method it gives you the opposite impression
wait wrong quote
it should be transitive by default right?
Well by default it's extending compileOnly which isn't transitive, but if we extend compileOnlyApi then it is
hmm
Could have slim and slimApi or something like that
implementation is transitive right?
No, api is
Gotcha ;p
Brief status update: The project is still alive.
Just not sources/binaries/screenshots yet.
Please check Update #3 as it covers the motivation behind some of the changes described in this video.
https://www.youtube.com/watch?v=7dpjAqcNfhQ
?
Help please tell me how to make a colored shield in the deluxe menu, please
wiki BristerMitten
thank you!! ๐ ๐ ๐ฅฐ
๐ง
Boost ;p
Im glad you don't
ะะพะผะพะณะธัะต ะฟะพะถะฐะปัะนััะฐ ะฟะพะดัะบะฐะถะธัะต ะบะฐะบ ัะดะตะปะฐัั ัะฒะตัะฝะพะน ัะธั ะฒ ะดะตะปัะบั ะผะตะฝั ะฟะพะถะฐะปัะนััะฐ
I donโt understand a little, Iโm from ukraine just tell nbt that it doesnโt work
This is the wrong channel, bud
#general-plugins / #general-plugins-2 is where you should ask
@old wyvern Got some more progress done, the configurations work pretty nice, gonna start working on the task now, will PR later
Also some good news, Shadow will relocate the imports for us even if it's compileOnly, though how should we handle our relocations?
There is 2 options i can think of, A hook into shadow and get the relocations set there and figure which one to use or B have our own relocation option in the task and then "inject" those into shadow
weird question matt but what keyboard do you use
I have a Steelseries Apex M750
4 am!
Same shit
what switches?
QX2 reds
Relocation would need to be at loading right?
Also for the isolated one, im not sure if we even need relocations since it will load and use the one if its URL path
Yeah, shadow would handle import relocation of the project then we'd save the path on a json file then on loading relocate the libs based on the info from shadow
True yeah
We can use those for the appendable one ig
The current plugin istn dependent on shadow right?
Not yet no
Oh so might be better if we provide our own setting for relocation ig
That way shadow isnt a requirement
Altho
hmm
How easier would it be if we were to use shadow?
I'd need to check, probably not terrible
Though yeah might be a good idea to have our own
Maybe have a relocator module that both the plugin and the lib can use
mhm
Sounds fun to mess with ASM again
Matt, I ended up using the item stacks hash to store and compare it
Actually works really nice
Really? I wonder if that'd work better for the gui as well
Perhaps
One thing to note might be that if you have two identical items with different actions that will fail
Yeah, too lazy to change anyways xD
Also holy shit, gradle has been indexing for 30 minutes
Go sleep
5 more minutes father
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐๏ธ๐๐๏ธ๐
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐๐๐๐
|| ~ || || 1 || || 2 || || 3 || || 4 || || 5 || || 6 || || 7 || || 8 || || 9 || || 0 || || - || || = || || โ ||
|| tab || || Q || || W || || E || || R || || T || || Y || || U || || I || || O || || P || || [ || || ] || || \ ||
|| caps || || A || || S || || D || || F || || G || || H || || J || || K || || L || || ; || || ' || || enter ||
|| shift || || Z || || X || || C || || V || || B || || N || || M || || , || || . || || / || || shift ||
|| ctrl || || โ || || alt || || space || || alt || || fn || || โค || || ctrl ||
That's quite impressive
"i have 2 friends on my server they just joined but when they join they have fly and pretty much op i setup the default group not to have all those perms but idk why they have op perms"
https://media.discordapp.net/attachments/241667244927483904/826622396278505532/unknown.png
lmaoo
its really weird. how they have OP
๐ฅฒ
there's so much pain
@prisma wave What would be the equivalent to Class::new in Kotlin? 
OMFG. After all this time I finally got access to my root user on my dedi. Now time to see how to get access to my user
"You can get a function instance for a constructor by simply using ย ::ClassName, as if it were a factory function."
Their friends must be hacking, those permissions look fine.
When you finish an exam, and then you have to wait 35min to wait for others to finish, oh the struggles
just leave
hmm. that's kinda hard to not happen. Every developer hates their life. And every person is a programmer.
Yeah they might code in DeluxeMenus YAML but still. they're a "Coder" xD
Turing Complete DM when?
But you're still working, no?
Oh I see, long lasting impacts
ayy renewed jb license
I thought there was gonna be a review or something
It was just a email verification
Which of these URL structures makes the most sense / is considered best practice?
mydomain.com/apis/mycoolapi/v1/resource/method
mycoolapi.apis.mydomain.com/v1/resource/method
v1.mycoolapi.apis.mydomain.com/resource/method```
Or is this purely preference?
first imo
Absolutely the first
Alright sounds good, thanks alot for the input you two xoxo
i mean
tbh
I prefer the latter 2
also without the apis. bit
just mycoolapi.domain
Oh maybe I should've explained this in my question: I run multiple small private apis on the same domain that's why I need the apiname to either be a subdomain or part of the path. So there wouldn't be just mycoolapi, but also myepicapi and myboringapi
and the domain itself is a regular website that's why I need it to be apis.mydomain.com or mydomain.com/apis ๐