|
Mr Dog posted:Programming is better suited to being taught by means of apprenticeships rather than degrees ideally, you'd have a combination of formal education with the apprenticeships; i am always wishing i knew more "hard" computer science stuff
|
# ¿ May 8, 2013 14:48 |
|
|
# ¿ Apr 30, 2024 00:57 |
|
Cold on a Cob posted:the best part of being a coder is going back and looking at old code and being like "what the hell is this poo poo this is terrible" then checking the repo history and seeing it was u this takes about two weeks
|
# ¿ May 8, 2013 22:18 |
|
Martytoof posted:how do i make a webpage with it at least i've never tried (or wanted) to learn how to create flash things
|
# ¿ May 8, 2013 22:56 |
|
Martytoof posted:idgi should i be using a perl instead i unironically love perl and i don't care who knows
|
# ¿ May 8, 2013 22:58 |
|
BANME.sh posted:inline conditionals and loops own if they fit on one line, sorry gently caress that; i've had to untangle the stupid things that go on for four hundred characters with no newlines
|
# ¿ May 9, 2013 01:37 |
|
A Sloth posted:MiDAS division is just a kind of multiplication, and subtraction is just a kind of addition, so ma
|
# ¿ May 9, 2013 13:19 |
|
MORE CURLY FRIES posted:write a function in javascript which redefines itself once its run you can probably name a javascript function with a non-printable character
|
# ¿ May 9, 2013 15:16 |
|
keygen and kel posted:you also apparently think australia is part of europe. well, they have a queen, don't they?
|
# ¿ May 9, 2013 20:13 |
|
Rexicon1 posted:Who det queen er austrailier australia believes in queens europe is where queens come from australia is part of europe qed
|
# ¿ May 9, 2013 20:19 |
|
perl
|
# ¿ May 9, 2013 23:07 |
|
Werthog 95 posted:idgi i'm guessing there's a language out there named after piet mondrian
|
# ¿ May 9, 2013 23:14 |
|
Resplendent Spiral posted:inline short if statements also, put some loving spaces in there -- they are cheap, and you don't have to ram everything together like that pre:void dickbuggeryfucksacks(int fuckbuckets) { if (loldongs) { no(); ok(); actuallyno(); } else { fuckyou(); } }
|
# ¿ May 10, 2013 12:41 |
|
echinopsis posted:this is better to read i like the funny symbols; they light up nice in my editor
|
# ¿ May 10, 2013 12:55 |
|
allman is a heretic who should burn
|
# ¿ May 10, 2013 15:35 |
|
OBAMA BIN LinkedIn posted:its 2 spaces shaggar. thats what it means. the width of the tab is two spaces. hope this helps. four-space indents or fight
|
# ¿ May 10, 2013 16:24 |
|
OBAMA BIN LinkedIn posted:sure, i mean, if you like pointless whitespace the point is that my old eyes get lost without enough indentation
|
# ¿ May 10, 2013 16:25 |
|
OBAMA BIN LinkedIn posted:
the lack of a space before that opening brace enrages me to an unreasonable degree
|
# ¿ May 10, 2013 16:30 |
|
chumpchous posted:I am finding javascript/jquery really difficult to understand. Is there a decent resource for learning js or should I just kill myself o'reilly has a "complete guide to javascript" (something like that) that is really excellent, even for most of the learning once you've got that, all the jquery can be done by reading the docs on their site
|
# ¿ May 10, 2013 20:45 |
|
maybe i'm just lazy and dumb (okay, no "maybe" about it), but sublime does nice auto-complete without being obnoxious, and i don't know how to make (g)vim do that
|
# ¿ May 11, 2013 19:34 |
|
although sublime does annoy me at times. if you hit escape to make it stop suggesting an auto-complete, you have to hit escape _again_ in order to get out of edit mode, and i find myself not escaping often enough (thanks, reflexes) and winding up typing stupid poo poo without realizing it
|
# ¿ May 11, 2013 19:43 |
|
resharper says to do "var whatever" instead of "SomeConvolutedClassNameHere whatever". (http://resharper.blogspot.com/2008/03/varification-using-implicitly-typed.html) but when you do that, the autocomplete says "gently caress you, i'm not going to try to figure that poo poo out"
|
# ¿ May 12, 2013 00:54 |
|
Cold on a Cob posted:i kinda like var when the type name is ridiculously long but i turned that rule off in resharper so it would stop suggesting it i'm writing babby's first c# program, so i don't have the confidence to turn anything off (although i fixed the indenting so it does proper k&r style)
|
# ¿ May 12, 2013 01:22 |
|
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? like, do you use tags or attributes? edit: i'm an idiot and of course i found it as soon as i pinched off a post about it
|
# ¿ May 13, 2013 15:45 |
|
Shaggar posted: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. yeah, i'm doing a section that's name-value pairs, but it now looks like i'll need a second section where it's a list of patterns that i have to match the computer name against i still think in terms of perl, so i want everything to be a hash with nice key lookups
|
# ¿ May 13, 2013 15:57 |
|
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 i'm trying to rewrite a vbscript into c#, partly as a learning experience, partly because the vbscript occasionally hangs itself for no good reason when trying to load xml files and yes, it runs on the client machines prefect fucked around with this message at 16:25 on May 13, 2013 |
# ¿ May 13, 2013 16:17 |
|
how do i map a network drive with c#? (i'm having a tough time finding what i need in the dot-net class library reference) shaggar, i apologize for arguing with you all the time
|
# ¿ May 14, 2013 12:29 |
|
Cold on a Cob posted:lol if you try to get fulfillment at work if you don't have anything that makes you feel happy/accomplished, you can pass the time before death with video games and recreational chemicals
|
# ¿ May 14, 2013 16:16 |
|
The Management posted:I'm actually a great programmer so none of that applies to me i'm not sure you're allowed in this thread or at least you're not allowed to be mean to us
|
# ¿ May 14, 2013 16:57 |
|
Shaggar posted: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. i wound up shelling out but my program actually works! (people tell me i shouldn't be so surprised when things work)
|
# ¿ May 14, 2013 17:19 |
|
i did find a post on these here forums including code that would have allowed me to map a drive without shelling out, but i found it a bit disturbing http://forums.somethingawful.com/showthread.php?threadid=2262300&pagenumber=13&perpage=40#post324849558
|
# ¿ May 14, 2013 17:51 |
|
THC posted:last summer I worked at a C# shop which swears by K&R style. but nobody could figure out how to stop ReSharper autocorrecting to Allman style. So every time I checked in code I had to K&R-ize it first i see it in the resharper options, languages > c# > formatting style > braces layout
|
# ¿ May 16, 2013 11:59 |
|
Bloody posted:keep in mind this is a shop dumb enough to not use allman so they cant exactly be expected to be able to navigate menus don't make me cut you
|
# ¿ May 16, 2013 14:26 |
|
Shaggar posted:cool ugly unreadable crap when all the braces are on lines by themselves, things get stretched out vertically and my eyes have trouble understanding them
|
# ¿ May 16, 2013 14:48 |
|
Tiny Bug Child posted:this is almost correct, but opening braces never go on their own line
|
# ¿ May 16, 2013 16:31 |
|
|
# ¿ May 16, 2013 16:53 |
|
GNU Order posted:I never had to use braces, perfectteeth crew represent BRACES EVERYWHERE
|
# ¿ May 16, 2013 17:13 |
|
nrook posted:
why, in order to run some external program, do i have to get involved with something in "system.diagnostics"? that seems like the wrong place for "i want to execute something"
|
# ¿ May 16, 2013 19:06 |
|
cliffy posted:
never allow people to omit braces on for/if statements
|
# ¿ May 18, 2013 23:43 |
|
gucci void main posted:no, they're all loving terrible and much of the communities are especially terrible. it varies greatly but the only redeeming thing about the profession is the money as long as you can tolerate insufferable nerds with autism in my (limited) experience, the perl community is pretty sensible
|
# ¿ May 21, 2013 15:02 |
|
|
# ¿ Apr 30, 2024 00:57 |
|
chumpchous posted:if you love regular expressions, have i got a language for you i do like regular expressions, and get a bit depressed when people reflexively act like they're wizard magic
|
# ¿ May 21, 2013 15:19 |