|
tef posted:that took longer to write than i thought it would and tbh i think i answered your question with a complete tangent i wanted to answer with something more complete than good luck but tbh i don't think i've ever gotten it right the first time
|
# ? Dec 27, 2015 20:16 |
|
|
# ? May 8, 2024 23:07 |
|
tef posted:let's try to make code easy to delete I'm the two step 5s Also the lack of steps 3 and 4 (cool post tho)
|
# ? Dec 27, 2015 22:14 |
|
maybe it's metacommentary on bugs and boilerplate the only languages i've had a "utils" library directory and not just a couple extra functions in a class or module are C and Golang and i'm trying to never write in those 2 ever again
|
# ? Dec 28, 2015 02:11 |
|
Arcsech posted:I'm the two step 5s those steps are only available for yospos gold™ members
|
# ? Dec 28, 2015 02:13 |
|
but yeah those are artefacts of editing i've never been great with numbers. when i was much, much younger i would copy work down from the blackboard, misread a + for a -, and solve a completely different problem. i guess i was a programmer because i was told "well, it's not what i asked for but it is correct" before i started using computers. but yeah, counting is hard for me. i don't tend to write bugs when i write things around iterators, or list operations, but if i write x+=1/ x++ / x-- anywhere odds are i've hosed something up
|
# ? Dec 28, 2015 02:30 |
|
MeruFM posted:maybe it's metacommentary on bugs and boilerplate idk I have a growing collection of c# extension methods I like
|
# ? Dec 28, 2015 02:57 |
|
Bloody posted:idk I have a growing collection of c# extension methods I like same and also swift operator overloads etc a lot of that stuff feels like configuration. I know what I want NSDecimalNumbers to do most of the time in this app, so I specify that as implicit when using +/-* but once I was in a panel with someone on the .net framework who got asked if X feature was ever going to be in the library because dude "kept having to implement it himself" the framework guy looked kind of confused for a minute and asked "why have you had to implement this more than twice at most?"
|
# ? Dec 28, 2015 07:13 |
|
going into new projects without explicitly loading in your bespoke utils file or even all your MUST-HAVE 3rd party libraries is a good way to re-evaluate the language holistically because you might have been doing something wrong the whole time or the language is poo poo
|
# ? Dec 28, 2015 12:13 |
|
I can't name a single must have lib for c#
|
# ? Dec 28, 2015 14:36 |
|
tef posted:
because imperative code is fraught with peril
|
# ? Dec 28, 2015 17:48 |
|
Bloody posted:I can't name a single must have lib for c# json.net
|
# ? Dec 28, 2015 18:08 |
|
triple sulk posted:json.net
|
# ? Dec 28, 2015 18:12 |
|
rrrrrrrrrrrt posted:because imperative code is fraught with peril iawtp. java 8's functional interfaces decrease the number and severity of bugs i write AND they make me feel super smug. win win win.
|
# ? Dec 28, 2015 18:16 |
|
Bloody posted:I can't name a single must have lib for c# is this because everything is in the standard lib already?
|
# ? Dec 28, 2015 18:16 |
|
my most frequently used convenience lib in Java is a cli parser. I'm surprised there isn't a standard lib for that.
|
# ? Dec 28, 2015 18:50 |
|
today i was allowed to add a utility methods to our stringutils.pas that adds a bunch of zeroes before a string
|
# ? Dec 28, 2015 19:03 |
|
Vanadium posted:.pas
|
# ? Dec 28, 2015 20:41 |
|
wow, i didn't think id ever see pascal being used for anything other than teaching high school computer science
|
# ? Dec 28, 2015 20:47 |
|
kotlin is a good language. it makes android dev more tolerable.
|
# ? Dec 28, 2015 21:01 |
|
Barnyard Protein posted:is this because everything is in the standard lib already? yeah probs
|
# ? Dec 28, 2015 21:07 |
|
Barnyard Protein posted:is this because everything is in the standard lib already? yes except for json.net which should be but isn't.
|
# ? Dec 28, 2015 21:52 |
|
oh is JavaScriptSerializer not good enough for you, ingrate?
|
# ? Dec 28, 2015 22:50 |
|
Delphi 5 is a perfectly adequate development environment for Windows applications.
|
# ? Dec 28, 2015 22:52 |
|
Vanadium posted:Delphi 5 is a perfectly adequate development environment for me to poop on.
|
# ? Dec 28, 2015 23:16 |
|
|
# ? Dec 29, 2015 00:36 |
|
when the mumps programmer is talking poo poo about your programming language, you know you've hosed up bad
|
# ? Dec 29, 2015 00:45 |
|
we're definitely in the wrong universe because pascal strings are Obviously better than c-strings
|
# ? Dec 29, 2015 00:47 |
|
FamDav posted:my most frequently used convenience lib in Java is a cli parser. I'm surprised there isn't a standard lib for that. it's because there's a bunch of other stuff you also probably need to do to run a thing, like set up the classpath and other jvm params and maybe identify the entrypoint to use so in general people won't want to run it directly, and if you're providing a wrapper script anyway then you can just parse the command line args in that and have your java code read system properties at least I think that's the reasoning idrk
|
# ? Dec 29, 2015 01:05 |
|
Gazpacho posted:oh is JavaScriptSerializer not good enough for you, ingrate? from the JavaScriptSerializer docs quote:Json.NET should be used serialization and deserialization. Provides serialization and deserialization functionality for AJAX-enabled applications. lol.
|
# ? Dec 29, 2015 01:11 |
|
Soricidus posted:at least I think that's the reasoning idrk probably originally it was "they can implement that themselves" and now it's more that java stuff gets used as a back-end language where people are using DI from a config or reading in parameters from the DB or whatever that works well with continuous deployment
|
# ? Dec 29, 2015 01:30 |
|
Shaggar posted:from the JavaScriptSerializer docs
|
# ? Dec 29, 2015 03:21 |
|
JewKiller 3000 posted:when the mumps programmer is talking poo poo about your programming language, you know you've hosed up bad Hey... I wrote some vb6 and xslt today. Xslt might be the worst God damned poo poo I've ever worked with.
|
# ? Dec 29, 2015 03:33 |
|
Shaggar posted:from the JavaScriptSerializer docs
|
# ? Dec 29, 2015 04:53 |
|
LeftistMuslimObama posted:Hey... I wrote some vb6 and xslt today. Xslt might be the worst God damned poo poo I've ever worked with. :twitch:
|
# ? Dec 29, 2015 05:03 |
|
xsl-fo is worse
|
# ? Dec 29, 2015 05:42 |
|
i'm sure xsl fo makes sense for someone otherwise it wouldn't exist, right? i came across it while evaluating docbook and i couldn't make any fuckin sense of it.
|
# ? Dec 29, 2015 05:44 |
|
Barnyard Protein posted:i'm sure xsl fo makes sense for someone otherwise it wouldn't exist, right? i came across it while evaluating docbook and i couldn't make any fuckin sense of it. assuming well-formed xml, you can really easily translate raw xml data into basic but presentable html+css. this, of course, naively assumes that anyone has every written xml that's not totally hare-brained. i could rant all day about the horrifying xml we use for our release note portal and the 20k line xslt-foreach soup used to turn it into something displayable, but that poo poo is proprietary and there's no way to convey the horror without breaking confidentiality.
|
# ? Dec 29, 2015 06:30 |
|
xslt is essentially a programming language with its syntax based on xml a programming language whose syntax is based on xml is basically a much more un-readable lisp what im trying to say is xslt is some garbage poo poo
|
# ? Dec 29, 2015 09:38 |
|
I tried to use xslt to convert some xml to html once. then after about an hour I stopped tearing my hair out and used a real programming language instead.
|
# ? Dec 29, 2015 10:03 |
|
|
# ? May 8, 2024 23:07 |
|
comedyblissoption posted:a much more un-readable lisp isn't that the point
|
# ? Dec 29, 2015 11:14 |