20

Preparing some exercise for programming novice :D

Comments
  • 2
    Yesterday I had to make a parser for print ranges (like 4-9,12,14,18-20). I a small thing to make but can be done in many ways. I thought that would be a good exercise as well.
  • 1
    @Codex404 I'm not sure to understand what is the exercise but i'm interested :B
  • 2
    @Guillaumez whenever you print pages you can specify a range of pages right? I had to make a method that reads the string and returns all numbers in the specified range. In the case from my previous example
    4
    5
    6
    7
    8
    9
    12
    14
    18
    19
    20
  • 1
    Its pretty easy to do but quite a few ways to tackle it.
  • 1
    @Codex404 Nice idear thank you very much ^^
  • 1
    I have that exact wallpaper on my laptop ✌🏻
  • 2
    Be like my lab TAs for a course I took when I was a novice. A program for making an * triangle
    *
    **
    ***( You get the idea)
    But make it for a 100 lines. And no loops either. Because that's how you go about programming.
  • 1
    @sarc so just pregenerate the triangle and log it?
  • 5
    All caps in JS, ParrotSec as a daily driver.. why? 😷
  • 0
    This feels mkore like VB rather than JS :)
  • 0
    @Condor because i like it ? 😁 it s aller caps but real caps are more tall
  • 0
    @7Raiden it s NodeJs :p
  • 0
    @SanitizedOutput i know my var names on this sucks 😁
  • 1
    @SanitizedOutput because we were not taught that at that point and using things not learned in class weren't allowed as it would "give people an unfair advantage". BS like that
  • 1
    @SanitizedOutput even better manually type 100 lines of * adding another * with each line. This was the point where my suspicion in the system began
  • 1
    @ribchinski Yes <3
Add Comment