|
don't use orms and double don't design ur db code first.
|
# ¿ May 9, 2013 04:54 |
|
|
# ¿ May 2, 2024 15:08 |
|
Martytoof posted:every language that isn't c-style looks weird as gently caress don't be. p-langs are purposefully bad and different for the sake of being bad and different.
|
# ¿ May 9, 2013 15:09 |
|
gucci void main posted:c# is probably the only language you should learn if you want reliable tools/debugging/to not kill yourself c# has good tools but javas are more mature
|
# ¿ May 9, 2013 15:10 |
|
all man style, hard tabs only.
|
# ¿ May 10, 2013 15:33 |
|
ugh, the default vs theme is too bright.
|
# ¿ May 10, 2013 15:54 |
|
2 tabs is too big for tabwidth.
|
# ¿ May 10, 2013 16:01 |
|
OBAMA BIN LinkedIn posted:its 2 spaces shaggar. thats what it means. the width of the tab is two spaces. hope this helps. that's far too small. 4 or 5 for sure.
|
# ¿ May 10, 2013 16:24 |
|
gucci void main posted:not that I can't afford it, but I hate the idea of trying to justify $70 for sublime text (not that you ever have to pay for it really) no you idiot. you should not pay money for a text editor.
|
# ¿ May 10, 2013 16:25 |
|
OBAMA BIN LinkedIn posted:unless its visual studio visual studio is an ide vim is a shitpile turd
|
# ¿ May 10, 2013 16:29 |
|
if intellisense wasnt garbage people would never use var.
|
# ¿ May 13, 2013 15:51 |
|
prefect posted:i want to put some run-time configuration-type information into an app.config file (this is c#). do they document the kind of xml formatting you need to use anywhere? c#'s configuration manager is bad rear end. if you're just looking to do simple name value pair stuff you can use the default appSettings section, but if you want to get fancy you can write your own extended config sections w/ custom config managers.
|
# ¿ May 13, 2013 15:54 |
|
Doc Block posted:LOL if having everything be an anonymous type is considered good code in C#. B-b-but I saved myself a split second of typing, who cares about readability! var is one of the few dumb mistakes that snuck into c# from p-langs. the most glaring of these mistakes is no checked exceptions.
|
# ¿ May 13, 2013 15:58 |
|
Cold on a Cob posted:is this some sort of deployment thing where you do different settings for different servers? if so look into slowcheetah. if this is client side stuff, lol sorry have fun vs2012 has slowcheetah built in for the default config files (app.config, web.config,etc...)
|
# ¿ May 13, 2013 16:21 |
|
I need to get an ssd cause this spinny drive sucks, but vs2012 is still decently fast.
|
# ¿ May 13, 2013 18:09 |
|
prefect posted:how do i map a network drive with c#? I don't think theres a way to do it which is probably cause its a userland feature and lots of c# stuff runs w/out user credentials. if you're just looking to access network files you can treat \\computer\sharename as any other folder in c#. if you want to map a drive for a user then shelling out to net use or a batch script or something is probably doable. e: looks like someone wrote a p/invoke wrapper for u http://www.codeproject.com/Articles/6847/Map-Network-Drive-API e2: other option is to include the windows script host libraries via COM http://techisolutions.blogspot.com/2011/12/map-network-drive-using-c-vbnet-code.html Shaggar fucked around with this message at 17:06 on May 14, 2013 |
# ¿ May 14, 2013 17:01 |
|
prefect posted:i wound up shelling out one of the dirty secrets of .net is that on windows you have access to everything in com which is a whole shitload of stuff. you can also register your .net libraries in com too so old com poo poo can use them. what that means is if you've got some old rear end vb6 app and you want to do something like webservice or have a nice database model or w/e you can do that in .net and then expose it to the vb6 via com so you never need to upgrade from vb6!!!
|
# ¿ May 14, 2013 17:42 |
|
Hellsworn Barn posted:or even better well yes if you're a terrible developer that happens, sure. but if you cant properly deal w/ checked exceptions ur a huge idiot.
|
# ¿ May 15, 2013 20:18 |
|
yes the one truly bad brace style
|
# ¿ May 16, 2013 02:02 |
|
Doc Block posted:And what, pray tell, is the Shaggar-approved brace style? all man style, hard tabs only (duh)
|
# ¿ May 16, 2013 14:45 |
|
Doc Block posted:
cool ugly unreadable crap
|
# ¿ May 16, 2013 14:47 |
|
forcing you to handle exceptions is always the right choice. if someone eats the exception or handles it lazily then you can point right at their code and tell them their fired. if you don't force people to handle exceptions then they will just ignore them completely and let them bubble up the stack beyond where they could have been handled. at that point you have to dig through the code and documentation to find where it was thrown and where it should have been handled.
|
# ¿ May 16, 2013 20:06 |
|
tef posted:you're not forced to handle exceptions though, the whole point is that any line can throw one so you don't have to be explicit which one. nah option types would be an awful, overcomplicated way to do error handling. exceptions are easy to deal w/ and checked exceptions ensure that developers deal with them instead of ignoring them.
|
# ¿ May 16, 2013 20:24 |
|
PleasingFungus posted:java question time. my understanding is that, taking advantage of the fact that java strings are immutable, identical strings are stored at the same location in memory. e.g.: for string litteralls this will work, but not string objects Java code:
|
# ¿ May 21, 2013 20:50 |
|
but yes, use enums instead.
|
# ¿ May 21, 2013 20:51 |
|
do it and then get another job where u have to move back to the city w/ higher pay based on the cost of living differential.
|
# ¿ May 23, 2013 15:35 |
|
AWWNAW posted:my group desperately needs more developers but we're located in the American south which means we ain't finding poo poo and my boss doesn't want to hire remotely and I can kinda sympathize with him is it real south or northern carpet bagger south?
|
# ¿ May 24, 2013 03:20 |
|
AWWNAW posted:Mississippi no thanks
|
# ¿ May 28, 2013 17:32 |
|
lol that makes me mad irl when I look at it.
|
# ¿ May 28, 2013 17:50 |
|
just use jaxb to serialize the objects directly.
|
# ¿ May 28, 2013 18:42 |
|
actually idk. I know cxf can automatically serialize stuff w/out annotations but idk if it adds them itself before passing it off to jaxb or if jaxb is smart enough to figure it out w/out them
|
# ¿ May 28, 2013 23:42 |
|
WCF is pretty easy to use. The default service created by visual studio when you create a wcf service application is a basic example that's kind of useful. As with java and CXF you define the service using an interface and model objects and then you tie an implementation to the interface at runtime. The easiest way to get started is just to modify the existing service interface (IService) and play around w/ it and the implementation.
|
# ¿ May 29, 2013 18:17 |
|
CamH posted:just create a new project in visual studio and go for it. it's literally that easy yeah its literally this
|
# ¿ May 29, 2013 18:18 |
|
CamH posted:C# is the best language sorry for your lots also this
|
# ¿ May 29, 2013 18:18 |
|
it has a spacious back seat that will be perfect
|
# ¿ May 29, 2013 21:30 |
|
tef posted:https://github.com/mongodb/mongo-java-driver/blob/master/src/main/com/mongodb/ConnectionStatus.java#L213 anyone using mongo deserves what they get
|
# ¿ May 29, 2013 21:31 |
|
can you even do anything worthwhile in xcode? anyhow, does resharper make intellisense as good as eclipse autocomplete? that might make it worth buying
|
# ¿ May 30, 2013 14:51 |
|
eclipse autocomplete isn't slow. it also doesn't give you garbage like vs intellisense so it ends up being like 10x faster to use.
|
# ¿ May 30, 2013 14:55 |
|
did you disable the default 200ms delay?
|
# ¿ May 30, 2013 15:07 |
|
CamH posted:why is that even a setting (no didnt) to give it that authentic open sores feel.
|
# ¿ May 30, 2013 15:45 |
|
|
# ¿ May 2, 2024 15:08 |
|
like it literally exists because greybeards think they can type faster than autocomplete so they didn't want it coming up.
|
# ¿ May 30, 2013 15:46 |