|
I definitely love what this guy is doing with his bike!
My virtual 5 for him, and for you for bringing the link. Thanks
[Flags]
public enum Bool {
True, False, ForSure, Maybe, ProbablyNot, Depends, NotDecidedYet, Undefined
}
private interface IStealth { }
|
|
|
|
|
No pads? (Maybe he has Kevlar undergarments?)
|
|
|
|
|
Amazing.
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
no, not some strange rhyming slang, but a new MS site for learning to code.
here[^]
I must admit, I thought it a good idea at first, but as I progressed, i'm thinking "nah, rubbish!"
Interested in your thoughts.
|
|
|
|
|
I got to 1.06 and looked at the initial test cases and thought WTF?
X, Expected Result
29, 0
3, 1
1, 4
2, 2
|
|
|
|
|
I'm stuck on this one, too [Edit] Na, finally I got it! [/Edit]
Otherwise, I find it quite a good idea. A little bit of gray matter exercising cannot do any harm, can it?
[Flags]
public enum Bool {
True, False, ForSure, Maybe, ProbablyNot, Depends, NotDecidedYet, Undefined
}
private interface IStealth { }
|
|
|
|
|
Finally got it too. Took me 11 attempts. Looks simple after I figured it out. LOL
|
|
|
|
|
That got dull real fast, but that's because I know C#. On the other hand, I could see it actually as a useful way to learn a language. I should try the Java version, since my only experience with Java is JavaScript, and that consists entirely of "google stackoverflow and copy the solution."
If they did something like this for jQuery or languages like Python, Julia, F#, etc., I could definitely see benefiting from it.
Marc
|
|
|
|
|
|
|
Been programming too long - looked at the intro and the routine was labeled 'Puzzle'. W(hy)TF would someone name a piece of wild code that? Fire them! And whoever coded their 'game' won't let me change the name to 'RoutineToCalculateSomethingYouMustFigureOut'!
|
|
|
|
|
I see Microsoft had opted to crowdsource Windows 9.
|
|
|
|
|
Level 01.08 got me stumped. Can't make any sense out of those numbers. Who got that one so far?
|
|
|
|
|
I got that one.
It's 1.10 and 1.13 I haven't worked out yet.
This is more a guess the formula game than any kind of programming challenge.
I'll give the answer to 1.08 below in small text in case you want it....
((2 * y) + x)
|
|
|
|
|
Any luck with 1.10, 1.13?
|
|
|
|
|
1.10 spoiler ahead
x + y/3
|
|
|
|
|
|
|
Can't really click a button entitled 'Play' at work! Might check it out later.
|
|
|
|
|
It seems less like a learn to code game than a pattern recognition practice game. I develop in C# all day, so I expected to just breeze through (the beginner levels at least). The coding isn't the hard part, it's determining the relationship between the numbers. Once I know that, there's a small challenge to getting the skill rating to 3 bars, but that takes guessing and googling. There's no hints, no teaching.
|
|
|
|
|
Jeremy Hutchinson wrote: There's no hints, no teaching.
Just like real life then?
You'll never get very far if all you do is follow instructions.
|
|
|
|
|
_Maxxx_ wrote: Interested in your thoughts.
It bores me, but then again I'm not new. I like the concept, just as long as it builds up to something useful like a project. Building a project is the best way to learn IMO.
Jeremy Falcon
|
|
|
|
|
Yeah - I agree.
When I first looked at it I liked the concept of providing running code and failing test cases - but it didn't seem to be going anywhere after a while, and was relying on the user spotting patterns - so was more of a "what is this function meant to be doing" than "how would you implement this function"
I'd like to see the same concept with, as you said, a program building up
Something simple like, off the top of my head, calculating the area of various shapes.
Functions for rectangle, triangle, circle etc. etc.
Arguments of side lengths/radius whatever
You can then introduce the IShape interface, and Square, Circle etc. classes.
Hmm - I really should get into this!
|
|
|
|
|
Hi!
I wonder if I should name my class either "TymlNormalString" or "TymlStringNormal", taking into account that these classes among 20 others describe an syntax tree for my custom language "Tyml" and that there is a base class "TymlString" and there will be normal strings, escaped strings and implicit strings.
The first has the advantage that it is more natural, the last that IDEs will sort the types and files alphabetical which will simplify finding the wanted type.
I know that this cannot be answered finally, but I am interested in your opinions and your arguments.
|
|
|
|
|
A naming war! It has been a while.
Call it TymlNormalString, I'm sure you can remember the names of the three types of string, no IDE assistance required.
|
|
|
|