Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
philcr30568yI get my newbies to create a calculator that can do decimal, hex, oct etc. If we are plc coding a lift simulator is nice logic to work out call patterns etc.
-
kpenc21328yFibonacci using recursion is the worst way to explain or teach recursion... please don't do it.
-
Scanner5568y@philcr: a calculator could be a good one, thanks
@kpenc: oh, how come? It's the way I was taught, I thought it would be alright. You reckon something simpler would be better? -
Scanner5568y@kpenc I'll get them to do something like raising a number to a power.
Might be better to keep them focused on the recursion stuff. -
Scanner5568y@uddinstock Yeah, definitely gonna do some sort of sort, at some point. The prime numbers thing sounds intetesting, too.
Gonna put together a list of things to do and give them out one at a time, or something.
What they're going into isn't graphical, else I'd definitely do the calculator thing as well. -
Scanner5568yInteresting. Yeah, you're right. Making a calculator was probably the first time I needed to use switch, too.
-
It depends on your purpose for teaching the new person.
If you are trying to hook him into the dark side, then something flashy as creating game would do by showing him step by step to creating one.
If it's going to be purely academic, then go with teaching him/her with C# and OOP concepts as well as data structures.
If it's for a hobby, I say start with skills necessary to build a website. -
On Hackerrank you can find a 30 days of code (or something) section with several interesting problems for beginners.
Related Rants
-
jsombrio57I recently met a young fella (14yo) playing League of Legends. He asked: - What do you do for a living? - I'm ...
-
sam966931Difference between C# and Javascript Me: Hold my cup of tea. C#: That's not a cup of tea. Me: Hold my cup o...
-
ZioCain28How do you even come up with shit like this?
Gonna teach someone conpletely new to programming some C#. What are some good exercises I can give them to understand general programming well?
So far I'm thinking FizzBuzz, some progressively more complex math+logic stuff and maybe fibonacci using recursion.
undefined
c#
teaching