|
returning Boolean sounds like returning a Maybe Boolean which is an entirely useful concept, but obviously Java is not set up to make that work right
|
# ¿ May 19, 2016 13:13 |
|
|
# ¿ May 15, 2024 21:53 |
|
Snapchat A Titty posted:well theoretically, they could choose a some unassigned code point and designate that as an extender that provides some arbitrary number of bits for further characters. you might even call the extender and the further bits a pair. maybe one is a high and one is a low. maybe, and stick with me here, we call them "surrogate" because they're a substitute for the proper full value. nah this won't work. unicode has reached its maximum size
|
# ¿ May 21, 2016 00:27 |
|
Athas posted:This is why my own PL doesn't even have a character type. Mad props to those who can figure out how to implement the Unicode nonsense. it's ez you just do whatever swift does
|
# ¿ May 21, 2016 13:38 |
|
prefect posted:what does it mean when a programming language is described as "expressive"? it means "delightful"
|
# ¿ May 27, 2016 15:16 |
|
two wrong inferences out of two, gj
|
# ¿ May 28, 2016 22:46 |
|
watch as I artis-anally craft you a code
|
# ¿ May 29, 2016 00:34 |
|
we are all java beans
|
# ¿ Jun 28, 2016 16:14 |
|
Captain Foo posted:eevee is very good
|
# ¿ Sep 23, 2016 03:57 |
|
on the off chance someone here hasn't read php a fractal of bad design, it is very enjoyable and also written by the aforelauded eevee
|
# ¿ Sep 23, 2016 03:58 |
|
uwp is hot garbage that serves no purpose. nobody uses windows phone so uwp brings nobody new to the platform. if you already put up with wpf it is an entirely pointless reimplementation with zero attraction. having zero audience leads to decreasing support from microsoft and the death spiral of uwp the worst that can be said about wpf is that it is competitive with ui frameworks on other platforms that have similar goals. if you have similar tastes as shaggar maybe it is the gold standard, if you're a little more circumspect it is merely fine wpf can absolutely be improved, but uwp has no claim to that mantle. can't wait to see what the next lovely reimplementation of wpf looks like! we'll get it right this time! why is the silverlight team laughing at us?
|
# ¿ Oct 1, 2016 19:14 |
|
here is my example of pointless lovely reimplementation this is the wpf tilebrush this is the uwp tilebrush are there any properties on the wpf one that seem oddly absent from the uwp one? how about TileMode you know, the property that controls how the contents are tiled oh, we took that out of uwp? so TileBrush doesn't tile but we kept the class hierarchy for... convenience?
|
# ¿ Oct 1, 2016 19:21 |
|
but it's not totally different, that's my point. totally different might make sense
|
# ¿ Oct 1, 2016 19:46 |
|
Gul Banana posted:the entire reason they made UWP is that the Windows division refuses to use C#. this explains so much
|
# ¿ Oct 2, 2016 01:34 |
|
Malcolm XML posted:performance reasons made them do winrt, i.e. the revenge of COM, so that u could use C++ is .net core part of winrt or otherwise reliant on it? also wasn't there some other managed c++ thing before uwp's managed c++ thing? were those deemed insufficiently performant? it's not obvious to me that wpf etc. are fundamentally incapable of meeting performance goals but idk anything also using uwp apps doesn't make me think "hot drat this performance is super keen". I assume that bet paid off handsomely in some other way. no doubt idiotic politics and pointless emphasis on programmer comfort are benefits that the end user can confidently expect to realize any decade now
|
# ¿ Oct 2, 2016 02:45 |
|
Malcolm XML posted:yeah but c++/cli was managed and c++/cx is unmanaged and this account for the screaming performance of winrt apps I see quote:also some guy wrote a modern CPP projection of the winrt stuff a what?
|
# ¿ Oct 2, 2016 04:01 |
|
pointsofdata posted:that's pretty cool but I'd still rather be using wpf than anything it enables
|
# ¿ Oct 2, 2016 13:20 |
|
actually tho thanks for explaining. when I was doing a uwp app it seemed impossible to find anything about it in this level, it was all lovely marketing level "write once run everywhere" bs
|
# ¿ Oct 2, 2016 13:31 |
|
oh so it's like php
|
# ¿ Nov 20, 2016 22:51 |
|
MALE SHOEGAZE posted:hackbunny i dont know anything about templates or c++ but I was able to follow (most) of what you were talking about there. my point is you're a good and clear writer and I enjoy your posts.
|
# ¿ Dec 1, 2016 15:30 |
|
BiohazrD posted:* a correct opinion-haver in the audience who's about to get shaggared *
|
# ¿ Dec 28, 2016 20:43 |
|
here is my js mongo orm:code:
|
# ¿ Feb 15, 2017 23:48 |
|
rjmccall posted:i wrote eleven thousand words about some dumb bullshit that will turn swift into rust I got like half an hour in. not only am I not done, I'm too scared to check on the size or location of the scroll thumb it's good poo poo so far though! also I remember asking you around ARC release whether it was for real or whether it was gonna get deprecated like gc. when you said it's for real, were you thinking of swift?
|
# ¿ Feb 17, 2017 19:09 |
|
I bet most of the time it's so the spam emails and the text by the logout button can say "hello $PRESUMABLY_FAMILIAR_NAME" which is a stupid reason
|
# ¿ Mar 2, 2017 18:01 |
|
MALE SHOEGAZE posted:/I am trying real hard but I don't get it and I tried googling for song lyrics but it's hard ty for asking I was also baffled
|
# ¿ Mar 4, 2017 22:02 |
|
|
# ¿ Apr 23, 2017 04:17 |
|
flang flang flang is for fortran
|
# ¿ May 22, 2017 12:49 |
|
look up the standards for C
|
# ¿ Jul 18, 2017 15:00 |
|
rjmccall posted:what is the most important operation in objective c, and what are its special cases? guessing it’s retain/release, because the tagged pointer check is somehow faster if it’s the msb? turns it into a negative signed integer? snarky commentary on guess: objc only seems to get new things for Swift bridging these days, was that the motivation for change? objc_msgSend is my other guess but idk if that counts as an operation and I can’t think of any special cases helped by changing the bit
|
# ¿ Jul 22, 2017 15:35 |
|
rjmccall posted:how do you think message send works, and what are the special cases oh well if it was done for message send then yeah I wouldn’t think it’s motivated by Swift bridging special cases I can think of are: tagged pointers nil forwarding I suspect you’re thinking of tagged pointers and nil, but I can’t figure out why that’s helped by changing the bit tho. it makes the special cases less than or equal to zero?
|
# ¿ Jul 22, 2017 16:48 |
|
I’m sure I read that post at some point so i didn’t work that out all by myself
|
# ¿ Jul 22, 2017 17:16 |
|
AWWNAW posted:perhaps it is you that is the idiot here. through extensive profiling they may have found unrolling the loop by hand is trés performant through extensive profiling I have discovered that you used the wrong accent in très
|
# ¿ Aug 23, 2017 02:48 |
|
https://gist.github.com/lattner/31ed37682ef1576b16bca1432ea9f782
|
# ¿ Aug 26, 2017 21:14 |
|
Powaqoatse posted:email addresses are NP hard lol really? I'm willing to believe you but my reduction muscles are highly atrophied and my searching has failed
|
# ¿ Sep 20, 2017 04:53 |
|
NihilCredo posted:Just backtrack until you find it.
|
# ¿ Sep 21, 2017 02:40 |
|
a witch posted:which of the six built in json decoders did you settle on? programming is all about tradeoffs. right tool for the job. you can't anticipate your users' every future need. we asked that team to add just one little method we needed for our entire product but they refused! fuckers! so we wrote our own realtalk the obvious correct decision is the one that encodes dates in the most insane way possible, ideally in a way that minimizes interoperability. congrats JavaScriptSerializer you win the prize
|
# ¿ Sep 23, 2017 06:27 |
|
jony neuemonic posted:fair enough. it's a shame to see them essentially start over but i probably shouldn't make "fix mono" sound like a trivial thing. well it's Microsoft, there's either five competing internally produced products of varied viability or it's not worth doing
|
# ¿ Sep 24, 2017 03:56 |
|
Gazpacho posted:only managers believe that this is possible wrap the code in plugins, specify the build with inert data instead of mixing the two and hating life
|
# ¿ Sep 24, 2017 03:57 |
|
necrotic posted:I stopped touting metaprogramming after trying to use other people's code. What a loving nightmare and I hate that I ever liked it.
|
# ¿ Oct 16, 2017 20:50 |
|
Shinku ABOOKEN posted:if you use metaprogramming in any sense other than generic types please explain yourself I think I wanted to write less code "don’t repeat yourself", "fewer lines means fewer bugs", etc. taken too far? the mistaken belief that efficiently making GBS threads out code is of primary importance because I can only type so fast? I can’t tell what’s more disappointing: that the only reasons I can guess at are bad, or that I don’t remember having a concrete reason for doing it in the first place maybe my tastes changed
|
# ¿ Oct 17, 2017 04:08 |
|
|
# ¿ May 15, 2024 21:53 |
|
redleader posted:he admitted he was wrong though. that's progress! for real that sounded like an interesting and mildly humbling learning experience. if it were me I’d head home feeling productive that day
|
# ¿ Oct 31, 2017 04:59 |