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
-
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.
-
@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 -
sarc3326yBe 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. -
sarc3326y@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
-
sarc3326y@SanitizedOutput even better manually type 100 lines of * adding another * with each line. This was the point where my suspicion in the system began
Related Rants
-
gururaju56*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx70This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus62Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
Preparing some exercise for programming novice :D
random
linux
vim
nodejs