Is that 23K likes of actual code, or does that include comments and blanks? For me personally, about half my "total lines of code" is either blanks or comments (most of that being function head comments, and most of that being because I have to appease my prof's standard or I fail), so I always tell people my project LOC based on "actual lines of code".
Like, this thing I'm currently working on for my CS course is currently 3231 total lines, but only 1640 of that is code (I do habitually keep like 30 newlines at the end of files I'm working on, and I have 23 files, so that adds up).
I actually read up a lot on this because lots of programmers say that commenting is useless. They say that all you have to do is it name everything appropriately.
It's useful if you have to hand your code to someone else and don't want to be constantly bugged by them asking "how do you use this". There is a level of commenting that is "well documented", and not "overly commented".
Again, I agree. Some of the people I'm working with disagree though (i.e. they aren't code-savvy, and actually /need/ each chunk of code briefly explained in a sentence), and I have to comment at the level of the weakest link. If you are collaborating and don't comment at the level of the weakest link, it results in you having to explain what you wrote to them (which means dealing with someone who should understand your code, but doesn't, and we know how that goes), and unlike the workforce, I can't fire by classmates for being incompetent.
If you'd like to continue this convo, could you pm me? It's kinda off-topic from the OP, I'd hate to steal a thread.
I really think commenting is really important. Sometimes, when dong things like writing a file parser, there are so many temporary placeholder variables. It becomes hard to keep track of them without a sense of direction.
Well, if I don't comment the way the professor tells me to comment, I literally get docked 50 points. So I totally agree, I hate all the comments (and for non-academic stuff I only comment when I absolutely need to, or when it's for someone else to use), but if I don't do them, I fail, regardless of how stellar my code is.
God that's how my one professor was too. I could program the assignment for him in no time and have it work perfectly, but if I didn't comment right or at all I would go down a letter grade.
I disagree. Self-documenting code only goes so far. Why would I expect someone else to sit down and take hours figuring out what my optimized inline assembly is doing when I could just leave a sentence or two?
That includes images for all the UI elements, which take up a lot of space.
Also, that's an app. A tweak doesn't have all the elements of an app, it's size it determined directly by the amount of code in it, whereas in an app you have storyboards and nibs and whatnot.
I was reading it wrong, somehow I had "23k-BYTES" in my head, not lines of code, which in fact IS a hella lot of lines of code. Why don't people ever read the posts I add on after the original one?
A friend, ex friend of mine used to spend hours using UltraEdit (Uuedit) tearing apart executable files and rewriting them, somehow he knew where the code was as compared to say am image or some other element. He actually was able to make significant changes in a program, without a debugger. I don't know how in hell he did it, but it was not conventional. But he'd do it at my house and he'd stay here all night long doing it, sometimes day after day. I had to kick him out just to get my own sanity back.
23 is large for your average basic tweak, not so much if it's developed well and has a lot of functionality.
Put it this way, my assignment last year which got top marks had about 3k lines and it took me a couple of weeks to make.
So it's all relative on the situation; like how clever is the developer, if there logic and usage are good, 23k might have flown by in some ways as it would have all feel from his brain into the tweak.
I've only ever written small programs using gw-basic or the debug program in Dos, it was an asspain just to write a little program at would reboot my computer. Back then I had an IBM PC-xt with a whopping 20mb western digital hard drive and two 5 1/4" floppies. Hell it even had an RGB monitor.
That was the only time I've ever even looked at programming, and that was 34? Years ago. But I used to program LISP into autocad on that machine, that was when the whole program was contained on 6 floppy disks. I cant remember any of what I did, except for endless pages of list processing, I don't even remember why now, but I wish I had the enthusiasm I had back then now, there really wasn't any outlet for that kind of knowledge back then like there is today. There wasn't even multitasking back then.
You should get back into it pal, IMO the best to begin learning is Java, because it's easy to learn and safe, other languages you can do some real damage or get some horrible errors. Message me if you want a route on how to get started :)
I know a few people that code Java, I know a guy who does it for military apps. Actually, I think Java is amazing. I would have to start at the very bottom rung.
What is ironic, is although I don't know how to write code, I know how to find errors, I can see causes in my head most of the time. That's what I do, I remove viruses, I can follow their trail through a system like breadcrumbs.
If Java can help me understand what I'm doing better, I'm all for it, just give me a few things I can try out.
Yeah Java has some good development programs too, which is always neat. Java can be restrictive in some ways, but it's powerful and easy to learn!
I'm very good at spotting errors, and from my experience you may code better that way, because you code with less errors. (Sounds like a given I know, but it isn't)
I will forward some of the basic documents when I get home, I'll just send the ones I have been given at university during my first year, know I kept them for a reason ;) I will private message you a link abit later
https://www.eclipse.org/downloads/ eclipse will be your development program, works for windows, mac and linux, probably the best IDE for Java programming, I use the latest Eclipse Indigo if you can find it, but Eclipse Standard 4.3.2 is fine too.
As a final point, feel free to contact me with any code issues, if you need someone to look over it and help you out I would be happy too.
(edit: I could supply you with boring lecture powerpoints and exercises, but that will be useful for when you practice, lets get you in the water first, sorry for late reply also)
Write a 23,000 line essay with no grammatical/spelling errors without using any sort of spell check and completely covering every point without expressing the wrong emotion.
That's how most of the early processors were developed, they started with a chip like the 8088, with a simple command set. Each chip up, included every previous chip's command set. That's why some of the same old commands still work on today's cpu's, it's why activator works on the 1st gen iPhone up to the 5S. It probably requires all that code to make it work in all of those devices- I don't know what the lowest device and iOS this version of activator will run on, but it's gone through the whole gamut of apple products, iOS's, jailbreaks, and compatible tweaks.
Edit: Oh, and StatusHUD 2 for the volume indicator (which is showing because I have screenshot set to activate when I press both volume keys) Edit2: I cannot get those first two links to work and I have no idea. I've checked the spelling at least 5 times and even tried changing the formatting. They're on modmyi. Just do a search.
I don't math, I'm not saying he's lying, and I don't pronounce "concept" that way. I am, however, speculating that he COULD be lying. Just for the fun of it. Just because someone writes popular tweaks doesn't mean they aren't adverse to dropping a little bullshit here and there to get a few thousand more gasps of abject amazement out of their groupies. Funny how the previous comment got downvoted so much.. evidently people truly think the sun shines out of rpetrich's arse and he can do no wrong. shrug
51
u/Beta382 iPhone 6s, iOS 9.0.2 Apr 12 '14 edited Apr 12 '14
Is that 23K likes of actual code, or does that include comments and blanks? For me personally, about half my "total lines of code" is either blanks or comments (most of that being function head comments, and most of that being because I have to appease my prof's standard or I fail), so I always tell people my project LOC based on "actual lines of code".
Like, this thing I'm currently working on for my CS course is currently 3231 total lines, but only 1640 of that is code (I do habitually keep like 30 newlines at the end of files I'm working on, and I have 23 files, so that adds up).
12
u/[deleted] Apr 12 '14
Can a developer help explain us noobs how big/much is 23k lines of coding?
54
u/galaxxxiz iPhone 6 Apr 12 '14
That's insane.
35
u/JackHaal iPhone 5, iOS 9.0.2 Apr 12 '14
That non-karma self post.
5
u/rpetpoor Apr 12 '14
I'm not surprised!
2
u/owrry iPhone X, 14.3 | Apr 12 '14
Holy...
2
u/[deleted] Apr 12 '14
Dude what are you talking about ?! Ryan petrich is going to jailbreakcon so he cannot be a robot
1
u/Mattheuk9 iPhone 8, iOS 11.3.1 Apr 12 '14
He made himself
1
u/X-weApon-X iPhone 8 Plus, 16.3.1| Apr 12 '14
Bah- I get it now, lines of CODE, I don't know how that relates to file size. For some reason I was thinking the two were the same, feh.