Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Artificial languages for instructing computers to do steps of computation in order to complete tasks. They allow programmers to communicate with computers.
-1
votes
Is it a good programming practice to not use getters and setters in trivial parts of code?
Yes. I don't use get/set for private attributes if they are not used outside the class and the class can't be inherited.
If you need to access the attribute outside the class, a get/set is in order. …
16
votes
What do you consider the 1st principle(s) of programming?
Understand the problem first!
14
votes
What syntax element do you hate most in a programming language you use frequently?
Verbosity in Java.
ie:
public static final int
50
votes
Learning Multiple Languages Simultaneously
If it is your first language, I think it would be better to learn it well enough to understand how a programming language works.
Once you have good foundations, you can pick as many as you want.
1
vote
What do you wish language designers paid attention to?
I like a programming language that is easy to learn, and easy to combine to create new things.
For instance, while is attractive to have a lot of ways to write the something, I think it is better to …
3
votes
"Imprinting" as a language feature?
That's an interesting feature.
Scala also supports this.
Not exactly the way you're describing it, but it does, take a look at this:
trait A {
def a() = "Hola"
}
trait B {
def b() = ", …