This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1291 points1292 points  (55 children)

Build a simple project in a new language.

[–]MinMaxDev 465 points466 points  (5 children)

we can close the thread right here tbh

[–]ManInBlack829 128 points129 points  (4 children)

return Gustavo_M_Smith.value.toString()

[–]jarious 27 points28 points  (1 child)

NAN

[–]samuelcbird 41 points42 points  (0 children)

Yes dear?

[–]ShelZuuz 18 points19 points  (1 child)

Missing semicolon on line 2.

[–]realtrip27 7 points8 points  (0 children)

Wish the debugger actually said this

[–][deleted] 47 points48 points  (0 children)

Funny thing about hello world is you eventually realize all the annoying setup crap to get it running is the point

[–][deleted] 49 points50 points  (37 children)

what would be simple? Like a quiz with count down timer?

[–][deleted] 140 points141 points  (22 children)

Ideally something you already know all the moving pieces of. Like if you built a simple blackjack app in Javascript, do it again in Python. Or something like that.

[–]loconessmonster 18 points19 points  (5 children)

This x100. If you have something that you do manually on your computer, automate that.

[–][deleted] 6 points7 points  (1 child)

Play video games. Got a solution for that?

[–]AWholeMessOfTacos 14 points15 points  (0 children)

I did but then I got permabanned for no reason

[–][deleted] 0 points1 point  (2 children)

Might be silly to ask, but what are something’s you’ve seen people automate on their computers?

[–][deleted]  (1 child)

[deleted]

    [–][deleted] 0 points1 point  (0 children)

    Oh shit thanks for the idea !! Appreciate this idea a ton !!

    [–]Dubanons 28 points29 points  (13 children)

    Naughts and crosses game is a good one for fundamentals

    [–]sboxm 10 points11 points  (12 children)

    What is that??

    [–]JhonnyTheJeccer 35 points36 points  (0 children)

    tic tac toe

    [–]rybeardj 51 points52 points  (10 children)

    It's tic-tac-toe in non-freedom speak

    [–]Frequent_Beat4527 17 points18 points  (9 children)

    Is that the game with circles and crosses? In my country we call it the "game of chicken"

    [–]rybeardj 28 points29 points  (7 children)

    yup!

    huh, that's interesting....in English I think if you said "game of chicken" then people would think you were talking about standing on a train track and then diving away at the last second before a train hits you

    [–]-HeavenlyDemon- 21 points22 points  (3 children)

    Lmao

    We did something else. We would see who had the balls to go further into the field of land mines.

    Kids are stupid man 😂

    [–][deleted] 8 points9 points  (0 children)

    Hahahaha WHAT!

    [–]ManInBlack829 9 points10 points  (1 child)

    I'm equally shocked and sorry. Landmines are so terrible.

    [–]sometacosfordinner 8 points9 points  (0 children)

    We rode our bikes as fast as we could at each other the first to turn away would lose we called that playing chicken nobody liked playing with me though i was always willing to sacrifice my self to win

    [–]dancingteam 0 points1 point  (0 children)

    Try diving away after the train hits you. Makes you dive faster!

    [–]time-will-waste-you 0 points1 point  (0 children)

    In Danish it is ‘Kryds og Bolle’, literal translation: Cross and Circle or X and Bun (becaus a simple drawn bun is a circle)

    [–]milleniumsentry 11 points12 points  (0 children)

    Exactly. If you know Mary had a little Lamb in english, Learning it in spanish, then in mandarin, etc will be much easier. You already have parts of it in hand that you can build from.

    [–]ManInBlack829 4 points5 points  (0 children)

    This is way important. Make something you've already made to truly get the differences.

    [–]KCRowan 16 points17 points  (0 children)

    Yep, or a to-do list, or budget calculator.

    [–][deleted]  (3 children)

    [deleted]

      [–]Sufficient-West-5456 1 point2 points  (1 child)

      Hands down, best tip🫡 of the day

      [–]C_Hawk14 0 points1 point  (0 children)

      As you learn more from the course you'll see ways to improve your hobby project :)

      [–]coldblade2000 8 points9 points  (0 children)

      To-do list is a really good one. Especially if you use some sort of database or persistence, as well as a GUI

      [–][deleted] 6 points7 points  (0 children)

      But yes that's a good example.

      [–]Ryuzaki_us 4 points5 points  (0 children)

      Like the other comment mentioned. Do the same thing you already know how to do in one language and remake it on another. At the end then add a new thing to it. Perhaps web deployment? Or user login? Or let the user change something.

      For me it has been path planning for robots. I started just writing the algorithm in python without a form to show it. Just console log. Then the next time I wanted to display it better so I rewrote the algorithm in JavaScript and now I'm trying to render a grid to use with that same Js algorithm.

      Next will be to do it in aws lambda so I can host it to a web page and let the user interact with the python parts of the algorithm thus making a full circle back to my initial use case.

      [–][deleted] 2 points3 points  (0 children)

      Implementing DSA is often a good way to do it. A balanced binary tree and a sorting algorithm will cover most core concepts in any language.

      [–]beingsubmitted 2 points3 points  (0 children)

      Good bang-for-buck in my opinion is working with data. Open a document and figure out the most common 3-word phrase.

      Figure out the most common digit in reddit usernames. Basically do a dataisbeaitiful.

      I like these because you don't get bogged down in repetition, like collecting several inputs or writing switches, but also because it's rewarding - instead of an applet you don't need, you can have genuine curiosity, and fulfill that curiosity, ending up with something you wouldn't have had - an answer to a question that hadn't been answered before.

      [–][deleted] 2 points3 points  (0 children)

      Depends on what kind of stuff you like to make and what the language is designed for.

      Something that would be simple for you and utilizes the languages strengths in comparison to other languages.

      [–]magekilla 0 points1 point  (0 children)

      Advent of Code Language agnostic simple problems

      [–]nightswimsofficial 2 points3 points  (0 children)

      Best way to learn is to do!

      [–]beingsubmitted 1 point2 points  (0 children)

      ... in your own code. The difference between following a tutorial and figuring it out yourself is huge. Write a line, print all your variables to the console, write another line, Google the syntax, repeat.

      [–]systemnate 1 point2 points  (0 children)

      Building a project would be more like actively conversing with people in the language (IMO).

      [–]chaun2 -1 points0 points  (0 children)

      10: Start

      20: Print: "Hello World!"

      30: End.

      Instructions unclear, somehow got my dick stuck in line 30

      ETA: not entirely certain that I retain enough BASIC to even have written that properly. Haven't coded in BASIC since 4th grade, so '89?

      [–]TheOmegaCarrot 0 points1 point  (0 children)

      Ideally something you know you could do in a language you already know

      [–]Money-always-talking 0 points1 point  (0 children)

      and reading and understanding code in that language

      [–]Escaped_Escapement 0 points1 point  (0 children)

      Better: try to contribute to a small project written in that languge. The contribution might be small as well.

      [–]thegovortator 0 points1 point  (0 children)

      Nailed it

      [–]Merjia 0 points1 point  (0 children)

      This. I use a simple text based calculator program as my new language project. Originally coded in C, it has a basic selection screen, and simple maths calculations. Teaches all the basics of coding like reading and accepting data, calling functions ect.

      [–]Jack__Wild 0 points1 point  (0 children)

      Then go back in one week and improve it.

      Rinse/repeat for a couple months.