|
Xml is poo poo
|
# ? May 28, 2013 22:02 |
|
|
# ? Jun 6, 2024 14:28 |
|
nope xml is gr8
|
# ? May 28, 2013 22:02 |
xaml seems ok. i imagine that maybe it could become a clusterfuck in a large app, but otherwise it looks pretty straightforward and vs does a lot of the work for you in setting it up
|
|
# ? May 28, 2013 22:03 |
|
Shaggar posted:nope xml is gr8 yep
|
# ? May 29, 2013 00:50 |
|
Shaggar posted:nope xml is gr8 xml is a reasonable attempt at making it so no-one has to hand roll a goddam parser for some ad-hoc crazy protocol unfortunately, xml is also insane. brb lolling a billion times
|
# ? May 29, 2013 01:52 |
|
My favorite is XML as a language injector for java. Why yes I would like no proper stack trace, no debug, no IDE support, lovely indentation because the format tool is gone, and obscuro sub-plang languages making GBS threads everywhere with no way to know what dependencies are even being used.
|
# ? May 29, 2013 02:02 |
|
don't do that. just use java and if you need a runtime scripting language use groovy cause its really just java in script form
|
# ? May 29, 2013 03:00 |
|
gucci void main posted:xaml seems ok. i imagine that maybe it could become a clusterfuck in a large app, but otherwise it looks pretty straightforward and vs does a lot of the work for you in setting it up Writing ui's by hand lol
|
# ? May 29, 2013 03:31 |
|
MeruFM posted:My favorite is XML as a language injector for java. idk i think json as a code injector for rails beats that
|
# ? May 29, 2013 03:32 |
vapid cutlery posted:Writing ui's by hand lol my bespoke ballmerapp
|
|
# ? May 29, 2013 03:42 |
|
also intellij has excellent support for maven, spring and servlet container xml configs. plus if you have a non-poo poo xsd it will give you autocomplete + popup docs and on-the-fly validation ofc its possible to make a terrible abomination in xml, but well-done xml is literally self-documenting both from expressive tag names and descriptions embedded in the xsd whereas a typical yaml config will look like this boner_providers: - Provider::Svn - Provider::Git - Who::The::Hell::Knows butts: - My::Butt - Butt::Yours - Shadowhawks::Real::Doll::Butt the gently caress is a boner provider? how does this gem get a boner from svn? who knows. what is it doing to my butt? who knows. use the source, luke edit: or you can just gently caress around with it until it looks like its doing what you want, which i'm 99% certain is what p-langers do as a substitute to actually knowing wtf is going on
|
# ? May 29, 2013 03:42 |
all you had to say is "yaml is garbage"
|
|
# ? May 29, 2013 03:47 |
|
basically everything p-langers do for configuration and documentation is garbage
|
# ? May 29, 2013 03:50 |
|
that goes without saying
|
# ? May 29, 2013 03:50 |
|
stupid things programmers believe:Nomnom Cookie posted:literally self-documenting in the same way no-one needs a dictionary because every word in english is self descriptive.
|
# ? May 29, 2013 03:51 |
|
tef posted:stupid things programmers believe: usually im ok with your smug smartass posts but this one makes me caremad a little. what you apparently missed is that the xsd can contain prose documentation on the tags & attributes. thats the loving dictionary in your dumbass analogy. how about you post a link to a blog post you read and butt out
|
# ? May 29, 2013 03:59 |
|
Nomnom Cookie posted:usually im ok with your smug smartass posts but this one makes me caremad a little. what you apparently missed is that the xsd can contain prose documentation on the tags & attributes. thats the loving dictionary in your dumbass analogy. how about you post a link to a blog post you read and butt out lol
|
# ? May 29, 2013 04:01 |
|
Nomnom Cookie posted:if you have a non-poo poo xsd oh
|
# ? May 29, 2013 04:01 |
|
so how do i make uis without wanting to kill myself like whats the form builder app of choice or whatever
|
# ? May 29, 2013 04:07 |
|
Bloody posted:so how do i make uis without wanting to kill myself xcode
|
# ? May 29, 2013 04:09 |
|
Bloody posted:so how do i make uis without wanting to kill myself xaml in visual studio
|
# ? May 29, 2013 04:10 |
|
Bloody posted:so how do i make uis without wanting to kill myself tell ur ux guy to make one \
|
# ? May 29, 2013 04:11 |
|
doxygen makes documentation less painful and encourages better grammar it's always good to take a step back from a 50 line function and then coherently write out what it does. Because if you can't, you should rewrite it or yell at your architect.
|
# ? May 29, 2013 04:22 |
|
MeruFM posted:doxygen makes documentation less painful and encourages better grammar spelling errors in variable names are the bane of my existence now that i'm in charge of a junior developer
|
# ? May 29, 2013 05:15 |
|
today i looked at a big wall of code on his screen from a good distance away and immediately saw a spelling error. thanks autism
|
# ? May 29, 2013 05:16 |
|
you heard it here first, folks: documentation is self-documenting.
|
# ? May 29, 2013 05:44 |
|
Bloody posted:so how do i make uis without wanting to kill myself borland c++ builder or delphi
|
# ? May 29, 2013 06:06 |
|
i wish the manufacturing guys at work had picked up delphi rather than vb for their automation poo poo, it would be way easier to fix
|
# ? May 29, 2013 06:35 |
|
maybe if you work in a money printing factory
|
# ? May 29, 2013 07:29 |
|
Nomnom Cookie posted:usually im ok with your smug smartass posts but this one makes me caremad a little. what you apparently missed is that the xsd can contain prose documentation on the tags & attributes. thats the loving dictionary in your dumbass analogy. how about you post a link to a blog post you read and butt out its got comments, lol
|
# ? May 29, 2013 09:37 |
|
i wonder if we could port this 'comments' tech to other markup languages
|
# ? May 29, 2013 09:45 |
|
tef posted:i wonder if we could port this 'comments' tech to other markup languages that's easy, the hard part is putting useful information in these 'comments' like in java you could convert your javadocs to runtime annotations, then have your serialization code read the annotations and add them as comments, easiest thing ever I don't know how you would even start to approach doing something like that using some other tech
|
# ? May 29, 2013 10:32 |
|
use the fancy <summary> and <argument> or whatever tags in visual studio before your functions and methods and whatnot
|
# ? May 29, 2013 11:25 |
|
Dependency Injection is nice for webapps, how else are you going to instantiate your fifty-odd "controllers" Spring, like many Java things, started out decent and then completely went off into the metametametaframework weeds. Implicit injection with annotations is some poo poo and AOP makes me feel like I'm being trolled. "Yes certainly, let's implicitly alter the semantics of methods if their names match certain patterns. This sounds like a very reasonable thing to do"
|
# ? May 29, 2013 11:37 |
|
does anybody use apache struts any more? i remember getting a brief lesson in it and thinking it was interesting, but not for lightweight sites
|
# ? May 29, 2013 12:08 |
|
Win8 Hetro Experie posted:that's easy, the hard part is putting useful information in these 'comments' then it will be 'self documenting' except for the documentation that is inline
|
# ? May 29, 2013 12:51 |
|
tef posted:then it will be 'self documenting' except for the documentation that is inline i wish ppl would document the circumstances surrounding the code rather than the functionality. it'd be just as if not less useless and way more fun to read.
|
# ? May 29, 2013 12:58 |
|
Mr Dog posted:Dependency Injection is nice for webapps, how else are you going to instantiate your fifty-odd "controllers" spring also has annotation-driven AOP which is better than method name pattern matching but terrible compared to good things
|
# ? May 29, 2013 13:12 |
|
tef posted:its got comments, lol nope, doc tags that the ide can parse and display when i push the "wtf is this poo poo" key. this makes the xml self documenting in that it contains a reference to its documentation thats not really what self documenting means w/e it still beats the poo poo out of all the text serialization formats promoted by p-langers
|
# ? May 29, 2013 13:20 |
|
|
# ? Jun 6, 2024 14:28 |
|
Nomnom Cookie posted:nope, doc tags that the ide can parse and display when i push the "wtf is this poo poo" key. this makes the xml self documenting in that it contains a reference to its documentation xml has a nice subset inside it and xpath owns
|
# ? May 29, 2013 13:33 |