|
OBAMA BIN LinkedIn posted:singletons are bad and so are boolean arguments. both of these things should cause a programmer to be struck off the computer janitor register. whats wrong with singletons please don't blackball me
|
# ¿ May 8, 2013 00:36 |
|
|
# ¿ May 4, 2024 15:26 |
|
JG_Plissken posted:whats wrong with static data please don't blackball me
|
# ¿ May 8, 2013 04:59 |
|
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 |
|
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 |
|
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:when a trivial error can kill your program then you should drat well have to make sure that is what you intended i read this as indented then laughed about p-langs which will implode if not properly indented
|
# ¿ May 14, 2013 00:50 |
|
code is words that computers can read
|
# ¿ May 15, 2013 04:19 |
|
uG posted:no code is words a compiler can read no wonder ur in this thread this thread is my home did i mention i write java and c i belong here
|
# ¿ May 15, 2013 05:53 |
|
please don't post my closed-source software code
|
# ¿ May 15, 2013 06:57 |
|
Ronald Raiden posted:what if you had a language that didn't need braces as delimiters so you got readability and standardization for free without having to argue about curly brace style. That would be neat. how wide are your tabs do you prefer spaces or true tabs
|
# ¿ May 16, 2013 04:45 |
|
prefect posted:i see it in the resharper options, languages > c# > formatting style > braces layout 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
|
# ¿ May 16, 2013 14:25 |
|
i thought i knew the difference between checked and unchecked exceptions but then i read this thread and now i am an even more terrible programmer what is this nonsense all about please explain like i am a terrible programmer
|
# ¿ May 17, 2013 00:48 |
|
Cold on a Cob posted:python sucks sorry
|
# ¿ May 18, 2013 01:17 |
|
JewKiller 3000 posted:modern programming languages (not java, definitely not any p-lang)
|
# ¿ May 18, 2013 05:53 |
|
or just don't sweat the small stuff because you're probably already coding in some horrible slow plang anyways
|
# ¿ May 19, 2013 14:30 |
|
Doc Block posted:The worst programmers are the ones who can't/won't read compiler error messages, and instead immediately jump on [whatever programmer forum/site] and ask people how to fix it. Especially when they just paraphrase the error message instead of posting it and the offending code. Especially especially when they're using clang. sometimes you just really need to discover yet a new reason for "segmentation fault" or whatever that really cryptic mingw error was that i used to get that really just meant 'something somewhere is wrong' i guess what i'm saying is gently caress c
|
# ¿ May 20, 2013 16:39 |
|
regex suck because they are completely unreadable and unless you have decades of autism are also completely unwriteable
|
# ¿ May 21, 2013 15:24 |
|
hi i am still a terrible programmer just thought id keep you updated
|
# ¿ May 23, 2013 05:16 |
|
Farmer Crack-rear end posted:does your php program 'run out of numbers' because you used a lovely random number function i wish my problems could be such frivolities my thesis is written in c++ poorly
|
# ¿ May 23, 2013 14:54 |
|
chumpchous posted:heh
|
# ¿ May 24, 2013 02:12 |
|
why would you do software in mississippi you know you can send software over the internet you could all go somewhere less poo poo like literally anywhere
|
# ¿ May 24, 2013 03:36 |
|
Stringent posted:same reason you'd live in central america, southeast asia or w/e only you're trading climate/nature for decent hospitals. i cant think of a single reason to live in any of those places but im not involved with organized crime so
|
# ¿ May 24, 2013 03:49 |
|
double ***featureVectors = new double**[windows]; i wrote this. i did this. why did i do this. what is this poo poo. gently caress.
|
# ¿ May 28, 2013 17:30 |
|
you have come to the right place pal
|
# ¿ May 28, 2013 17:55 |
|
just use a lang with xml literals and hail satan
|
# ¿ May 28, 2013 18:40 |
|
today i thought id figure out how to make a webapp because apparently thats the hip thing to do these days so i opened visual studio (the one true ide) and creaded some sort of mvc project and looked at the autogenerated code for about half an hour and then decided that i dont know how to do anything and closed visual studio
|
# ¿ May 30, 2013 16:43 |
|
keygen and kel posted:it comes down to needing to get a good handle on .net stuff, knowing MSSQL pretty well already and already having a full msdn sub. i'll be writing it to fulfill a pretty specific internal role, but want to do it generic enough i can open source it if it doesn't suck. read a thing about linq and become a happy
|
# ¿ May 31, 2013 22:20 |
|
keygen and kel posted:linq seems cool, but still gotta connect to the horrible servers and get the ugly xml then i can use linq to make it play nice in the internal db. yeah with words like that im pretty sure youre in the wrong thread pal
|
# ¿ May 31, 2013 23:53 |
|
prefect posted:c# is really frustrating me; there's a steep piece of the learning curve that i'm just staring at, uncomprehending post the curve itt and maybe we can explain it incorrectly
|
# ¿ Jun 2, 2013 17:38 |
|
prefect posted:it's a half-dozen concepts i don't really understand like "service contracts" and "data contracts" and magic words in brackets that go in front of the class and/or function definitions and there's this "service stack" thing that's supposed to simplify it, but it's still weird and involves web.config files and dtos and apphosts ah, yes, this reminds me of the time i hit 'new mvc website project' or whatever then gazed with horror for half an hour
|
# ¿ Jun 2, 2013 17:59 |
|
Police Academy III posted:somebody tell me if i'm right in my understanding that MVC is actually just a loving state machine you are in the right thread
|
# ¿ Jun 3, 2013 15:26 |
|
Nomnom Cookie posted:Undergraduates should be seen and not heard
|
# ¿ Jun 3, 2013 17:13 |
|
but for real my terrible thesis is like 80% c++ 17% java and 3% julia
|
# ¿ Jun 3, 2013 17:14 |
|
why can't i use orms i loving hate dsls
|
# ¿ Jun 3, 2013 18:38 |
|
chumpchous posted:sorry, you fail at the worst nope http://www.xilinx.com/products/design-tools/ise-design-suite/ise-webpack.htm
|
# ¿ Jun 4, 2013 07:54 |
|
Nomnom Cookie posted:youre missing the two biggest factors in selecting a language. syntax and semantics is like, #5. a k a "why people still use php and c++"
|
# ¿ Jun 4, 2013 17:07 |
|
Sniep posted:its shagger lumping together prolog, pascal and powershell as being poo poo i thought it was perl, python, and pjavascript
|
# ¿ Jun 9, 2013 00:22 |
|
FamDav posted:if you job a computer these are the representations of numbers you should know 1 well duh 2 this is some sort of nerdy way to say 2s complement? okay i guess 3 lol we're gonna ignore the first 3 3 ieee754 duh yeah i mean dont need it memorized but you should know it exists and vaguely how it works 4 what the gently caress is this poo poo get out
|
# ¿ Jun 9, 2013 23:54 |
|
FamDav posted:if you do any kind of scientific computing or graphics work, knowing how to write numerically stable code makes you less awful. what the gently caress is this do you really consider that a valid explanation lmao
|
# ¿ Jun 10, 2013 00:52 |
|
|
# ¿ May 4, 2024 15:26 |
|
use a lang with xml literals like scala thank me later
|
# ¿ Jun 17, 2013 17:12 |