oh ur doing iphone dev. stopped reading there lol
|
|
# ? Jun 17, 2013 17:35 |
|
|
# ? May 10, 2024 00:21 |
|
i'm writing another bad python script for arcgis right now. it's gonna be real bad.
|
# ? Jun 17, 2013 17:40 |
|
I don't like the xml datatype. there may be some highly specific valid uses but it smells bad. like it was probably a convenience thing for people who used to store xml as binary in their db and now its destined for abuse by idiots who cant do data design.
|
# ? Jun 17, 2013 17:40 |
|
to xml! the cause of, and solution to, all of life's problems
|
# ? Jun 17, 2013 17:44 |
|
Shaggar posted:I don't like the xml datatype. there may be some highly specific valid uses but it smells bad. like it was probably a convenience thing for people who used to store xml as binary in their db and now its destined for abuse by idiots who cant do data design. it's kinda dumb if you use it right (i.e. querying from it) it's slow as heck and encourages bad design if you just use it as a place to dump xml files for lookup later, use a filestream
|
# ? Jun 17, 2013 17:45 |
|
xml is good for serialization of data in motion and at rest in unstructured stores, but a db is structured so y would u not use that structure?? (the answer is b/c ur a bad programmer)
|
# ? Jun 17, 2013 17:46 |
|
Shaggar posted:xml is good for serialization of data in motion and at rest in unstructured stores, but a db is structured so y would u not use that structure?? (the answer is b/c ur a bad programmer) here an example of one feature code:
not sure why anyone would think that is a good idea
|
# ? Jun 17, 2013 18:01 |
|
in obj-C is there any particular reason to use your own instance variables and methods instead of just dropping a @property in there? they're not doing anything fancy with the accessors except return some value so im confused why they dont just use @properties.
Juul-Whip fucked around with this message at 19:25 on Jun 17, 2013 |
# ? Jun 17, 2013 19:11 |
|
Zlodo posted:games aren't buggy because c++, games are buggy because bad project management, lack of formalized development methods, over compressed development schedules or a combination thereof you reminded me of a cool article so I'm posting it
|
# ? Jun 17, 2013 19:16 |
|
Nomnom Cookie posted:then implement something with terrible design. if u can tell that ur doing something bad thats good enough for a babby dev. u get better with practice but u DONT get better from reading a text on UML and making diagrams for a month WHAT??? son, you better see me after class. heh, school programming is some seriously misleading stuff. oh well, it has its purpose but it's been a lot of fun to just strike out on my own and try and build stuff in a new language. i know i don't know Good Practices in there but thanks to visual studio and online docs holing my hand i can build little dumb apps in c# and that's pretty neat.
|
# ? Jun 17, 2013 19:20 |
|
PleasingFungus posted:you reminded me of a cool article so I'm posting it CUnit < CDoodad < CFlingy < CThingy
|
# ? Jun 17, 2013 19:22 |
|
polpotpi posted:CUnit < CDoodad < CFlingy < CThingy code:
|
# ? Jun 17, 2013 19:23 |
|
PleasingFungus posted:
gunit
|
# ? Jun 17, 2013 19:24 |
|
THC posted:in obj-C is there any particular reason to use your own instance variables and methods instead of just dropping a @property in there? they're not doing anything fancy with the accessors except return some value so im confused why they dont just use @properties. Property setters are slower because they also have to do all the KVO stuff and whatnot. ARC has pretty much eliminated the reason people started using properties for instance variables.
|
# ? Jun 17, 2013 20:11 |
|
PleasingFungus posted:
this is exactly the kind of thing where people tend to go "lol c++" because #include whereas the real problem is the awful architecture with everything and the kitchen sink stuffed into some base class and also from your article the guy reinventing a bad linked list instead of using the stl (which is something you could do in any other language too with equally bad outcome)
|
# ? Jun 18, 2013 00:56 |
|
Zlodo posted:this is exactly the kind of thing where people tend to go "lol c++" because #include whereas the real problem is the awful architecture with everything and the kitchen sink stuffed into some base class just relax; every language is blamed for the sins of its worst users
|
# ? Jun 18, 2013 00:58 |
|
prefect posted:just relax; every language is blamed for the sins of its worst users true
|
# ? Jun 18, 2013 01:02 |
|
prefect posted:just relax; every language is blamed for the sins of its worst users qft
|
# ? Jun 18, 2013 01:05 |
|
Zlodo posted:this is exactly the kind of thing where people tend to go "lol c++" because #include whereas the real problem is the awful architecture with everything and the kitchen sink stuffed into some base class i thought this was the one where they implemented intrusive linked lists but nopeeee
|
# ? Jun 18, 2013 01:11 |
|
NOTinuyasha posted:would you say the time & money you spent learning "academia stuff" was worth it at all Yeah probably. I learn a lot of nonsense but at the same time I might have been overwhelmed trying to learn it all myself at 18
|
# ? Jun 18, 2013 01:11 |
|
Papes posted:I might have been overwhelmed trying to learn it all myself at 18 smdh if you werent programming compilers and scripting language interpreters at 18 just smdh
|
# ? Jun 18, 2013 01:43 |
|
ok so i don't know much SQL but i was just given a big file full of SQL queries and i get most of it but there's these parts likecode:
and i don't know wtf that is doing. wtf is that doing.
|
# ? Jun 18, 2013 15:57 |
|
its probably counting
|
# ? Jun 18, 2013 15:58 |
|
ah i see.
|
# ? Jun 18, 2013 15:59 |
|
dur posted:ok so i don't know much SQL but i was just given a big file full of SQL queries and i get most of it but there's these parts like what database is that against i use ms sql server and oracle and that's greek to me
|
# ? Jun 18, 2013 16:05 |
|
well i figured it out. notepad++ highlights both COUNTs like their sql command things, but the second one is just a text output, like a column header. i changed it to FeatureCount so it's not as confusing
|
# ? Jun 18, 2013 16:15 |
|
dur posted:well i figured it out. notepad++ highlights both COUNTs like their sql command things, but the second one is just a text output, like a column header. i changed it to FeatureCount so it's not as confusing oh right, so like select count(1) as count except coded in a non-obvious way
|
# ? Jun 18, 2013 17:44 |
|
I am really hating singletons right now. I wish they had never been created.
|
# ? Jun 18, 2013 21:47 |
|
right, because that magically would've taught the guy best practices and he would never have stumbled onto "hey i can just cram these in globals!!"
|
# ? Jun 18, 2013 21:48 |
|
Wat? I'm just mad because they are an overused god class for loving everything. And impossible to test automatically.
|
# ? Jun 18, 2013 21:50 |
|
singletons are to globals as flow-control exceptions are to GOTODirk Pitt posted:Wat? nice stealth edit
|
# ? Jun 18, 2013 21:51 |
|
Didn't mean to ghost edit. I agree with your post. Just frustrated my team sees anything more advanced than a 'systemcontext' singleton as "too complicated." Edit: I thought this was a safe zone
|
# ? Jun 18, 2013 21:55 |
|
most programmers are assholes. all programmers are terrible.
|
# ? Jun 18, 2013 22:07 |
|
Brain Candy posted:most engineers are assholes. all programmers are terrible.
|
# ? Jun 18, 2013 22:12 |
|
Brain Candy posted:most people are assholes. all people are terrible.
|
# ? Jun 18, 2013 22:46 |
|
Dirk Pitt posted:Didn't mean to ghost edit. I agree with your post. Just frustrated my team sees anything more advanced than a 'systemcontext' singleton as "too complicated." it's all right, I stealth-edit pretty much every post I make. just thought it was funny that I spotted yours. everyone is welcome here
|
# ? Jun 18, 2013 22:50 |
|
everything is bad actually
|
# ? Jun 18, 2013 23:37 |
|
Brain Candy posted:most programmers are assholes. all programmers are terrible. i'm a terrible programmer, thankfully it's not really a big part of my job, what sometimes astounds me is how terrible most people who get paid to be programmers are at programming.
|
# ? Jun 19, 2013 00:27 |
|
why are you surprised have you seen the people they pay to manage them? lol right?
|
# ? Jun 19, 2013 01:46 |
|
|
# ? May 10, 2024 00:21 |
|
wait whats wrong with singletons i like them in very specific situations when i don't want random god objects floating in some main class or whatever
|
# ? Jun 19, 2013 05:42 |