I think I could do maybe 200 lines but it'd take me forever going over it again and again to make sure it's right. 1,000 seems like a bit much for a hail marry lol.
Even if those 1000 lines were printf("hello world"); I'm sure I would've made a typo somewhere.
copy and paste 10 times and you have 1000 ctrl a ctrl c ctrl v right arrow ctrl v 10 times
My ctrl key is dying from overuse already. Half the time now I replace text with "v." And percussive maintenance has become ineffective.
#define v printf("Hello World")
Type it once. Do the cycle of (hold->select all->copy->tap to drop selection->paste). Now you can code even on a phone
I once did write it blindly, as in white font on a white background, as part of a challenge. I got to about 250 lines and then my brain just straight up quit.
I've only ever known one guy like this. Actually a professor when I was in college that was a sponsor for a programming group. On our first meeting we were talking about what game to make when he just stood up and left the room. After the club was over we found him in his office a bit over an hour later and he was well into finishing a java version of space invaders, he even had the shields that would chunk when hit from the top or bottom. All his example code was done in notepad.
I had a prof who MADE us learn C++ in notepad. All his exams had 2 questions which you could choose to answer and it was handwritten code. He complained every time because people would use the full 2h to finish.
Well, at least wasn't paper.exe like ones I know
Ugh the handwritten code exams and my awful handwriting..
On uni I had to code C with pen and paper without any errors. Fun times.
I did this too when I was in college. Is this not the norm anymore?
I had to do this for c++ like 3 years ago
I had to do this too for all my tests and also a final exam. It's a norm in Poland
I still do it. Working on an AS in CS, and my C++ prof did every daily quiz on paper for the majority of the semester (the department head made him stop because the TA was handling them and technically he wasn't supposed to see our quizzes).
My professor was so shit he'd straight up give you a 0 because you forgot to write a semicolon
Notepad is my IDE of choice
You started to lose me at no internet support, google is my lifeline, but I might be able to get through without it.
But "0 errors and 0 warnings" first try? No, that is the work of demons.
Notepad is my IDE of choice
Why torture yourself like this?
It is clean, quick, and doesn't cloud my judgement with silly colouring in things I would rather think about myself.
I started with a Commodore 64 so I guess I just got used to plain text with no distractions.
I used Notepad for a long time. Then I got hooked on Notepad++ and it changed me. Now I use Sublime, but I still like Notepad every now and then.
I have notepad++ as a habit of setting up a PC but I still end up using normal notepad unless I need to use the compare function, which isn't often.
When I work in unity it opens the c# files in visual studio, which I then reopen in notepad because I hate IDEs that complicate things.
I am sure a lot of the fluff is useful, breakpoints and such, but it isn't what I am used to.
I don't work on big projects or with teams that have standards though, if I did maybe an IDE would become preferable, but for what I do, notepad is plenty.
I use Visual Studio for development but when I'm making a change directly on the server (not something I need to do often, thankfully) I always use Notepad++.
Somewhat reminds me of when I coded the game battleship (player vs computer, computer learns) in python back in Highschool for a project.
I only used the IDLE which comes with python (on Windows at least) and managed that problem completely fine.
In a current project in university (where I was doing the frontend in angular in VS Code) after the one, who should have created the backend-communication part to the front-end and the room-manager failed to produce working code I created that somewhat simplified in one night, again only with the Python IDLE.
Now for further refinement I did switch to VS Code because of the IntelliSense and type hints. Helps a lot when I don't have to perfectly memorize all datatypes in a language I don't use all to often.
Modern software engineers need to be flexible and adapt to the ever changing landscape. Why handicap yourself by blatantly ignoring tools?
Edit: Totally forgot the nightmare of notepad carriage returns and deploying to linux. Even more reason to not use notepad.
Honestly the biggest thing that kills the idea of using notepad for code for me is just that I can’t select multiple lines at once. Want to change the indentation of chunk to wrap it in a conditional? Have fun hitting tab per line lol
I use a color scheme with very little colour in it, I find most highlighting distracting as well. But there’s other IDE features that really help keep all the needed context in my head. Plus I remember indentation being really obstructive in my notepad coding days
How does syntax highlighting cloud your judgement? Do you just type out long variable names without autocomplete? Do you know all arguments to all functions you ever use?
I tend to keep a separate notepad with notes and things to copy/paste as needed, and I am not involved with huge projects that have other people contributing so that helps, I am a hobbyist that does it for fun, I like inventing problems or challenges and seeing if I can do them without asking google. (I still end up asking google a lot)
I am not suggesting other people do it this way, especially in a professional setting, even in the Java/C# course I did a real IDE was required, and even though it had autocomplete I found myself typing out everything anyway.
If I accidentally open Visual Studio from Unity then I will use it, but not on purpose.
They're likely not writing intensive apps and/or not actually doing professional dev work. Notepad fucks up the line returns for me. Plus it crashes when the files are over a certain size. It also doesnt support ANY formatting outside spaces.
I use online notepad
Notepad isn’t an IDE, nor anything similar, and I’m sorry no matter how good a developer you are, when not using the proper tools, or ignoring to learn to use them, you are handicapping yourself.
You should try word, it even allows colored text and different font sizes
And it helps you to keep a clean orthography and syntax in your code xp
How do you live without intellisense? In case you are using C/C++.
When I first started coding in Uni, we were still using punch cards. You would write your program into a stack of punch cards and handover that stack to the lab assistant. And depending on the queue, we had to wait 30-50 minutes to get the output. But there were also some pros like if you mess up a line, you can simply throw that card away and start fresh. Kinda miss that now
It's not that bad to code on notepad. Only gripe is 8 spaces per tab.
I use Notepad++ for this reason.
And for the column edit mode.
Notepad++ is really all I need.
Edit: RegEx search/replace is also handy sometimes!
Thats why I use edit, you can set the tab width.
Eight spaces is the correct width of a tab.
You monster
It would be if it didn't impede my ability to see my 12-deep nested for loops
True. I manually write four spaces anyway if I ever do it.
I went to a uni (42 is the name, yes it's a number, they are french don't ask) where exams are written in c or cpp, in 4hrs, single file, no internet, they give you a problem and you have to make code to fix it. My exams never reached 1k but I'd say a good 3/400 was the case for the most complex problems
I'm surprised they let you use a computer at all, with it being a french university, I would expect them to hand you one of those small chalkboards or a piece of paper and some charcoal
Sorry but doing arbitrary length additions on a chalkboard is absolutely easier than doing it in C without internet
And I went to the dutch branch, I guess they passed the stones&sticks moment already🤣
Ah i guess it checks out in that case 😂
Same age, we had to hand-write our data structures and algorithms on paper, no computer. We weren't judged on 100% accurate syntax but more just the overall architecture.
Am I in the presence of God.
I'll work on small functions or parts of code on notepad that im mulling over for work or personal projects when im away from work or on my phone just to get things down on paper and out of my head, but 1,000 lines is alot. I wouldn't have correct syntax or semi colors correct, I would have the basic concepts of the ideas and placement of them...
Most of the code i write has some really tiny errors. eg forgetting call operator. but compiler always tells me.
expect that one time where i passed a hard to construct variable by const value and suddenly i had done stl hash template error and it took 3 hours to find :)
I have friend, if he and my father's starts taking they can't stop until 2 hours is over, he writes that kind of code
As a freshman wrote a Mamp website in notepad++. Nothing will ever compare
I used to come close, but my typing accuracy has gone to hell as I've gotten older.
God, my c++ Prof made us do this once for extra credit. That was my worst score ever.
Plot twist: it’s all print statements
You get used to it eventually. Writing boilerplate isn't that complicated
I mean... If you know some C and can read man pages you're good to go pretty much. Depends on what you're trying to do.
I could with C++, if warnings are allowed. With Python it's going to be actually more difficult.
The thing is, C++ is so low-level that my code is going to combine simple usual stuff. With a higher level language like Python my task would be to combine multiple packages, whose APIs I can't remember.
Tony stark built it in a fucking cave
return 0;
//1000+ lines of code
I started off console/terminal based programming with a compile round costing 20-25 minutes on the mainframe. You really check your code before hitting compile as that one missing semicolon will mean going home late. UI’s with color coding and syntax check were such a blessing.
Why aren’t there coding competitions like this? Create a super complex program on notepad and it has to compile with 0 errors
Crazy thing is that these guys usually arnt making big bucks either
InfernoPlus counts. He apparently coded all of the HaloCart mod in notepad
What do you do about all the carriage returns?
The only time I had problems with \r\n/\n difference was because of shell scripts, proper programming languages didn't care even once
Deploying things to linux is where it fucks up for me. Compiles fine, your shell scripts better not be written in notepad unless you convert that shit. I fucking hate notepad.
Well your inserting carriage returns in the code. Which really, just like how you need to have your convention for tabs, you need to have consistency throughout your code base. But it will make a difference for any multi line string literals in the code.
Excuse me, I use mcedit, I'm not a pleb.
If somebody has done that a few times and also killed a few people whats that make them?
I only attempted this once.
Was working night dispatch (a quiet job) in college and had a COBOL assignment coming due.
It wasn’t 1000 lines but it was quite lengthy.
Damn thing compiled the next day with no issues.
I am shaking in my boots just by thinking about it.
Zero errors but it still is doing it wrong
Id be scared of someone who made a deal with an eldrich god or demon too.
If you know somone prior to 2006, it eas either eclipse or textpad for java. Control +1 for compile and 2 for run.
Damn. I actually want to be like that
I learn the basics of most programming languages that way. It forces you to understand the syntax in a way you can't if the ide instantly corrects every mistake. I switch over to VSC or JB the instant I wanna make something useful with it, though.
I remember taking my first java class I just coded everything in notepad and just compiled from command line, it actually really helped me understand the basics well. Our final we had to write our code onto paper to be graded.
Dialogue box text based game that is mostly just elif statements. Maybe it will spam alert windows that day "you died" until you Ctrl+c out of it.
This makes me realize I depend way too much on my IDE
Ah yes the good ol' days.. :')
impossible difficulty: write all of your code directly in the terminal and > it to the file
I use scite for python, at least let me have some sintaxis coloring. No autofillers or suggestions at all, but it has that wonderful console output inside it.
I'm having a panic attack in midnight from the concept of that
You kids have no focus
Thats like my boss with his 4500 lines vb diagnoses script he build (yes he wrote it in Notepad++)
I used to write Assembly code in Notepad++ for a while since it was very minimal and fast
And then I used Command Prompt to compile/test everything :0
Now I do it in Visual Studio and Powershell cause of the git integration =_=
me with notepad++ and less than 500 lines of code (c++)
those were the good times
Damn I used to be that in my sophomore year, one day AI makes your C assignment only prompting, now I lost it.
I feel called out. The psychopaths and sociopaths I know don't freak out THAT much.
Wut? What do you guys code in?
I could probably do that on ritalin
There's no way I'm that scary.
obiesouly gajab bencho
Google did that with Google docs
source?
Replace notepad with vim
know a dude like that, scares the crap out of me
hi it me
And me. I just think it's easier. Neither do I use version control.
That one is simply stupid.
Now this is sorcery
I mean. I can probably do that no problem. Compiling errors are very easy to avoid.
Will my code work though? Absolutely not
I would just copy and paste this line over and over in the main function:
printf("Hello, World!\n");
Is he by any chance god?
I have one such coworker as well. They are not as scary anymore after they unironically googled how to exit Vim.
No joke, 10mins before the end of our exam our IDE crashed on the final fix and wouldn't start up.
I wrote the final call on Notepad, teacher asked "how do you check the syntax then?"
My flat answer : "I can't, but that's the only way I can finish on time. Do we submit the file as an answer anyway?"
The group decided to risk it. The fix worked.
I'm pretty sure everybody was disgusted about the idea of editing IN NOTEPAD.
Tbf the teacher was impressed about the move.