All Questions
6 questions
1
vote
2
answers
1k
views
WebSockets vs Ajax call for scheduled event?
Intro
I have been weighing the pros and cons of using WebSockets vs. an Ajax call for an event which will happen every x number of seconds (in this case 5). I'll start by explaining the scenario.
...
1
vote
3
answers
668
views
What arguments are there to use a coding style for each distinct language? [duplicate]
I recently had a discussion about our coding style for C# projects. Two things in particular were very hard to agree upon.
Method Naming
C# has the de-facto standard of naming (at least public, not ...
0
votes
4
answers
3k
views
Identifying user of a webapp
For a small webapp I want to be able to identify a user.
The issue is, if the user cheats in some manner, I want to be able
to forbid him the usage of my application.
I already have done extensive ...
74
votes
5
answers
83k
views
Why do C# developers newline opening brackets?
I've spent most of the last several years working mainly with C# and SQL. Every programmer I've worked with over that time was in the habit of placing the opening brace of a function or control flow ...
0
votes
1
answer
140
views
What's a similar functionality in JavaScript that insures the object has X data before any actions are taken?
If java/C#/etc one might do something like create a constructor with a parameter, the parameter being the thing the rest of the object may act upon. How is this done in JavaScript? I'm trying to ...
13
votes
2
answers
1k
views
How can I use my coding skills for good?
By this autumn my two small websites should be generating around a total of $1200 a month with minimal/zero input which is enough to for me to live on comfortably enough.
Rather than embark on ...