#dev-general
1 messages · Page 618 of 1
@normal ivy sorry, I just checked discord tos
I did 4 years of c++. that was 2 years ago. no thanks :))
not actually allowed to post that stuff in discord
you'll have to find someone elsewhere
what type of job is it?
just not allowed to talk about game cheats
well lets just say, its better gaming chairs im looking to purchase
well, then you can try buy them somewhere else
makes me a lot of money
no offence but that is incredibly sad
name a price
100% of ur Bank account 👍
its empty, take it 🙂
i can pay in crypto, nft or art
nfts 🌚
1 bitcoin
"art" 🥶
1 bitcoin would mean i want ur service for the next 20 years lmfao
it works for less tax
1btc is like the lowest of the low end for a yearly salary here
there is some bums in here
make that 2
make that 3
0.062 bitcoins will do
embed fail
Thanks
laugh at this user!
Hah!

Hah! x2
some fresh jokes here fr well done everyone 
banned from devden speedrun
AAHAHAHAHA
lmao
new yt vid coming soon on it
do we keep the uwu role
yes
definitely can keep the emotes
how about all our beautiful femboy stickers
what about odin
oh yeah awkward lol
pout
make me owner and i accept your offer
billyb for admin
no
probably the most deserving admin
to shutdown these skids
hmm. how about no?
billyb best admin
yup mason knows
ive never even spoken to you and i know thats a bad idea
:)))
:))))
billyb is a bigger minecraft hackerman than both of you though
hmm.
Ah... no wonder my toaster oven wasn't working yesterday, BillyB used their mad skills and compromised it so it wouldn't toast bread. Makes sense.
she knows
toasters pop when billy around
do you shove them up your ass and then blow them?
woah weird
no i show them your github
ah. makes sense.
tons of sense
honest opinion, larry should come back and become head sir owner of hc
yes it is
If you can write me a clojure parser in brainfuck, then that shows dedication so in that case Id vouch for you, but otherwise I think larry should be head instead
billyb only codes autoclickers in asm
yea what about asm
so you didnt code mason?
masons made in asm
are you putting cap on my stack
very efficient
interesting
clean up your code man you're filling the stack with cap
xD
I am going to heap allocate your mother and crash the server
soz
i instead am making a cpp networking lib with epoll
cringe
cuz fuck java
cringe
im good lmao
yuck write it in c
based
Rust fans should be sent to prison
were never safe
what alternative do you suggest Santa?
cpp
h
H#?
yes
oh is it just called H or do u mean demonic haskell?
terry davis
He's biased
haskell is based
So true
I am incredibly biased
terry davis on h
billyb just a random question. how many alts you got?
alt what?
im not an alt dont call me an alt
or what?
how many alts of what?
ill smell you
valorant...
2
Mid game
this is my only discord lmao
ive been in here for years bud
i just dont sit here chatting all day to get a rank
doesn't seem like that lately
more like for enjoyment
I can help you stop chatting tho and achieving your dream
its just 2 button clicks away
you just have to ask
abusive? I was just giving you options
lmao youre sad
I am. and depressed
there's no question, the cia is involved here
blitz just shut up bud youre a corrupt discord volunteer staff
hmm
i honestly cannot tell if youre being satirical here
i can tell by your chat level
hmm
why do I see sad and disappointed are you edgy or something
you're not wrong
absolutely
yeah. and not in a good way
hmm. I want to get waxed
absolutely
btw guys keep in mind blitz is abusive so dont fw him
spooky skelingtons
billyb. do you own any NFT?
billyb shits bored apes
does he? that's cool
seems like its time for a break then? I quite liked chatting with you billyb.
no i own 100 bitcoin
oh damn. that's cool.
oh. so you must be quite young then. 13 yo at most. I could tell anyways.
volunteer worker trying to compare wallets?
what is going on here man 😭 😵💫
santa how is this weirdo trusted
when he threatens
yes. I ask myself that everyday.
Yea I should be made owner
yup
if santa was owner you would be banned blitz, and i would be your daddy

it would be quite weird if you ask me. My dad to be half my age.
🤧
how old do you think i am man lol
sounds like blitz is old
jesus christ blitz is 40 chatting on discord
I'm 18 tomorrow :)
well you're clearly not older than 13 considering you got 200 bitcoin as your birth gift and bitcoin was created in 2009
?
just stating the facts.
your discord servers are a mess
ye
interestging note. ngl
that's a very impressive note collection
no. I am actually just 3 years younger than PiggyPigglet. So with simple maths, I am 116 yo.
so now youre an abusive lying staff member?
explains your dry wallet
nah mans got a 401k, wife, and child
lmao
Can I have your random teleport plugin blitz?
Very intriguing project you have there
well its Open Source. So you can clone/fork and build it. yes.
im gonna randomly teleport to the jungle with purple monkey and swing vine to vine in search of bananas
awesome
Will it randomly teleport me to the nether?
I need to go to the nether
For a quick mission
It can. but it will most likely teleport you on top of the world (above bedrock).
feature rich
Been looking for a random tp plugin of this expertise
Do you have a join plugin too?
No. But I do maintain FrozenJoin. I've heard you quite like that plugin.
guys
do a barrel roll
guys you should google "do a barrel roll"
it does something really funny
yes. its very interesting. google page will actually do a barrel roll
o
embed fail
it just barrel rolled me
@obtuse gale can you get over the fact that the word "gullible" upside down looks like a cat ?
epic chat feature
I can't
Omg same
It says 2018. And it even mentions your sweet mother.
must be a spelling mistake
Interesting. But you clearly did. Did you enjoy it?
No you failed the test
Jithub
Blitz why does my browser show ShitHub when I look at your profile
another man with a sexier github got the job done
I have no idea. You seem to be using some sort of smart browser.
@obtuse gale
@obtuse gale
Gregory seems cool.
he a cool guy
I HAVE DISCORD NITRO WOOOOOOOO
Good job!
billy b would like to be unCOCKed
XDDD
Funny Moment!
Football players are just insane.
No Santa
Yes
You must say emily
emily
can you unmute billyb
I mean unblock
I can, yes
okay
She can. But should she unblock you? That's the real question
Maybe if you share some of those 200 bitcoins you own, you guys can talk about it
Why was I blocked is the question
you aren't
you aren't
billyb is typing...
we were the bestest of briends
Santa you do emily and I do billyb
santa its working
No I'm doing billyb
ok
ove me as a fri
santa its working
ove me as a fri
sal with airpods
10 football matches with crazy weather
sal with airpods
This sticker is from a server that is either private or unavailable
she still has me blocked
maxresdefault.png
sad times
maxresdefault.png
okay epic let's go
okay epic let's go
epic embed fail
my gf has blocked me
bomp is bird blitz is rat
i'm sorry to hear that, mitten
bomp is bird blitz is rat
[16:11] Blitz: bomp is bird blitz is rat
i'm sorry to hear that, mitten
yo that seagull the glizzy gulper 🤩 😳 🤯
[16:11] Blitz: bomp is bird blitz is rat
Thanks I appreciate it
@obtuse gale
do you see me
WELL??
well in that case
well in that case
i rest my case
😕
epic embed fail
!!!
!!!
you so
fucking
previous
when you
Smile
previous
YSFPWYS
you so
fucking
previous
when you
Smile
previous
previous
A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.
No spamming
thanks barry
thanks barry
You are being rate limited.
Thanks to Smarika Sigdel, Arianathagod, Lina, Sarah for correcting these lyrics.
A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.
Thanks to Smarika Sigdel, Arianathagod, Lina, Sarah for correcting these lyrics.
Writer(s): Ariana Grande, Njomza Vitia, Taylor Monet Parks, Victoria Monet McCants, Kimberly Krysiuk, Michael David Foster, Thomas Lee Brown, Charles Michael Anderson, Oscar Ii Hammerstein, Richard Rodgers
Writer(s): Ariana Grande, Njomza Vitia, Taylor Monet Parks, Victoria Monet McCants, Kimberly Krysiuk, Michael David Foster, Thomas Lee Brown, Charles Michael Anderson, Oscar Ii Hammerstein, Richard Rodgers
omg
so smart ❤️ ❤️ ⭐ ❤️ ❗ ❣️ 
Barry is being a misogynist
he's telling me to use #bot-commands
i guess emily is just not my type
no one is your type if we're being honest
i guess emily is just not my type
yea none of these bitches on my level
yea none of these bitches on my level
exactly. you're to low for everyone
man. I love it. you're finally being open about your feelings. I guess this hour of therapy was really worth it
no one asked you mason so keep for yourself. thanks
blitz highest on the totem pole look at his github for proof
blitz github is under the ocean
blitz github is under the ocean
santa its nice to see you agree
how dare you call me a bitch
ain't you got a mother?
"everyone's got a mother, at least one"
retweet
^
Coders have the worst humor!
ok
ok
ok
ok
convace has the worst server
This is also true!
im gonna mine your adventures
Oh no, shiver my timbers
she made toothpicks of the timber of my heart
Provided to YouTube by The state51 Conspiracy
She Made Toothpicks of the Timber of My Heart · Homer and Jethro
Ooh, That's Corny
℗ 2015 TP4 Music
Released on: 2001-09-20
Auto-generated by YouTube.
that's a quote from shakespeare right? Hamlet if I'm not wrong
- no
- what does that have to do with my name
Oh, you don't get the stereotype
I do not, I am not from wherever that's a stereotype in
But your name is Emily
damn convance chatting now
convance for admin 2022
ratio
counter-ratio
Why can’t you hear a pterodactyl go to the bathroom? The p is silent.
Poor effort
What did the digital clock say to the grandfather clock? Look, no hands!
because the wings are offline
Blitz how old are you?
yes
Fucking
decent answer
Fucking Old
:))
And it is so shit
he said hes 40
is it that bad?
it's terrodactil
I've mentioned it a bit earlier Convace. I am exactly 116
oh
BM, that's why you make Piggy do it for you
The install process is very simple
i hate it
its fine
Piggy doesn't deserve that pain
It's objectively fine but I personally hate it
Am I the only one here who thinks you are talking about actual dinosaurs?
yeah we are
oh
well he did get it from me like 3 times. well excluding all the problem fixing after that
:))
imagine
talking
guys I need you to make a decision for me. yes or no?
yes
ok then. I'm not going to class tomorrow.
Oh
good
well, that isn't smart
let's fail out of college together
I believe its quite smart. I need my 3 hours of meditation in the morning. that's what a real grinder does
I'm mad tho, I got an A- on my chem test, my grade went from 104% to 101% 😦
only about 4 questions were hard
from the 36
American education system is so fucking stupid
yes i agree
How do you get more than 100%
extra credit
well he gives it because people get 70 percents on his tests
btw @prisma wave I want to thank you. You are the reason this channel, and server exists.
it's Advanced Chemistry but he writes the tests like AP Chemistry because he is the board of education in science at our school and the AP Chem teacher
so he makes it hard for us
ok so why do u get extra marks
so just ego your classmates
keep grinding 💪
because he gives extra credit bc he knows ppl need it
yes sir
grade ratio your classmates
I thought everywhere did this
that is stupid
so
he makes the tests hard but makes them easy by giving you extra credit
what???
mind you, it's not a lot, and the extra credit points are worth 10x less than test points
so yeah
not much
and tests are worth more, a lot more
I think they are worth 50 percent
If Covid wasn't here, he said it would be around 80 percent
hm
how does one get extra credit
isnt it just sucking the teachers dick
(metaphorically or literally)
complete his extra credit assignment, or answer a hard question on a test he set for extra credit
usually it's one question
and requires thinking and inference
yeah i still dont get it
because if i screw up I get some leeway from getting below an A
my parents are arab, I cannot get below an A
I get questioned if my A is 94 percent
ffs
just make 100% the max and then make better tests
oh. ok. that's actually cool. I Can get 200% on an exam and just get 0% on another and it would be 100%
no?
ez class passing
the max extra credit per test is only 1 point
really
and most teachers don't even do it
how much in % is 1 point?
like 0.3
no
for the tests it's like 100.5%
multiple tests and a few extra credit assignments gets u that
104%
he sometimes does extra credit worksheets
but they are worth about 15% for that 5 pts extra credit
15 percent of total cardmarking grade
They are graded as homework but as 0/5
0xDEADBEEF > Monoids
idk man. 104% makes no sense to me. but tbh, its not any better here. we got exams, and they're the only things that matter but you also get assignments that they score and I never understood why. bcz no teacher increased my exam score.
oof
I'm still in highschool, 10th grade
If I was in the UK next year I would be going to college
but it's 11th grade for me
next year
like here teachers can just refuse to let you take the exam completely
lmao what?
how i long for the extinction of the united states
yeah... I Guess that's what presence and assignments are for.
knowing if you're worthy for the exam or something xD
but then russia would take over the world /s
good
russia wants our land
homework here is practice for the exam, our school abolished grading homework for points but rather they grade it for effort, They believe rewarding the effort and not the grade (for homework only) helps improve test scores because people would be motivated to do better (something called intrusive motivation or something)
college is different tho, here in college your homework will be graded
they're gonna scalp your oil
what oil? it was already scalped
you think exactly like an entrapranure my friend. welcome to the club. https://cdn.discordapp.com/attachments/943818735783911495/954029640299728996/unknown.png
yes
That's y my motivation is Rockefeller, become rich by abusing the poor, and say it's easy
and if you fail, it's you who failed not the system failing you
^^ sarcasm (Had to explain because Emilys exist)
sell chickens like emily
no idea who that is
bro?
what?
major capitalist in the US, held the biggest monopoly on oil, literally exploited workers
ok
well this was during the early 1900s
never heard of him
i n d u s t r i a l r e v o l u t i o n
yes
Did u ever hear of Chase bank?
He was another guy like rockefeller but they was competing. Rockefeller vs J.P. Morgan
sounds familiar. but idk
many americans have debt to Chase bank
Jay to the Pee Morgan
Pee XD
cool
blitz skips history class
I said
I have your IP
then got banned, but i didn't get to write the punch line
I Pee on you
absolutely. especially when it is US History class.
blitz is still in highschool
blitz is 114
Blitz exposed he lives in the US?
correct you are not my boy
only americans take US history
16 yo blitz
I don't take it
hmm
^ A very handsome man
Does this mean the placeholder is written wrong? https://paste.helpch.at/gamaruvafu.md
yes
specifically CheckItemExpansion
threaten the authors with violence unless they fix it
so it's the devs fault not the placeholder's?
i mean it could also be user error
bc this is the placeholder: %checkitem_remove_mat:LEATHER_HELMET,amt:1,data:0,enchantments:minecraft:protection:10lminecraft:unbreaking:10,enchanted:true,nbt:STRING:CustomArmor:SunkistlINTEGER:Damage:0%
yeah
Probably the commas
here is the data: https://i.imgur.com/6TPcEDb.png
When he did /papi parse me %checkitem_remove_mat:LEATHER_HELMET,amt:1,data:0,enchantments:minecraft:protection:10lminecraft:unbreaking:10,enchanted:true,nbt:STRING:CustomArmor:SunkistlINTEGER:Damage:0% it removed the item tho
so I think the placeholder is fine
would someone be willing to help me out with testing something?
just need two people to jump on a server and send a pm
what version
i can
my laptop cant
yes maam
oh
I was on 22w11a
1 seec
ugh. it is the l yeah.
also that photo uses a | not an l I'm pretty sure
okay
...
Is there a reliable and simple way to test whether the plugin works from X to Y version?
without manually recompiling it on X to Y paper api
It depends on the version your building off of. The methods used from the api. If you use nms or not etc..
The way I test version support is I have a folder with jar files from 1.8.8 to 1.18.2 and I start a 1.8.8 server test the features of the plugin then stop the server and start the next version up.
Yeah, well, that's what I'm doing too
and it's quite tedious
so I'm looking for a better way to do that
Yeap.
by this I mean I do 1.8, 1.12, 1.13 and latest
cuz I'm lazy
The most tedious part is I have to make a backup of the world in 1.8.8 and use that to go back in versions because worlds don't have backwards compatability.
I just have this
and a batch script to automatically copy the plugins_%version% to plugins and start the specific jar
and I automatically build the jar inside the specified plugin folder
saves some time, but still tedious
Mines uglier then that lol
I just enter the version and it starts using the specified jar.
but yeah, the world issue is quite annoying
might have to do something with it like with plugins
I might make a plugin that does what viaversion does and changes newer versions blocks and data to an older version or just stone.
👀
I usually just test 1.8, 1.18, and maybe 1.12/1.13 and I just have a folder for each server and just change IDE configuration (that starts the server) and a string in build.gradle.kts (which copies the jar to the server plugins)
yayy level 58
1.8 and 1.18 should be enough testing unless you're making a low-level plugin that uses packets for ex
I test last version of each core version to make sure it all works right. I use nms so gotta make sure that works too.
Also tf was that sticker..... it comes up on mobile when I type "sticker" or "test"
ah classic, IDE-run server
some day maybe you'll ascend to the docker-compose run server
d 🤮 cker
bro docker is the best thing that literally ever happened to my devops experience
Did someone accidentally make the repo public or something?
I'm gonna create my own IDE!! Thanks JetBrains
No, thats fake 🥲. Its an imge not an embed
Gotcha
You got us in the first half ngl 😂
is that ts
no php
oh
yeah nothing new then
@frigid badge private void duplicateData() java 🤓
it’s weird that if you don’t write a return type it automatically is ‘mixed’ instead of void
yeah, I mean it makes sense to be backwards compatible
since they used to not have strict typing at all
Santa we’ve failed
Um hello, where can I ask some questions about C++?
Thanks!
Best economy API for 1.18 and later?
vault is kinda the standard
its not particularly feature packed but it is literally everywhere
I guess that's helpful if I decide to add other plugins on the server that needs to work with the economy
vault is just the bridge, it doesnt actually handle the economy.
WHAT
that is the point of an api, no?
we don't care how it does it, only what it does
i was just saying that vault doesnt handle the economy.
its just the bridge
if you want your economy to be useable in other plugins then vault would be a good thing to use
wtf is mixed lmao
sounds straight from the American South circa 1950
i think its like anything
huh
anything is a subtype of mixed
Emily broke up with me bro
mixed just means you can return whatever, it has no type
So basically it'd be like returning Object type in Java?
shame
Is it possible to create more than one custom exceptions WITHOUT constructor, in same class?
what does that mean?
throws?
class customExceptions extends Exception{
public void maxInputException(String passMe) {
super(passMe);
}
public void maxMultiplierReachedException(String passMe) {
super(passMe);
}
}
I want to make my customExceptions class, and I should be able to call these predefined custom exceptions methods anywhere in the code
ah
an exception is just a class
you could have static subclasses if you really wanted to
public class CustomExceptions {
public static class ExampleException extends Exception { }
public static class OtherExampleException extends Exception { }
}```
yeah
an exception is just a fancy class
do watch your naming conventions though, classes should be PascalCase
Thanks for taking your time to respond back to me mate, I really appreciate your effort. Have a great day.
I'll fix my naming conventions also xD
@ocean quartz
gaby. why?
Mood
Why
definitely not biased answer incoming
Nah, libraries make your life much easier, definitely use it
Only do it all yourself if you want to learn or if what is provided isn't good enough
🌻 {Plugin : DeluxeMenu} - ** Would you know if it is possible to force ➔ to put on the right the description when we put our cursor on the item in a menu ** ?
My question is what attribute to put in the .yml file (** to force the description ('lore') to appear on the right of the screen?** )
Thanks in advance
SCREEN : https://image.noelshack.com/fichiers/2022/12/4/1648149341-capture-d-ecran-2022-03-24-201532.png
Please stick to a single channel, there is no need to post on many, and this is not the right channel for it
Okay, I'm just afraid I don't have an answer,
And I don't know which channel is the best to solve my problem please
Either #general-plugins or #general-plugins-2
Thanks you very much
Hello my account got disabled and idk why
?not-discord
Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.
oh
@prisma wave you ready for round two? Could have skipped the Swedish class we did nothing interesting anyways but yeah here’s my final say
Semantically Optional and null do not lead to much difference in terms of you’d check for null and the safety is roughly the same if you write carefully enough, but that’s subjective.
Then about your argument that it enforces explicit thinking, for me at least it hasn’t really done that or well given me that sort of mind set, not on a significant level at least, if it does that for you then optional might suit for you Ig.
When it comes to kotlin yes you achieve roughly the same semantics not exactly for instance chaining would require map or flatMap as opposed to just ?
Well yes, but essentially the same
Semantically Optional and null do not lead to much difference in terms of you’d check for null and the safety is roughly the same if you write carefully enough, but that’s subjective.
The point of compile time null safety is to force you to write carefully enough
When it comes to kotlin yes you achieve roughly the same semantics not exactly for instance chaining would require map or flatMap as opposed to just ?
Sure the method names are slightly different but the process and behaviour are pretty much the exact same
The only bad side would be when you have to null-check your reference to the optional itself
thats very bad though
Yes
Yeah I mean presuming Optional<X> is not null is probably a standard so ye
it is
I'm speaking just in terms of compile-time validation
The point of compile time null safety is to force you to write carefully enough
Which in my experience works just fine with @NotNull and @Nullable, you can be just as careful without using Optional literally
but overall optional > null because it provides compile time safety, therefore making NPE-related errors pretty much impossible
but do you have automatic proof that your program is null safe? no
Guess that’s where we disagree 
that's the point
you can just != null?
same with any other constraint system
Hask-
I mean the way for instance Scala handles it is probably also more ideal
and both sides have points
scala has an Option monad which is literally the exact same as optional
and you have to remember that every time because there is no proof that you are null safe
as i said
same with type systems
they're there so certain things about your program can be proven automatically
sure we can agree that we don't need this proof because we can simply check at runtime where necessary
that's the proposition of dynamic typing
I mean pretty much the same with Optional tho? If you for instance pass it to another function the optional becomes undetermined in terms of absence or presence.
Well let me clarify, you still don’t know if the actual value is null or not unless you check that regardless if you use optional or just null
Obviously?
so you do know that the actual value will not be null
if that weren't the case it would be utterly pointless
Yes but my point is that even if you use null or Optional, you’d still have to check if the actual value is present. Optional::isPresent or ::ifPresent conversely != null
wym by pun?
if you have a program with optionals that compiles you know null is handled
writing get() or isPresent with optionals is often a bit of a code smell anyway, you're probably not using them to their full potential if that's what you're doing
Not necessarily, if someone is stupid enough they can just invoke get() carelessly
And you’d end up with the no such element error
this is a smell of java's implementation specifically, but even then this person wrote this code
"thing is bad because sometimes people are stupid and don't understand how to use it"?
Yeah Johnny I agree
it is technically a way to handle an absent value
although get should never be used
i think gosling wrote about this a bit
I would say the roughly same thing about @NotNull and @Nullable, but yes they’re not as enforceable although enforceable enough from my experience
ok?
yes?
they're not enforceable at all
yeah
i do think that's the wrong way to look at it anyway though
Well probably where the entire disagreement lays in here 
To some extent you can use for instance annotation processing or whatever IntelliJ provides, not that it’s a good solution, but you can make it enforceable to a vague extent
the original argument was that Optional is a better way of handling nullability / non-present values than the JB annotations
💀

optional has enforceability, can actually prove that programs behave correctly, and allows more concise code without boilerplate
how are they equally bad
jb annotations have none of those
i like optional's 
if its not obvious 
god that would look so much better in java 16 
Well I would just be repeating myself again as much as you would, endless circlejerk pretty pointless discussion right now
💀💀
Breh
You can at least make it a bit better with some IDE setting changes
One shows warnings, the other wouldn't compile
As already said just blindly invoking get would compile fine
And could still explode
Yes so therefore you’d for instance use isPresent, which is not much different from != null
Sure, it's the same process
Except normally you'd also be doing some processing with map etc
Yeah
I can foo.bar() on a nullable foo
But the important thing is that with optionals you know that the code will behave correctly
or the monad flatMap
i cannot foo.bar() on an optional foo
Rather insignificant still imo, as aforementioned when I used optional the explicit writing of get didn’t really enhance anything at all, but I get that it might do for you
It is ideally yeah
If you just use get all the time you're doing it wrong
Tho kotlin has ?
map
And optional has map, so what?
again, no matter how badly you use optionals, you still have to go out of your way to use them
in some way or another
exactly
it’s roughly the same but you can use directly on nullable stuff
It's an active decision to call get, whereas accidentally doing foo.bar on nullable foo seems fine
But then you are no-longer null-safe
its crazy how ive been a dev for almost 4 years and i am still fuckin clueless on most of the conversions that go on here

Well you can use map directly on a variable with Type? for instance
what
i do prefer kotlin's idea because it is a union and therefore supports the constraint semantics you would expect, e.g. T being a subtype of T?
sure yeah
kotlin does it better
But optional is still leagues above nullable variables
Lmao
No circlejerking here
C# 7+(?) has similar operators and types that compile to their Optional counterpart (called Nullable there)
i mean java optionals kinda suck in other ways too, not just the inherent trade off of putting something like that in the user space but also in that it's not supposed to be used for parameters
Better than having nullable variables everywhere with nothing but an annotation to stop you from crashing
I mean what's stopping you from using it as a parameter?
I don't really see the reasoning behind that
i might actually give scala another go at some point
Scala good 😌
scala 3 seems cool for sure
How so?
There isn't any
Just like the good old days!!
So how does go handle absent values?
How does that justify null safety
no annotations, no optionals
There isnt any
Or well nil safety
Just good old if val != nil everywhere!!
😍
programmers today need a million abstractions just to write a hello world!!
Returning errors 🤤
defer functions everywhere 🤤
that definitely doesn’t sound like some other languages
yaa
some other languages atleast provide Optional
if err != nil moment
Go basically calls you in, and drops you off at an orphanage on the first occasion you ask for something in hopes someone else provides it 😌
a
Meh
s
k
e
l
Haskel#?


