archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
True
Excedrin
null
Everything you just said about C++ applies equally to statically typed languages higher up the abstraction chain (anything ML based, Haskell, ATS). C++ is very close to the worst language to start with. Reasons: instead of learning concepts, you have to spend a LOT of time learning fugly syntax and extremely complicat...
null
0
1318886429
True
0
c2s9h0y
t3_lf038
null
t1_c2s9h0y
t1_c2s70vq
null
1427745113
4
t5_2fwo
null
null
null
True
mikaelhg
null
http://www.infoq.com/presentations/Multi-Platform-Messaging-with-RabbitMQ
null
0
1318886432
False
0
c2s9h1k
t3_lff3n
null
t1_c2s9h1k
t3_lff3n
null
1427745113
5
t5_2fwo
null
null
null
True
mikaelhg
null
Does it still crash your computer?
null
0
1318886470
False
0
c2s9h7z
t3_lff0t
null
t1_c2s9h7z
t3_lff0t
null
1427745116
-4
t5_2fwo
null
null
null
True
Deinumite
null
> It's tough but I think it's the correct way to introduce programming. No IDEs, just you, a text editor and an assembler. There's a big difference between an IDE and a decent text editor. Hell I'd say anyone trying to use an editor without syntax highlighting is just wasting their own time. I'm sure you know thi...
null
0
1318886533
False
0
c2s9hjz
t3_lf038
null
t1_c2s9hjz
t1_c2s7n3s
null
1427745120
9
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318886709
False
0
c2s9ien
t3_lf038
null
t1_c2s9ien
t1_c2s6hqp
null
1427745131
1
t5_2fwo
null
null
null
True
__j_random_hacker
null
I find your interpretation fascinating. I certainly grant you that it's unportable to depend on `FILE` internals, but you > know the exact layout of the struct in exactly the same way as you do for a C++ class -- just by looking at the header where it's defined! When you say that you "can always access [a C++ c...
null
0
1318886718
False
0
c2s9igh
t3_ld12r
null
t1_c2s9igh
t1_c2s9990
null
1427745132
2
t5_2fwo
null
null
null
True
GMTao
null
Full disclosure: I have no experience with Spring, Guice or any other DI framework. Having said that, I do have to wonder if DI frameworks were introduced to get around problems that people have introduced with various other patterns and frameworks that people started using, essentially painting themselves into a corn...
null
0
1318886727
False
0
c2s9iid
t3_lf1px
null
t1_c2s9iid
t3_lf1px
null
1427745134
4
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318886864
False
0
c2s9j6g
t3_lff3n
null
t1_c2s9j6g
t3_lff3n
null
1427745141
16
t5_2fwo
null
null
null
True
pipplo
null
It helps to pick something in the middle. Programming books don't make it any fun. Open source is difficult because you're usually jumping into a large amount of code that you don't understand and trying to figure it out. That's even hard for pros. Set your initial goals lower. I started out writing a text based ad...
null
0
1318887041
False
0
c2s9k4m
t3_lf038
null
t1_c2s9k4m
t1_c2s7dl4
null
1427745153
2
t5_2fwo
null
null
null
True
optomas
null
Hello, world!
null
0
1318887099
False
0
c2s9kgr
t3_lf7o7
null
t1_c2s9kgr
t3_lf7o7
null
1427745158
2
t5_2fwo
null
null
null
True
Really_Likes_Nutella
null
I have been trying to learn Python. It's not too difficult but finding the motivation to do it is what's difficult. I have no real need to write programs. Any short tasks that need doing I can do in bash much more easily. To learn to code I think you just really need a challenge that you need to overcome. Some program...
null
0
1318887132
False
0
c2s9kls
t3_lf038
null
t1_c2s9kls
t3_lf038
null
1427745171
1
t5_2fwo
null
null
null
True
eric_t
null
Yes, getting rid of the linked lists would probably make a big difference, would be interesting to see how much.
null
0
1318887192
False
0
c2s9kvw
t3_lew0f
null
t1_c2s9kvw
t1_c2s8l38
null
1427745164
2
t5_2fwo
null
null
null
True
Really_Likes_Nutella
null
I love HTML. It's almost too easy. It's not really very impressive or useful unless you also know Javascript though.
null
0
1318887247
False
0
c2s9l50
t3_lf038
null
t1_c2s9l50
t1_c2s7frk
null
1427745167
2
t5_2fwo
null
null
null
True
mrkite77
null
There's definitely age discrimination in the programming field. Older people are less likely to work ridiculous hours for no extra pay. How often do you hear about programmers that put in 60 hour weeks.. yet they're salaried so they don't get overtime.
null
0
1318887270
False
0
c2s9l9a
t3_lf038
null
t1_c2s9l9a
t1_c2s8d3t
null
1427745168
8
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318887282
False
0
c2s9lbf
t3_lf038
null
t1_c2s9lbf
t1_c2s9h0y
null
1427745170
2
t5_2fwo
null
null
null
True
dd72ddd
null
Yeah, out of the 4 years of my cs degree, the parts where I learned to code probably only amount to 2-5 months, wherein I was only coding like, 25% of the time I was doing uni work. It really isn't a big commitment, hadn't done any programming before starting cs either.
null
0
1318887291
False
0
c2s9lde
t3_lf038
null
t1_c2s9lde
t3_lf038
null
1427745171
1
t5_2fwo
null
null
null
True
polycant
null
One way to go about it: mh (to set mark 'h' where you are in your code) [[ or ]] (to move to previous/next function) yw (to "yank" a word. use yW to grab 'words' that include punctuation) 'h (return to the mark you set) p (to paste the yanked text)
null
0
1318887387
True
0
c2s9lt8
t3_lfblq
null
t1_c2s9lt8
t1_c2s9egu
null
1427745176
10
t5_2fwo
null
null
null
True
rkenned
null
DI frameworks don't really add any new functionality. They just make instantiation of things a little easier to understand, and they cut down on some boilerplate. For the most part, they replace the factory pattern and make things a bit easier to test.
null
0
1318887400
False
0
c2s9lv9
t3_lf1px
null
t1_c2s9lv9
t1_c2s7zeh
null
1428192213
2
t5_2fwo
null
null
null
True
shoseki
null
Dependancy Injection - where you code so opaquely, that the company has no choice to but to continue hiring you to support the project.
null
0
1318887430
False
0
c2s9m0j
t3_lf1px
null
t1_c2s9m0j
t3_lf1px
null
1427745179
0
t5_2fwo
null
null
null
True
aaaxxxlll
null
Beware of using message queues that you can't easily inspect/debug/recover. Maybe by now there are some tools for managing [MSMQ](http://msdn.microsoft.com/en-us/library/ms703216%28v=VS.85%29.aspx), but 3-4 years ago I had the pleasure of dealing with crashing queues, missing items, failed messages, etc. It wasn't the ...
null
0
1318887432
False
0
c2s9m0u
t3_lff3n
null
t1_c2s9m0u
t3_lff3n
null
1427745179
10
t5_2fwo
null
null
null
True
[deleted]
null
A bunch of big sites use it including Facebook.
null
0
1318887516
False
0
c2s9mf8
t3_lfhyw
null
t1_c2s9mf8
t1_c2s9ewf
null
1427745184
2
t5_2fwo
null
null
null
True
xiongchiamiov
null
Mm, being able to put up a page, online, with different colors and text sizes and pictures of your dog is pretty bad-ass for most people. They made **an internet**. Look, look, I can email it to you, and you can view it on *your* computer. I held off on learning actual programming until forced to by my 101 universit...
null
0
1318887732
False
0
c2s9nja
t3_lf038
null
t1_c2s9nja
t1_c2s9l50
null
1427745200
1
t5_2fwo
null
null
null
True
greenspans
null
hurr, that's like saying unix pipes are slow cat word_list.txt | sort | uniq | grep 'anus' > sorted_anusees.txt "hey man, you could have written a huge function from scratch that did that all in one pass." lists aren't about speed but easily composability. Strings in haskell should have been more like Data.Te...
null
0
1318887820
True
0
c2s9nz1
t3_lew0f
null
t1_c2s9nz1
t1_c2s82j5
null
1427745203
0
t5_2fwo
null
null
null
True
[deleted]
null
But swearing in commits is hilarious! And it's what real hackers do!
null
0
1318887820
False
0
c2s9nz3
t3_lf898
null
t1_c2s9nz3
t1_c2s8twk
null
1427745203
1
t5_2fwo
null
null
null
True
xiongchiamiov
null
At my school, we used [LC-3](http://en.wikipedia.org/wiki/LC-3), which is an educational assembly language. Not useful directly in the field, but it's nice for getting the concepts.
null
0
1318887861
False
0
c2s9o6o
t3_lf038
null
t1_c2s9o6o
t1_c2s85sk
null
1427745207
2
t5_2fwo
null
null
null
True
banuday
null
Not exactly. Dependency Injection is an instance of a broader pattern called [Inversion of Control](http://en.wikipedia.org/wiki/Inversion_of_control), which includes Service Locator. The goal is to get rid of `new` and `getInstance()` from service classes so that dependency management is separated from business logi...
null
0
1318887890
False
0
c2s9oci
t3_lf1px
null
t1_c2s9oci
t1_c2s7rsc
null
1427745209
4
t5_2fwo
null
null
null
True
x86_64Ubuntu
null
I see what you are saying, but in the Flex world it helps TREMENDOUSLY when you can keep your presenters, model and views seperate from each other. The only other way to manage dependencies without a DI framework is to use a singleton. I have seen this done, and it is a great way to burn through millions of dollars a...
null
0
1318887922
False
0
c2s9oi8
t3_lf1px
null
t1_c2s9oi8
t1_c2s7opa
null
1427745213
3
t5_2fwo
null
null
null
True
mrkite77
null
Not necessarily. It is widely believed that speech has a critical period. If you don't learn a language by the time you reach puberty, you will *never* learn.
null
0
1318887925
False
0
c2s9oix
t3_lf038
null
t1_c2s9oix
t1_c2s68gy
null
1427745213
7
t5_2fwo
null
null
null
True
j_lyf
null
Some sort of Yahtzee game. With 50 million scanf's in a gigantic nested loop. aww yeah. That was before the Data Structures course where we learnt to code in a pseudo OOP style, with types based on structs, mallocs and pointers. (Anyone from University of New South Wales do COMP1911/COMP1921)?
null
0
1318888659
False
0
c2s9se5
t3_lf7o7
null
t1_c2s9se5
t3_lf7o7
null
1427745265
1
t5_2fwo
null
null
null
True
Excedrin
null
Hrm, I guess that's a valid point (re: recursion) and definitely falls into the category of "this used to confuse me, but now I take it for granted." I think that for someone who hasn't been exposed to iteration it should be equally easy to understand either, but maybe it doesn't turn out like that in practice. Unders...
null
0
1318888685
False
0
c2s9sj7
t3_lf038
null
t1_c2s9sj7
t1_c2s9lbf
null
1427745266
1
t5_2fwo
null
null
null
True
Liquid_Fire
null
I like to use a lot of `^U` and `^D` when scrolling around - it's faster than `j`/`k`, but still doesn't jump around an insane amount. Another nice set of movement operations is `}`/`]]`/`[]`/`]}`/etc depending on the language, for jumping between functions or other sections of code. Or if you know what you are looking...
null
0
1318888700
False
0
c2s9slq
t3_lfblq
null
t1_c2s9slq
t1_c2s9egu
null
1427745266
3
t5_2fwo
null
null
null
True
calc0000
null
My biggest gripe about OAuth is that it was obviously not written for anyone other than web developers (or at least Twitter's flow isn't). For example, authentication on Twitter requires an application to either embed a web browser control inside itself, or to give a URL to the user and have the user return a code ret...
null
0
1318888721
False
0
c2s9spl
t3_lfhyw
null
t1_c2s9spl
t1_c2s9ewf
null
1427745267
3
t5_2fwo
null
null
null
True
grauenwolf
null
Because it is hidden behind layers of interfaces and an DI framework that assembles everything out of band. Development tools can't pierce the veil, you have to track everything down one piece by painful piece.
null
0
1318888863
False
0
c2s9tf1
t3_lf1px
null
t1_c2s9tf1
t1_c2s995n
null
1427745276
1
t5_2fwo
null
null
null
True
drysart
null
> Why do we need a confusing name to describe "not choosing the class you're going to use at compile time, but dynamically at run time". Because when you refer to a concept, it's a lot easier to use 2 words than it is to use 16 words. And as common-sense as it is to you and me, a lot of developers need their hand...
null
0
1318888900
False
0
c2s9tla
t3_lf1px
null
t1_c2s9tla
t1_c2s7zeh
null
1427745278
5
t5_2fwo
null
null
null
True
Excedrin
null
> Okay, but for a dynamically typed language, if I mess up something with the language, then I don't know what happened. In C++, yes, fugly syntax and complicated semantics - but at least the compiler yells at me and tells me exactly what happened when I made a mistake. Have you coded in Haskell? If you like this k...
null
0
1318888930
False
0
c2s9tqc
t3_lf038
null
t1_c2s9tqc
t1_c2s9lbf
null
1427745288
1
t5_2fwo
null
null
null
True
drgalaxy
null
When I was about 16 I remember expressing sadness to a mentor of mine that I had spent the last couple of years learning about Linux and the Internet instead of hardcore C++ and low level graphics stuff. He told me not to worry, that plenty of good programmers didn't start until they were much older and that he himsel...
null
0
1318889026
False
0
c2s9u6w
t3_lf038
null
t1_c2s9u6w
t3_lf038
null
1427745296
1
t5_2fwo
null
null
null
True
grauenwolf
null
That makes absolutely no sense. DI has nothing at all to do with separating presenters, model and views. If anything it is a technique to combine them back together again. > The only other way to manage dependencies without a DI framework is to use a singleton That is utterly stupid claim. DI Frameworks cannot do ...
null
0
1318889050
False
0
c2s9uas
t3_lf1px
null
t1_c2s9uas
t1_c2s9oi8
null
1427745288
-1
t5_2fwo
null
null
null
True
grauenwolf
null
Inversion of Control isn't a pattern, it is a technique. When you see a dependency chain that looks backwards you invert it. If it still looks wrong, you invert it again to get back the original code and then try something else. Once you start calling it a pattern you get shit like IoC Containers.
null
0
1318889055
False
0
c2s9ube
t3_lf1px
null
t1_c2s9ube
t1_c2s9oci
null
1427745289
-1
t5_2fwo
null
null
null
True
audioHack
null
This happens to me every time I have to write something in C.
null
0
1318889131
False
0
c2s9uoi
t3_lflbu
null
t1_c2s9uoi
t3_lflbu
null
1427745293
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318889254
False
0
c2s9v98
t3_lfllo
null
t1_c2s9v98
t3_lfllo
null
1427745301
-1
t5_2fwo
null
null
null
True
jakkarth
null
warning: Invalid argument supplied for foreach() in /opt/lampp/htdocs/programr/modules/taxonomy/taxonomy.module on line 1243.
null
0
1318889338
False
0
c2s9vnd
t3_lfllo
null
t1_c2s9vnd
t3_lfllo
null
1427745305
3
t5_2fwo
null
null
null
True
x86_64Ubuntu
null
Show me, I invite you or anyone else to show me how to write a mid-large sized Flex application without singletons littering your code like shell casings on a Compton street corner.
null
0
1318889389
False
0
c2s9vv4
t3_lf1px
null
t1_c2s9vv4
t1_c2s9uas
null
1428192206
3
t5_2fwo
null
null
null
True
Anathem
null
Yeah.
null
0
1318889433
False
0
c2s9w2z
t3_lehrj
null
t1_c2s9w2z
t1_c2s81ge
null
1427745310
1
t5_2fwo
null
null
null
True
Really_Likes_Nutella
null
I guess that is fairly impressive. Just not in IT circles. My problem is that getting to actually doing a programming course without going to university seems to be almost impossible. I learnt almost nothing at college. (upper high school in America?)
null
0
1318889452
False
0
c2s9w6a
t3_lf038
null
t1_c2s9w6a
t1_c2s9nja
null
1427745312
1
t5_2fwo
null
null
null
True
artsrc
null
Module usages should be able to take construction parameters just the same a class instances get them. This is clearer and simpler than DI frameworks. You can do this easily in JavaScript (or CoffeeScript, or ...), but for statically typed languages you need a language feature.
null
0
1318889480
False
0
c2s9wbm
t3_lf1px
null
t1_c2s9wbm
t3_lf1px
null
1427745314
0
t5_2fwo
null
null
null
True
Benutzername
null
> in exactly the same way as you do for a C++ class -- just by looking at the header where it's defined! That header doesn't have to exist on your machine unless you're working on the standard library yourself (E.g. on my machine there is just a `struct FILE;` forward declaration in `stdio.h`). This works because y...
null
0
1318889518
False
0
c2s9wix
t3_ld12r
null
t1_c2s9wix
t1_c2s9igh
null
1427745316
2
t5_2fwo
null
null
null
True
Anathem
null
This is exactly what we do, and I thought everybody else was doing it too. Refactoring is only scary if your tests suck.
null
0
1318889565
False
0
c2s9wrp
t3_lehrj
null
t1_c2s9wrp
t1_c2s7xrn
null
1427745319
1
t5_2fwo
null
null
null
True
[deleted]
null
I agree, and personally find the code modualarity arguments stronger than the test arguments. However, it is not necessarily just indirection and coupling on the minimal interface that makes the approach useful. To create a contrived example, where I am deep in some code, and need to pull data from the db. If I decid...
null
0
1318889657
False
0
c2s9x7i
t3_lf1px
null
t1_c2s9x7i
t1_c2s81jf
null
1427745325
5
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318889739
False
0
c2s9xky
t3_lf038
null
t1_c2s9xky
t1_c2s6hqp
null
1427745330
2
t5_2fwo
null
null
null
True
theoldboy
null
Pfft, you kids today, you're lucky! Back in my day we had a choice between some horrible version of BASIC or assembly language. And don't even get me started about having to write my own assembler in said BASIC... Signed, A Yorkshireman
null
0
1318889792
False
0
c2s9xsg
t3_lf038
null
t1_c2s9xsg
t1_c2s6kqc
null
1427745333
6
t5_2fwo
null
null
null
True
rdhatt
null
> you can hit "Go to definition" Ah, so you don't use ReSharper :). Without R#'s "Go to implementation" then using tools like Autofac are less... comfortable.
null
0
1318889904
False
0
c2s9ybu
t3_lf1px
null
t1_c2s9ybu
t1_c2s8psj
null
1427745340
1
t5_2fwo
null
null
null
True
[deleted]
null
Heh, I do like me some haskell. I like erlang a bit better though.
null
0
1318890032
False
0
c2s9yz6
t3_lf038
null
t1_c2s9yz6
t1_c2s9tqc
null
1427745351
1
t5_2fwo
null
null
null
True
__j_random_hacker
null
I don't think van Laarhoven's Haskell code actually uses random access at all. Although he uses the `!!` operator to explain how to find the maximal rectangle around a given (u, v) point, the code he actually uses to find the largest maximal rectangle across the entire image is all done with zips and maps AFAICT. (In...
null
0
1318890112
False
0
c2s9zct
t3_lew0f
null
t1_c2s9zct
t1_c2s8l38
null
1427745367
3
t5_2fwo
null
null
null
True
LucianU
null
That's why I strongly recommend anyone who starts learning how to program to ask for help when stuck. IRC, forums, stackoverflow are there to help you. IRC was one of the best resources when I started programming, and I wouldn't have done it without it.
null
0
1318890119
False
0
c2s9ze7
t3_lf038
null
t1_c2s9ze7
t1_c2s5s11
null
1427745367
1
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
You don't need the dependencies 'over there': separation of concerns instead of dependency injection.
null
0
1318890134
False
0
c2s9zh4
t3_lf1px
null
t1_c2s9zh4
t1_c2s94tg
null
1427745358
1
t5_2fwo
null
null
null
True
prof_hobart
null
When I was a teenager, back in the 1980s, my dad had a friend who was in his mid to late 70s and still running his own shop. He managed to teach himself to code (on an Amstrad that he'd bought to help run his business). So, no. 25 certainly isn't too old to learn to code.
null
0
1318890360
False
0
c2sa0m2
t3_lf038
null
t1_c2sa0m2
t3_lf038
null
1427745373
1
t5_2fwo
null
null
null
True
backbob
null
That is really cool.
null
0
1318890456
False
0
c2sa12d
t3_lfcpb
null
t1_c2sa12d
t3_lfcpb
null
1427745376
2
t5_2fwo
null
null
null
True
backbob
null
Its working right now.
null
0
1318890467
False
0
c2sa149
t3_lfcpb
null
t1_c2sa149
t1_c2s95n4
null
1427745377
2
t5_2fwo
null
null
null
True
BorisTheBrave
null
> Once the port of NumPy to PyPy has finished, are you going to port SciPy? I gather that motivation for porting NumPy doesn't carry over to scipy, so no. Ported NumPy means PyPy's JIT can completely inline the code and enable proper loop optimizations, a huge win. The C API overhead is much less of a concern for S...
null
0
1318890603
False
0
c2sa1tb
t3_lez71
null
t1_c2sa1tb
t3_lez71
null
1427745385
3
t5_2fwo
null
null
null
True
roboduck
null
You are right, this is something I didn't consider. I should've said: It's not too learn to learn how to ANYTHING... provided you were not a feral child.
null
0
1318890626
False
0
c2sa1xf
t3_lf038
null
t1_c2sa1xf
t1_c2s9oix
null
1427745388
8
t5_2fwo
null
null
null
True
LiveOnSteak
null
Socrates (I think) said a man is wise when he realizes how much he does not know.
null
0
1318890648
False
0
c2sa21b
t3_lf038
null
t1_c2sa21b
t1_c2s7p04
null
1427745389
7
t5_2fwo
null
null
null
True
Poddster
null
But unless you already know what these words mean, you have no idea what they mean. They're only useful if you know what they're describing. A major problem with the pattern worship that goes on is that you'll talk to someone and mention a pattern name, and they'll say "yeah I know what you mean", and they'll think the...
null
0
1318890772
False
0
c2sa2ml
t3_lf1px
null
t1_c2sa2ml
t1_c2s9tla
null
1427745396
5
t5_2fwo
null
null
null
True
gthemagician
null
don't see why your comment brought the downvotestorm. Learning C is what Ritchie would want.
null
0
1318890785
False
0
c2sa2os
t3_lf038
null
t1_c2sa2os
t1_c2s5sb3
null
1427745397
2
t5_2fwo
null
null
null
True
Dustin_00
null
Marketing. They want constant change yesterday.
null
0
1318890918
False
0
c2sa3bp
t3_lf1px
null
t1_c2sa3bp
t1_c2s8fmv
null
1427745412
1
t5_2fwo
null
null
null
True
grauenwolf
null
I find that challange amusing because DI frameworks can, and often are, used to return a singleton instance of whatever dependency is being asked for. Moreover, there are many types of dependencies that really should be singletons. Unless the object contains internal state, which is usually bad idea for code that invo...
null
0
1318890924
False
0
c2sa3d1
t3_lf1px
null
t1_c2sa3d1
t1_c2s9vv4
null
1427745406
-1
t5_2fwo
null
null
null
True
LucianU
null
You learn a programming language. Then you learn the common tools and libraries used for that language and for software engineering in general (a good editor, a version control system, a code analyzer). You learn best practices like unit testing. You learn to avoid clever tricks. If you're curious, you spend a lot of...
null
0
1318890978
False
0
c2sa3m8
t3_lf038
null
t1_c2sa3m8
t1_c2s7dl4
null
1427745409
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318890998
False
0
c2sa3q5
t3_lfllo
null
t1_c2sa3q5
t1_c2s9vnd
null
1427745410
-1
t5_2fwo
null
null
null
True
snavesinned
null
I never had a CS course in high school. Closest thing I did was use Word programs and I took a typing class (which helped me considerably). After graduating I spent two years just plain ol working. Then I went into the Marines for five years doing radio repair. The troubleshooting skills I learned while in the Mari...
null
0
1318891073
False
0
c2sa435
t3_lf038
null
t1_c2sa435
t3_lf038
null
1428192204
2
t5_2fwo
null
null
null
True
xiongchiamiov
null
> My problem is that getting to actually doing a programming course without going to university seems to be almost impossible. Sure. High schools (at least here in the US) don't have very high standards for learning. Computer courses in particular seem to be expected to be time wasters for people who just don't w...
null
0
1318891176
False
0
c2sa4mr
t3_lf038
null
t1_c2sa4mr
t1_c2s9w6a
null
1427745434
2
t5_2fwo
null
null
null
True
grauenwolf
null
That is the kind of thinking I abhor. You aren't choosing between technical solutions for specific problems, you are choosing between theologies. Saying something "breaks object orientation" is meaningless. What is the real problem that you are having and how does DI fix it?
null
0
1318891198
False
0
c2sa4qd
t3_lf1px
null
t1_c2sa4qd
t1_c2s8sxc
null
1427745428
2
t5_2fwo
null
null
null
True
grauenwolf
null
I agree with everything you said except... * make instantiation of things a little easier to understand * cut down on some boilerplate * make things a bit easier to test.
null
0
1318891354
False
0
c2sa5hy
t3_lf1px
null
t1_c2sa5hy
t1_c2s9lv9
null
1427745435
8
t5_2fwo
null
null
null
True
michaelochurch
null
Age discrimination is about the trend observed in mediocre people, not people like Vanthu. Mediocre people (by mediocre, I don't mean "average IQ"; I mean "lacking in creativity, curiosity, and initiative") start to lose intelligence around age 25, with the drop being noticeable by 40 and severe by 65, and the world i...
null
0
1318891482
False
0
c2sa62u
t3_lf038
null
t1_c2sa62u
t1_c2s8exz
null
1427745441
-7
t5_2fwo
null
null
null
True
nluqo
null
Same here. I did Electrical Engineering and Computer Engineering in undergrad. I don't know why! I knew I wanted to be a programmer since highschool, but I was somehow convinced programming was a volatile field (perhaps it had something to do with the 2001 tech bubble). Getting my first "real" development job was pret...
null
0
1318891583
False
0
c2sa6jp
t3_lf038
null
t1_c2sa6jp
t1_c2s5dsc
null
1427745447
1
t5_2fwo
null
null
null
True
__j_random_hacker
null
> just a `struct FILE;` forward declaration I see what you mean. And I accept that although you could forward-declare a C++ class in the same way, you of course wouldn't be able to call any methods on pointers to it, making it pretty useless. Programming in C++ would certainly be nicer if you could actually (rath...
null
0
1318891646
False
0
c2sa6uu
t3_ld12r
null
t1_c2sa6uu
t1_c2s9wix
null
1427745451
2
t5_2fwo
null
null
null
True
x86_64Ubuntu
null
>...used to return a singleton instance of whatever dependency is being asked for. Singleton as in one on the stack yes. But as something of which there can only be one no. >...Moreover, there are many types of dependencies that really should be singletons...there is no reason to ever have more than one. Yes,...
null
0
1318891770
False
0
c2sa7gt
t3_lf1px
null
t1_c2sa7gt
t1_c2sa3d1
null
1427745460
3
t5_2fwo
null
null
null
True
banuday
null
What's the difference between a pattern and a technique? It is true, that the term "Pattern" has gotten a bad rap from GoF, but even GoF wasn't that bad if looked at as a collection of useful strategies for solving problems in a specific class of OOP languages. Even IoC containers have their place. Sure they an be ...
null
0
1318891978
False
0
c2sa8gl
t3_lf1px
null
t1_c2sa8gl
t1_c2s9ube
null
1427745473
4
t5_2fwo
null
null
null
True
Nebu
null
> Do you see where I'm going here? Perhaps: at first I thought you were complaining about the type system; but then it seemed like you were actually complaining about the syntax. Now it sounds like you're claiming language X is bad because people unfamiliar with language X may find it confusing, and that it's possi...
null
0
1318892058
False
0
c2sa8up
t3_l9v2n
null
t1_c2sa8up
t1_c2s6fpa
null
1427745478
1
t5_2fwo
null
null
null
True
javajunkie314
null
I'm a computer science TA. At least at my university, it's crazy easy to get a BA in computer science (BS is not much harder). We keep having to make the courses easier to keep up our graduation rates, because enrollment rates are dropping. It's going to get to the point where a degree is meaningless. I have a lot of ...
null
0
1318892161
False
0
c2sa9d5
t3_lf038
null
t1_c2sa9d5
t3_lf038
null
1427745485
2
t5_2fwo
null
null
null
True
sheafification
null
Cool, but for some reason Phoenix AZ is in the middle of the Atlantic Ocean. O_o
null
0
1318892405
False
0
c2saak0
t3_lfcpb
null
t1_c2saak0
t3_lfcpb
null
1427745499
2
t5_2fwo
null
null
null
True
Leechifer
null
I think he means the client has revenues of $12M per year. (As in, not a mom & pop client).
null
0
1318892459
False
0
c2saat2
t3_lf038
null
t1_c2saat2
t1_c2s7cxd
null
1427745502
10
t5_2fwo
null
null
null
True
jrthib
null
story of my life
null
0
1318892487
False
0
c2saaxn
t3_lflbu
null
t1_c2saaxn
t3_lflbu
null
1427745505
1
t5_2fwo
null
null
null
True
grauenwolf
null
In this case I mean *technique* as "something you do". Or in other words, the act of inverting a dependency chain. A pattern is something static. You can't look at my code and tell whether or not I used the inversion of control technique. Maybe I did, maybe I didn't, that is lost to time. But you can tell whether or n...
null
0
1318892786
False
0
c2sacd0
t3_lf1px
null
t1_c2sacd0
t1_c2sa8gl
null
1427745522
3
t5_2fwo
null
null
null
True
dons
null
I found myself wanting more specifics, frustratingly. Why, and where was Go found to be easier, for example? In parsing?
null
0
1318892836
False
0
c2sacmj
t3_lfm1k
null
t1_c2sacmj
t3_lfm1k
null
1427745527
47
t5_2fwo
null
null
null
True
Leechifer
null
Skynet...that's why you wouldn't. ;)
null
0
1318892912
False
0
c2sad07
t3_lf038
null
t1_c2sad07
t1_c2s7mpw
null
1427745532
3
t5_2fwo
null
null
null
True
ApochPiQ
null
Tests can't capture everything.
null
0
1318892922
False
0
c2sad2c
t3_lehrj
null
t1_c2sad2c
t1_c2s9wrp
null
1427745532
3
t5_2fwo
null
null
null
True
grauenwolf
null
ORM? In Flex? Everyone I know hides the database access code behind a web service call.
null
0
1318892957
False
0
c2sad8g
t3_lf1px
null
t1_c2sad8g
t1_c2sa7gt
null
1427745535
0
t5_2fwo
null
null
null
True
Leechifer
null
PUSH POP MOV SHIFT XOR AND NOT... The java coders almost never know what the fuck we might be talking about. Granted, they don't need to. It just makes me feel old.
null
0
1318893241
False
0
c2saenw
t3_lf038
null
t1_c2saenw
t1_c2s9o6o
null
1427745554
3
t5_2fwo
null
null
null
True
_georgesim_
null
You cannot embed assembly into Java, and the Java language doesn't lend itself to a very close representation of a machine's assembly. In this way, C and C++ give you a much direct control of the machine. And yes it is easy to call C++ code from C, with the use of **extern "C" {}**. > I'll grant you that most lang...
null
0
1318893369
False
0
c2saf88
t3_l7gl3
null
t1_c2saf88
t1_c2s7tag
null
1427745562
1
t5_2fwo
null
null
null
True
grauenwolf
null
For "must work" scenarios I still stick everything in the database. The message queue is just to send a "do work now" message to the backend service so that it doesn't need to poll the database. Sometimes I even have the database stored proc send the message so that I don't need to go back and rewrite 15 year old appl...
null
0
1318893439
False
0
c2safl8
t3_lff3n
null
t1_c2safl8
t1_c2s9m0u
null
1427745574
4
t5_2fwo
null
null
null
True
[deleted]
null
RE: essential complexity vs. incidental complexity I think you hit the nail on the head when you say "at least some part", because there can be lots of little additions, that were not well-thought out, but which solved a problem. Sort of epicycles within epicycles, that get the right answer, but which are hard to reas...
null
0
1318893453
False
0
c2safna
t3_lehrj
null
t1_c2safna
t1_c2s96ip
null
1427745575
1
t5_2fwo
null
null
null
True
awj
null
Where does Facebook use it? Is this for third parties trying to access FB or do they themselves use it for something? I guess it seems like OAuth has always been a second-class citizen with the big players. They offer it for everyone *else* to use, but don't actually bother to deal with it themselves.
null
0
1318893463
False
0
c2safp4
t3_lfhyw
null
t1_c2safp4
t1_c2s9mf8
null
1427745568
2
t5_2fwo
null
null
null
True
Teekoo
null
Can I ask how long did you program until you were confident that you could do it for a living?
null
0
1318893478
False
0
c2safrv
t3_lf038
null
t1_c2safrv
t1_c2s7n3s
null
1427745568
1
t5_2fwo
null
null
null
True
banuday
null
A pattern is also something you do. But we gave it a name and show some examples of how it is done. A pattern could be seen as a way of making the code more expressive, so if you are using Inversion of Control, it is obvious. In a way, a pattern is a codification of a "technique" that expresses its intent in a way othe...
null
0
1318893631
False
0
c2sagho
t3_lf1px
null
t1_c2sagho
t1_c2sacd0
null
1427745579
2
t5_2fwo
null
null
null
True
holyteach
null
I think launching a startup is a wonderful idea.
null
0
1318893652
False
0
c2saglo
t3_lf038
null
t1_c2saglo
t1_c2sa62u
null
1427745585
2
t5_2fwo
null
null
null
True
Leechifer
null
This. The shit I can do with this Android phone makes me feel like Captain F'ing Kirk! A few years ago we didn't have the CPU/flash memory/HD space, etc etc that I even dreamed of. Now it's commonplace.
null
0
1318893755
False
0
c2sah2o
t3_lf038
null
t1_c2sah2o
t1_c2s7cig
null
1428192203
2
t5_2fwo
null
null
null
True
Leechifer
null
Do it. Just do it, if it's fun and/or interesting. I've had about a 10 year break from coding, and it's never been my main role. I've managed programmers, led teams of programmers, architected for programmers, and done a bit of coding... Started with BASIC, Pascal, assembler, and then years later C. Then Perl. S...
null
0
1318894049
False
0
c2saie6
t3_lf038
null
t1_c2saie6
t3_lf038
null
1427745611
1
t5_2fwo
null
null
null
True
automaticit
null
Did you take a data structures class, or learn the material otherwise? You don't need to know how to code up a doubly-linked list, hash list or red-black tree off the top of your head. There are libraries for when you need those, and it's sub-optimal to have all the nuances committed to memory instead of the API you a...
null
0
1318894160
False
0
c2saj19
t3_lf038
null
t1_c2saj19
t1_c2s6hqp
null
1428192195
3
t5_2fwo
null
null
null
True
grauenwolf
null
So I need to document my code with comments like these? //I refactored this //I used a flow chart to decide what to write here //This code was bench tested at some point in the past
null
0
1318894466
False
0
c2sakkj
t3_lf1px
null
t1_c2sakkj
t1_c2sagho
null
1427745644
0
t5_2fwo
null
null
null
True
andyrocks
null
How did that happen? I've worked with MSMQ quite a bit and I've never found those sorts of problems.
null
0
1318894833
False
0
c2sambr
t3_lff3n
null
t1_c2sambr
t1_c2s9m0u
null
1427745668
1
t5_2fwo
null
null
null
True
badcookies
null
Usually I mean built in libraries (I do C# dev the most), so much stuff is out there, but you'd never know unless you read every page of the documentation or search on places like stackoverflow lol :)
null
0
1318894928
False
0
c2samsu
t3_lehrj
null
t1_c2samsu
t1_c2s49y0
null
1427745673
2
t5_2fwo
null
null
null