|
i want to do more iOS dev but i don't have a mac which is kinda annoying b/c im obvs not gonna get a mini when i can get a rMBP for twice the price. how much worse is xamarin than native iOS stuff b/c im a massive big gay c# baby and xamarin seems nice to use from their tutorials
|
# ? May 12, 2013 10:43 |
|
|
# ? May 16, 2024 19:10 |
uG posted:lol if your works don't pay for your software tools paying for 'software tools' is different because im assuming ur talking about things that are actually more useful than free software alternatives. we are talking about sublime text here, a thing that is worse than vim.
|
|
# ? May 12, 2013 10:56 |
|
i strongly dislike the use of var in c# because i once came across a project that exclusively used var and in trying to read it i almost died because it was pointlessly hard to read and using intellisense to figure out what every loving method returned so i could have some idea of what the hell was going on in this program was pointlessly inconvenient
|
# ? May 12, 2013 11:46 |
Bloody posted:i strongly dislike the use of var in c# because i once came across a project that exclusively used var and in trying to read it i almost died because it was pointlessly hard to read and using intellisense to figure out what every loving method returned so i could have some idea of what the hell was going on in this program was pointlessly inconvenient sounds like the hubris of a lovely programmer. you've come to the right place.
|
|
# ? May 12, 2013 11:51 |
|
Bloody posted:i strongly dislike the use of var in c# because i once came across a project that exclusively used var and in trying to read it i almost died because it was pointlessly hard to read and using intellisense to figure out what every loving method returned so i could have some idea of what the hell was going on in this program was pointlessly inconvenient yeah but on the other side if you changed any of those types most of the code would just work b/c it's using implicit typing also OBAMA BIN LinkedIn posted:sounds like the hubris of a lovely programmer. you've come to the right place.
|
# ? May 12, 2013 11:54 |
|
var domainContext = new DirectoryContext(DirectoryContextType.Domain, ntdomain); WHAT THE gently caress DOES THIS MEAN WHAT DOES IT RETURN?!?!?! I QUIT
|
# ? May 12, 2013 12:40 |
|
hover over with intellisense bitch
|
# ? May 12, 2013 12:44 |
|
polpotpi posted:var domainContext = new DirectoryContext(DirectoryContextType.Domain, ntdomain); var x = res.FirstOrDefault(r => r.isFoo()) did i mention it was bad code also is the trivial difference in letters really that useful oh no i have to change the type completely but i mysteriously only have to change one word and not any other part of the program unless you're advocating using 'var' instead of 'int' or 'double' in which case lol its difficult to change 'int' to 'double' or vice-versa
|
# ? May 12, 2013 12:46 |
if you know what the function does but dont know what it returns then lol. rtfm
|
|
# ? May 12, 2013 13:48 |
|
yeah this is the whole point of intellisense. that also f12 if you're really stuck or retarded or more likely the original author was retarded
|
# ? May 12, 2013 14:43 |
|
Mr SuperAwesome posted:if you're really stuck or retarded or more likely the original author was retarded why not... both !?
|
# ? May 12, 2013 15:26 |
|
Mr SuperAwesome posted:yeah this is the whole point of intellisense. that also f12 if you're really stuck or retarded or more likely the original author was retarded
|
# ? May 12, 2013 15:31 |
|
c# is a wonderful language with by far the best tools for it i sincerely urge you to write a c#, but not today. call your mother today or something.
|
# ? May 12, 2013 15:36 |
|
some person did some very scientific research (i ignored that bit it was boring) and apparently c# devs write the best code or some poo poo
|
# ? May 12, 2013 15:58 |
|
i didn't find that but i found this instead which is good too C/C++ [edit]
|
# ? May 12, 2013 16:11 |
|
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! Of course, this is a Microsoft language, so of course C# devs think it's a good idea to put the class type in all methods and variable names.
|
# ? May 12, 2013 16:13 |
|
chumpchous posted:Jquery is p easy it's the functions nested within functions nested within functions from js that I don't really get stop whatever you're doing and go read up on closures.
|
# ? May 12, 2013 16:17 |
|
Doc Block posted:LOL if having everything be an anonymous type is considered good code in C#. neither of these things are true but please tell me more
|
# ? May 12, 2013 16:17 |
|
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! i like var and make a point of using it everywhere and updating existing code to use it in favor of explicitly typed local variables.
|
# ? May 12, 2013 16:23 |
|
Mr SuperAwesome posted:neither of these things are true but please tell me more How are you not essentially putting the class type in method, property, and variable names if instead of, say, CloudSyncUpdate fileUpdate = whatever ... fileUpdate.fetchLatestUpdate() you have to do var fileUpdate = whatever ... fileUpdate.fetchLatestCloudSyncUpdate() to keep it readable? Or, so that you can still tell what fileUpdate is: var cloudSyncUpdate = whatever ... cloudSyncUpdate.fetchLatestCloudSyncUpdate() to keep it readable? Because if you're designing your API with var usage in mind, having methods just named stuff like fetchUpdate isn't very descriptive. Disclaimer: I've only dabbled with C#, and it was a long time ago. Doc Block fucked around with this message at 16:56 on May 12, 2013 |
# ? May 12, 2013 16:42 |
|
this is a dumb argument
|
# ? May 12, 2013 16:48 |
|
Mr SuperAwesome posted:i didn't find that but i found this instead which is good too don't post shaggar's fanfics
|
# ? May 12, 2013 16:58 |
|
Doc Block posted:Disclaimer: I've only dabbled with C#, and it was a long time ago. http://msdn.microsoft.com/en-us/library/vstudio/ff926074.aspx this is what you are looking for hth
|
# ? May 12, 2013 16:59 |
|
Hellsworn Barn posted:this is a dumb argument
|
# ? May 12, 2013 17:34 |
|
Mr SuperAwesome posted:http://msdn.microsoft.com/en-us/library/vstudio/ff926074.aspx that document seems to recommend only sometimes using var, and using explicit variable typing in cases where the type might not be obvious from context I guess that means the truth was somewhere in the middle????
|
# ? May 12, 2013 17:40 |
|
i dont like using 'auto' in c++ except when its long-winded + boilerplate stuff like declaring an iterator
|
# ? May 12, 2013 17:55 |
|
std::vector<std::unique_ptr<myns::my_dumb_type<std::uint16_t>>>::reverse_iterator it;
|
# ? May 12, 2013 18:22 |
auto owns
|
|
# ? May 12, 2013 18:27 |
|
PleasingFungus posted:that document seems to recommend only sometimes using var, and using explicit variable typing in cases where the type might not be obvious from context i will allow this i sortof forgot that things in linq queries have to be typed which is pretty annoying i suppose so i support using var there for sure but seriously all my real code these days is C++ please release me from this mortal coil of suffering i just want to write some scala
|
# ? May 13, 2013 01:28 |
|
OBAMA BIN LinkedIn posted:nice racism fucko jokes on u bitch coz I went to the vim website to see what it was all about and that was on the frot page!!!!!!!!!!!!!! AhahahahahahahahahAHAHAHAHAHHAHAHAHAHA gently caress U!!!!!! gently caress!!!!!!AHAHAHAHAHAHA LOLOLLLO
|
# ? May 13, 2013 02:34 |
|
yo here's a thing if you want to learn vim and graduate to a better level of coding http://vim-adventures.com/ don't forget to buy a license
|
# ? May 13, 2013 02:42 |
|
The easiest way to learn vim is to learn enough to move around, insert, and delete. Then whenever something annoys you assume there is a better way and google for it.
|
# ? May 13, 2013 02:56 |
|
b-b-but gamification!!!!!!
|
# ? May 13, 2013 02:57 |
|
i have a license
|
# ? May 13, 2013 02:57 |
|
does vimtutor have achievements yet?
|
# ? May 13, 2013 02:57 |
|
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 |
|
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 |
|
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 |
|
|
# ? May 16, 2024 19:10 |
|
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 |