|
And a great way to make someone bored and frustrated way before they get a chance to see the beauty they can create.
For me: scripting first so you get addicted early, then go deeper if necessary.
cheers
Chris Maunder
|
|
|
|
|
No, no, no! If you can't cope with the boring and frustrating stuff then you need to get into market or sales instead of programming. We only want hard-core, OCD programmers moving forward - not script kiddies!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
My next major project is going to be written in Turtle Graphics[^]
cheers
Chris Maunder
|
|
|
|
|
So cool!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
we all start somewhere, to do do something!!!!
|
|
|
|
|
I would recommend something statically typed, but with a nice syntax (so no C-style languages, sorry). Perhaps Nim[^].
|
|
|
|
|
Does this really count as nice syntax?
import tables, strutils, algorithm
proc main() =
var
count = 0
anagrams = initTable<a href="">string, seq[string]</a>
for word in "unixdict.txt".lines():
var key = word
key.sort(cmp[char])
anagrams.mgetOrPut(key, newSeq<a href="">string</a>).add(word)
count = max(count, anagrams[key].len)
for _, v in anagrams:
if v.len == count:
v.join(" ").echo
main()
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
I know, I know. I'll take the hit, but I actually think BASIC is a great language to start off with. It's very verbose, yes. However that can be a boon to a new developer. I got started by breaking GORILLAS.BAS 1001 different ways but every break got me a little closer to understanding what I was reading. Instead of a mix of symbols and brackets to the untrained eye, it's just words. As an added benefit, VB cracks open the .NET ecosystem.
...never send to know for whom the code faults; if faults for thee.
|
|
|
|
|
I will agree with you. It is very easy to learn and understand. As one of my bosses used to say: "It's so easy to understand, even an auditor can understand it."
In its current invocation, it can do anything the other languages can do and, in some cases, even more. Yes, it is wordy - but for someone learning, words begin and end make more sense than { and }. The different uses for parenthesis, braces and curly braces is often confusing. The syntax for the for command is somewhat cryptic.
It is my opinion that it is better to start with simple and clear, then add the shortcuts later.
__________________
Lord, grant me the serenity to accept that there are some things I just can’t keep up with, the determination to keep up with the things I must keep up with, and the wisdom to find a good RSS feed from someone who keeps up with what I’d like to, but just don’t have the damn bandwidth to handle right now.
© 2009, Rex Hammock
|
|
|
|
|
|
In my opinion, Dartmouth BASIC and its clones does not provide enough of a real-world feel for today's students. Without the ability to display to and accept input from a window, the student is very limited in what can be done. B o r e d o m . . .
We tell our students that, using programs, they can solve problems. Their biggest problems are homework, lab exercises and the like. Of course, they can do the calculations on their TI-85 or using a spreadsheet, like Excel. For freshman and sophomore physics and chemistry labs, this is perfectly fine. Being able to write their own program to process, print and graph their data adds a "cool factor" to the lab report.
__________________
Lord, grant me the serenity to accept that there are some things I just can’t keep up with, the determination to keep up with the things I must keep up with, and the wisdom to find a good RSS feed from someone who keeps up with what I’d like to, but just don’t have the damn bandwidth to handle right now.
© 2009, Rex Hammock
|
|
|
|
|
|
not javascript, for sure.
|
|
|
|
|
Java code is ugly
*hides*
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
No more ugly than C# code, if you let it; any code for that matter can be ugly.
|
|
|
|
|
Don't talk about my code like that. *sniff*
=)
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Slacker007 wrote: No more ugly than C# code, I disagree. From what I remember of Java, everything was methods, there were no properties. Many times less intuitive than .Net.
For example, in .Net we could do
person.Hair.Color = Color.Brown;
but in Java it was
person.SetHairColor(Color.Brown);
Maybe it's changed, this was many years ago, but .Net is much better.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
ZurdoDev wrote: person.SetHairColor(Color.Brown);
and how in the world is that any more ugly than
person.Hair.Color = Color.Brown;
Edit: for the record, I prefer C# myself, and I code in C# for a living, but I would not have any issue going back to Java if I had to.
|
|
|
|
|
Slacker007 wrote: and how in the world is that any more ugly than Really? OK, I thought it was self-evident.
Because .Net mimics real life. Properties make much more common sense than do methods that set properties.
It's common sense and logical to me.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
In my ignorant view of software development, I had thought that a language is fairly agnostic to getting the job done. As my ignorance turned into education, which in turn evolved into despair, I discovered that many languages actually hinder getting the job done. Partly because "getting the job done" meant more than implementing the task at hand -- it also meant being efficient at implementing the task -- debugging, testing, time taken to write the code, etc.
So no, Java in not similar to C#. Java
Latest Article - Azure Function - Compute Pi Stress Test
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Marc Clifton wrote: So no, Java in not similar to C#
Your opinion, which is not substantiated through fact.
|
|
|
|
|
Uh I miss C# so much... I was using it for years during collage and uni and even wrote a bunch of articles here on CP. But UNFORTUNATELY I was doing some maintenance tasks during apprenticeship for *one month* and all the recruiters where like "oh we have a Java programmer here". And they did their ironic smiles when I said that I have basically 10 years of uncommercial C# experience and it's more than one month of fixing NPEs in some 5-year old legacy shut.
So... now I code Java full-time... and it's not so bad because there are tools which are workarounds for Java ugliness. But yep, no properties. Oh, and no run-time generics, indexers, object/collection initializers, raw strings, operator overloading (bigNumberA.add(b.minus(c).div(d)).multiply(e)), tuples, Linq, value types, events, convenient syntactic suger like ?. and so on. And don't get me started on pattern matching. Oh! there are fake lambdas which are translated to anonymous classes (in C# you have an expression tree which MIGHT be translated to classes but doesn't have to - it might be like, SQL or whatever).
On the good side, the IDE is almost as good as VS.
|
|
|
|
|
Would not hesitate for a second.
|
|
|
|
|
I wouldn't go with C# for the following reasons:
1) It's essentially part of a framework rather than a stand-alone language.
2) It's still evolving.
3) You learn a lot more from a lower level language.
I'm a C# programmer and I love C#, by the way, but I think C is a far better place to start.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
I think almost everyone started with C and I agree that C does require developers to learn essentials like memory management etc. I also believe that going the other way around is a more logical learning path with a less steep learning curve.
I should've mentioned that I would definitely put C as a 2nd or 3rd option.
|
|
|
|
|