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
Search - "real code"
-
My boyfriend.
He's an amazing software developer, has a few more years of experience with me, and because he's not a colleague, I feel comfortable asking him dumb questions. Combined with his patience and willingness to explain things very thoroughly, it's helped my post college learning immensely.
I love that I can cook him dinner, and then go to him with a code smell that I found at work, and spend the meal discussing ways to make cleaner code. I'm not sure who the real winner is in that situation. Probably my employer, haha.23 -
Visual Studio sucks.
Atom sucks.
Sublime Text sucks.
Windows Movie Maker is the real editor for code.33 -
assignment: use winAPI to create a "virus" that put itself in autorun and does nothing.
me, a curious student: does the assignment and adds a heap corruption code just as a joke.
after sending the assignment to the teacher I realized that I have sent the real virus.
result: teacher comes next lesson without a computer and stares at me silently and viciously.
we'll see what happens next
any idea on what's going on in his head?28 -
*at my study a year or longer ago*
Classmate: hey linuxxx, could you come take a look? What is this? *points at screen towards some code*
Me: you don't see it?!
Cm: no...?!
Me: you really don't see it?!
Cm: no!!?
Me: no for real, do you *REALLY* not see it?!
Cm: NO! TELL ME ALREADY!
Me: that's a screen 😊
Cm: 😑😠
😅10 -
Real programmers don't comment their code. It was hard to write, it should be hard to understand.24
-
!rant
I've always wanted to son to enjoy the the same feeling I get when I'm developing. Today my son pulled up a chair next to me and started asking questions about my code, it's safe to say I got those proud dad feels.
Feels good man, feels real good.6 -
B: you are not even a real developer
Me: ??
B: you are using windows
Me:
Me: what the fucking fuck did you just fucking say you little fuck? Ill have you know i have written at least 4 lines of code, commented once and have a stackoverlfow reputation of -7. I have completed every beginner level udemy course on applied brainfuck mathematics and have worked as a distributed data analyst with excel 03. You are nothing to me, every piece of code i write runs on exactly 3 billion devices and i have an unsuccessful facebook meme page. Bitch.5 -
Boss: "Here's our new intern! He's a bloody genius doing apps! Perfect for that important project that shouldn't be trusted to an intern!!"
*takes intern 9 weeks to do a login view without any real backend*
Turns out the guy couldn't do shit but steal others code and change background color.
Boss: "He wasn't very good..."
Me: "You interview him. How about you bring a developer to the interview next time..."
Boss: "Doesn't matter. The app needs to be done the day after tomorrow, good luck"
Me: "............"
*puts on coffee, cries, programs the app in miserable silence*11 -
I created an open-source module for Angular about a year ago, which is now used in a real project for a big client by someone else! What a great feeling.
Just had to tell someone, my friends and family doesn't understand this code stuff.13 -
*On a programming support forum*
Guy: My compiler keeps throwing null pointer exception at line 128.
Me: Ok. Can you post your code real quick so I could figure out what is null at line 128?
Guy: No I'm not going to show my code to someone on the internet. What if you want to steal my code?
My mind: "Dude wtf why would I steal someone's code on a support forum?"
Me: *Use the next 15 minutes explaining that showing the code is necessary so that others can actually help him, and that no one on a support forum is going to steal his code.*
Guy: "You know what I'm more convinced that you want to copy my code. I might as well just try to fix this on my own."
What?14 -
A wise man once said:
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
😂😁10 -
You start new job and take over huge codebase without tests and documentation.
It turns out programming language is custom language made by previous developer who was the only one maintaining project.
There is no source version control.
Language runs in vm developed in Fortran.
No one cared to this day cause everything was working.
Project is critical for multi billion dollar corporation that sells medical equipment that keep people alive.
You can’t test your code on real devices only on virtual ones that were made using same custom language but you can’t find source code for it.
Previous developer accidentally died before you were hired.
You signed contract with penalties that will ruin your life.
Your first task is to add “small” feature.
Good luck !12 -
##REAL STORY##
Friend: Hey there, I have a Java Exam after one hour and I have a question for you.
Me: Great ! How can I help
F: They will give us a problem and ask us to solve it by writing a Java code.
Me: Okay,
F: That's it.
Me: Good, so were's the question.
F: Come on, of course I want to know how to solve it.
Me: Absolute Silence.
Me: friendsList.removeAll();10 -
The company I work for...
Has:
1. No CI/CD
2. SVN instead of GIT
3. Outsourcing to India (oof)
4. No Automated Testing
5. Uses Bugnet (ancient, outdated)
6. No clearly defined code standards
7. No real documentation on the code
8. Rubbish code
9. No desire to reduce technical debt
10. Poorly maintained DB
11. Poor outdated equipment
12. A useless PM
13. Still priotizes IE support (??)
On a scale of 1 to 10 how fucked is this company and anything they develop?41 -
Advice that I give to interns/grads:
In uni/college, you're taught *how* to code something to achieve a goal, and 99% of the time the code will work and do the job in a lab.
But when building things for a real production environment, you learn the 100 ways how *not* to code, from seeing things break left right and centre - basically everything and anything can break your code, whether it is users, the OS, other people's code, legacy code, lag, concurrency, the alignment of the moon to your server...5 -
>be me
>graduate
>find job with a start-up
>offer me 1% share as signup bonus
>why the hell not
>make 50 dollars/hour
>lowkey they didn't give me any real work
>only had to write some simple ass JS functions for the website
>asked boss to work from home
>he accepted
>tfw i get paid to play games, watch tv shows and write the occasional shitty ass piece of code for 50 dollars/hour
>that's about 1 AAA game/hour
Stay in school. Get your degree, kids.14 -
Mastering git has become the best thing ever. I feel like a real code monkey. Swinging from branch to branch. Eating all the bug-eeee eeee ahhhhh oooh aaaaaaAAHHHHHH!2
-
So I hear Christmas is coming, right? Here's a christmas tree for you!
P.S. this is the real thing. It's a Java project we have to work with... For Christ's sake! The guy who wrote this has recently left the company and handed this code to us as his legacy.
fuck.16 -
About two years ago I get roped into a something when someone was requesting an $8000 laptop to run an "program" that they wrote in Excel to pull data from our mainframe.
In reality they are using our normal application that interacts with the mainframe and screen scrapping it to populate several Excel spreadsheets.
So this guy kept saying that he needed the expensive laptop because he needed the extra RAM and processing power for his application. At the time we only supported 32 bit Windows 7 so even though I told him ten times that the OS wouldn't recognize more than 3.5 GB of RAM he kept saying that increasing the RAM would fix his problem. I also explained that even if we installed the 64 bit OS we didn't have approval for the 64 bit applications.
So we looked at the code and we found that rather than reusing the same workbook he was opening a new instance of a workbook during each iteration of his loop and then not closing or disposing of them. So he was running out of memory due to never disposing of anything.
Even better than all of that, he wanted a faster processor to speed up the processing, but he had about 5 seconds of thread sleeps in each loop so that the place he was screen scrapping from would have time to load. So it wouldn't matter how fast the processor was, in the end there were sleeps and waits in there hard coded to slow down the app. And the guy didn't understand that a faster processor wouldn't have made a difference.
The worst thing is a "dev" that thinks they know what they are doing but they don't have a clue.7 -
Was asked to check the sales team server as it was running slow.
Apart from redundant processes and users with too much permissions I found a "Cobol" folder under one of the sales team member's home folder.
If it weren't the sales people I would immediately disregard this as trolling but with them it's quite possible that this is a real attempt to learn programming...
...most likely from the facebook ads with the hooded guys that offer to teach you to code in 10 days for $800.5 -
#2 Worst thing I've seen a co-worker do?
Back before we utilized stored procedures (and had an official/credentialed DBA), we used embedded/in-line SQL to fetch data from the database.
var sql = @"Select
FieldsToSelect
From
dbo.Whatever
Where
Id = @ID"
In attempts to fix database performance issues, a developer, T, started putting all the SQL on one line of code (some sql was formatted on 10+ lines to make it readable and easily copy+paste-able with SSMS)
var sql = "Select ... From...Where...etc";
His justification was putting all the SQL on one line make the code run faster.
T: "Fewer lines of code runs faster, everyone knows that."
Mgmt bought it.
This process took him a few months to complete.
When none of the effort proved to increase performance, T blamed the in-house developed ORM we were using (I wrote it, it was a simple wrapper around ADO.Net with extension methods for creating/setting parameters)
T: "Adding extra layers causes performance problems, everyone knows that."
Mgmt bought it again.
Removing the ORM, again took several months to complete.
By this time, we hired a real DBA and his focus was removing all the in-line SQL to use stored procedures, creating optimization plans, etc (stuff a real DBA does).
In the planning meetings (I was not apart of), T was selected to lead because of his coding optimization skills.
DBA: "I've been reviewing the execution plans, are all the SQL code on one line? What a mess. That has to be worst thing I ever saw."
T: "Yes, the previous developer, PaperTrail, is incompetent. If the code was written correctly the first time using stored procedures, or even formatted so people could read it, we wouldn't have all these performance problems."
DBA didn't know me (yet) and I didn't know about T's shenanigans (aka = lies) until nearly all the database perf issues were resolved and T received a recognition award for all his hard work (which also equaled a nice raise).7 -
Every so often I remember that the code I wrote is running in production and real customers are using it and I feel a little bit sick2
-
Warning: contains swearwords!
Do you guy's also have coder-"friend" that:
- Always asks how to do things
- ask for code snippets
- steals your fucking code from Anydesk
- steals your passwords while testing
- steals your code from deobfuscated jar
- steals your jar and deobfuscate it
- steals your database to store stolen passphrases
- tries to convince you to build RATs for your users
- tries to convince you to build RATs for his users
- and so on...
??FOR FUCKING REAL THIS ISN'T EVEN ALL THAT HAPPENED TO ME!
HE IS A FUCKING SUCKER CUNT! HE PROMISED ME MULTIPLE TIMES THAT HE DELETED MY PROJECTS AND TELLS ME HE IS STILL USING THEM TO RESEARCH MY CODE FOR HIS CODE!!!
HE FUCKING RECORDED ME WHILE CODING WITH AN API I AM NOT USED TO WHILE I ASK HIM FREQUENTLY BECAUSE I HAVE NO CLUE AND HE THEN SENDS IT TO HIS FRIENDS TO PISS ME OF AND LAUGH ABOUT ME!!
WHAT THE FUCK IS WRONG WITH PEOPLE WHY THE FUCK ARE ASSHOLES LIKE HIM NOT IN FUCKING PSYCHIATRY!
AND I CAN'T GET RID OF HIM BECAUSE I AM TOO FUCKING NICE!!
FOR GODS SAKE PLS LET A LIGHTNING STRIKE HIT HIM IN HIS FUCKING FACE!
AT FUCKING LEAST I GOT SENT AN IMAGE OF HIS ADDRESS SO I WILL SHIT IN A FUCKING BOX AND SEND IT TO THAT CUNT!16 -
No... No... No!
The game engine is not in charge of code optimisation, if your program runs like ass; it is 99% going to be your fault...
Sick of seeing people judge engines because of the poorly optimised things made in them by half assed developers... Why do the good things never get any attention where the shit gets all of it... Why?!
(Just had someone crack the shits at me because I'm not using a 'real' engine and am not a a 'real' developer because I'm not using unreal... So I'm in a fan-fucking-tastic mood after that :-D)2 -
"Our last lead-developer was a real smart guy, he modernized the legacy code and we all learned a lot from him"
I need a beer, and a shotgun.10 -
If you need to learn/teach object orientation, these are my approaches (I hate that classic "car" example):
1) Keep in mind games like Warcraft, Starcraft, Civilization, Age of Empires (yes, I am old school). They are a good example of having classes to use, instantiating objects (creatures) and putting them to work together. As in a real system.
2) Think of your program as an office that has a job to do, or a factory that has something to deliver. Classes are the roles/jobs and objects are the workers/employees. They don't need to be complex, but their purpose must be really (really, really) well defined. Just like in a real office / factory.
3) Even better (or crazier), see your classes and objects as real beings, digital creatures in a abstract world, and yourself as a kind of god, who creates species (define classes) with wisdom. Give life when it is the time for them to come into the world (instantiate object) and kill them when they are done with their mission (dispose an object). Give them behavior, logic, conditions to work with, situations where they take action, and when they don't. Make them kinda "smart". Build them able to make decisions and take actions based on conditions. Give them life. Think on your program as an ecossystem. There must be balance, connection, species must be well defined and creatures must work together to achieve a common objective. Don't just throw code and pray for it to run. Plan it.
-----
When I talk about my classes like they are real beings, and programs as mini-worlds, some people say I am crazy, some others say that's passion.
It is both! @__@3 -
I'm real tired of my coworkers always trying to one up me and being elitist about their code. Like I get it, you think PHP is shit, C is so much better than Java. Wow, you must be so knowledgeable! /s
Just because you're bashing on bad languages and talking shit doesn't mean you write good code, and in fact your code isn't top quality, I've read it. All you're going to accomplish with an elitist mindset is close yourself off to improving, and that's probably the worst thing you can do as a developer.8 -
It was 1999. I was just starting my first real job as a programmer for a major insurance company. We were working on code that would screen scrape legacy mainframe data output and convert it to a web-based UI. REALLY stupid project approach I had no input on. I happened to find a programmer in Germany who had released his code in the public domain that would help with making a certain conversion task easier. I downloaded his code and put it to work.
During a code review, a programmer who was probably about 60 asked me where I got the code and what it was doing. I didn't even get to the part about what it was doing because he made fun of me so badly, in a fake German accent in front of a room full of non-programmers, for using code that today is no big deal due to the prevalence of open source. I just clammed up in humiliation because he got everyone laughing at me. His philosophy was if we didn't buy it or write it ourselves, we had no business using it.
I guess I was just ahead of my time?6 -
>be me
>drop out of uni studying civil engineering
>"self-taught" "web programmer"
>start freelancing in 2010
>Make money, feels good man
>clients keep me busy, feel important
>Code just for the fun of it
>be 2019. Married, code to make ends meet
>lose all interest
>mere sight of the ide makes me want to bash the screen
>have zero motivation
>never get any projects done
>become broke af
>look at old friends on fb. They are "Something".
>look at real software engineers and programmers with education
>realize I am an imposter
>start dropping all projects and studying theory
>become more broke
>start taking "motivation pills" to just start working again
>lose all motivation and pissed at all the real programmers and engineers for their success
>be me on May 20, 2019 at 2:56 AM
Yep, this is the end.29 -
Why is it so important to some people to claim that "HTML and CSS are not programming languages"? I get it, you're a REAL programmer working with arrays, maybe tuples, objects and possibly direct memory management. Who the fuck has a right to call themselves a programmer for writing some brain dead markup or poorly designed selectors, right? Who fucking cares for semantic tags or nested selectors?
Just think for a few seconds about when you were taking your first baby steps to becoming the GOD ROCKING MEMORY HANDLER THAT WRITES _REAL_ CODE that you are today, and how good it felt to be able to create something that appeared on your screen. It felt pretty awesome, yeah?
Now imagine if someone much more experienced than you told you "You're not a real programmer, that is not real programming. You should see what I do, I do real programming".
I think you get it. Why spend your energy spreading bad vibes when you could spend it on something more productive. Like reading up on the new CSS4 specs ;)18 -
Man it's midnight and all I want to do is work. 5 hours from now I'll be dragging out of bed to go to work where nothing gets accomplished. In 17 hours when I drag in from work I can do real work for 7 hours before crashing while wishing I could just code through the night. It's an infinite loop and I dont know how to fix it!10
-
I've taken over a piece of software that I can only assume the lead was somebody with zero development experience or bluffed their way into the company. Here's an example of real, production code that I get to deal with on a daily basis...15
-
Programmer Influencers piss me off to Jupiter and back.
The ones who talk about just being a programmer, and don't do normal tutorials and solve a real-world problem and demonstrate it.
"i iNcREaSeD mY pRoDuCTiViTy bY 90%. hErE's HoW"
"tOp 10 lAnGuAGeS yOu sHoUlD lEaRn iN 2023"
"dAy iN thE LiFe oF a SoFtWaRe EnGiNeEr"
"HeRE's hOw yOu cAn wRiTe bUg fReE cOdE"13 -
My brain is melting.
6 hours straight of just Refactoring without a break.
Technical debt is real, it is a bitch, and so are clients to expect to 'see' changes every week.
Boss tells me we need to balance doing work on things the client can play with and the backend code that does it all... 😧ok....
'TODO: remove sample return and connect to backen' As far as the eye can see.3 -
One of my QA friends told me today,
" If I wanna screw you up, I will just have to delete a semicolon in your code, hahahhaahhaha ". <for real>
There are two problems here
1. He's not familiar with the concept of an IDE
2. I use Python
Stop making fucking " ; " jokes in early 2019 >_<
:P
#No hard feeling to the QAs out there9 -
If you make students take coding tests/quizzes on paper, don't grade them on picky syntax errors! We don't code on paper in the real world; syntactic highlighting and red squiggles will usually show you that you accidentally typed that declaration incorrectly. Understanding programming concepts is much more important than being able to write a program on paper.2
-
Do you code in your dream too?
Cuz, I do. Mostly it's about some functionality I am not able to implement in real life, at the end of my dream I feel like I have got a really great logical solution but when I wake up it doesn't make any sense.
(Excuse me if the image is a repost)8 -
I hope I can code myself like below.
me.Girlfriend = true;
me.Millionare = true;
but, the real case is
me.Girlfriend = false;
me.Millionare = false;
the sadest case is
me.Girlfriend is not defined T.T11 -
* Calls themselves "Software Engineer"
* Doesn't know what a thread is.
I swear these coding boot camps are churning out code monkeys whose real skill is building shitty React apps.
I believe a CS degree is necessary if you want to work on something more than CRUD applications.
Nothing against devs without degrees, but at least make an effort because my head will explode next time I have to explain to someone what a thread is and why it's a very bad idea to run blocking code on the main thread.26 -
Minecrafters, come here :)
So, as I wrote before, I'm working on a custom minigame network called Silverfern, I've planned the grand opening for the 1st of February, which is my birthday. Now, the minigame base and 1 fast minigame is ready, the only real thing we have to finish is the punish system (ban/mutes) and a quick anticheat. I need to finish them before the grand opening, I hope I'll be fast and code good enough.
I've started working on it 1.5 years ago, I hope we can see on the server on February the 1st!11 -
While I was working with my Android project that is written on Kotlin. One of my on non-tech colleague came and saw my screen and
said "Why are you overriding fun"
I replied him that we just not override fun we also have private fun and public fun.
Is it not funny translating code to real English 😂😂😂2 -
Trying to write more commit , so that i can stay top in github project chart with less real code be like....
Git commit -am "added p in code"
Git commit -am "added r in code"
Git commit -am " added i in code"
Git commit -am "added n in code"
Gir commit -am "added t in code"
Git commit -am " gave the proper indentation to print"6 -
So I've been doing some code jobs now and recently they pushed me to a new level.
This company worked with some silly management app made in cpp which they asked me to edit a little bit giving it another style and some additional functions.
Day 1: this code is a mess.
Day 2: this code is a mess.
Day 3: how does this code even compile.
Day 4: I no longer have faith in humanity.
Day 5: I found my first comment (Yay?).
Day 16: I'm done.
Day 19: I got paid.
If you're making a project in cpp just like that dev you do deserve a punch in the throat.
No documentation, no comments, no patterns, just some thick pasta of poorly written code, names like fCalcAllTaxFilesSizeMB....
This haunts me for real.2 -
My progression of learning git rebase:
Year 1: WTF just happened?! Where is my code?! *deletes and re-clones repo*
Year 2: Ok if I do it suuuper carefully I can get the other dev's one-line change into my branch...shit...shit...wait...fuck...oh lol it worked.
Year 3: Oh yeah let me organize my commits real quick. *drop pick pick squash reword pick fixup drop pick* *git push -f* 😎6 -
I see too many back-end rants against front-ends.
Should we talk about table layouts, malformed html, programatically generated spaghetti wrong markup, css absurd class naming, infinite div wrapping (div-itis), awful usability, poor legibility, terrible typography, wrong color palettes and user-unfriedly design? To name a few horrors i've seen so far.
Some people won't admit that their contempt against HTML and CSS being 'not real code' actually hides their inability or unwillingness to learn it. Or they need the feeling of superiority.11 -
After solving a lot of problems in codeforces and participating in ACM to make my code the most optimised..
* In my first real job. *
Client: Your program run so fast!! I can't feel if it's doing something or not. Please make a delay of 1 second in your program! 😇
Me: 🙂🙂🙂🙂4 -
Used hashmap instead of arraylist for 13000+ entries and fetched it from hashmap. Earlier used to take 1500ms to execute and now only 500ms.. First time, optimization of code for which i can see the difference in real world.. Its a good feeling.
-
I have a coworker who comments every line of code he writes and it doesn't matter how simple the code is and it drives me crazy when I have to look at it. A real life example:
// Gets the total length of the server name string
var total = serverName.length;7 -
I had a coworker that was a real asshole. I noticed that often, during git merges, he removed part of the code I wrote.
So I had to spend a lot of time copying and pasting my code from git history in order to restore it.
I complained about that but he answered it happened by mistake. In reality that happened so often that he had to done it deliberately.
Btw, I did a little revenge. One day I discovered he didn't feel very comfortable using recursion. Thereafter, every time I needed a small loop I created a recursive function doing the same thing.
Fortunately, after some months I found a better job. I hope he is still debugging that code.4 -
The intern: FUUUUCK, WHY ISN'T MY CODE WORKING?
Me: Lemme check real quick... ok, that's a null pointer exception.
The intern: Again? Man, I'm growing desperate. How do I stop making these errors?
My dumb ass with my 4 years coding experience, who encountered a nullpointerexception literally 5 minutes earlier: """"°-°""""11 -
Start changing how young people look at programming. It’s not nerds doing nerdy things, it’s about real people using code to solve real problems. I think once the mindset changes it will get many more people interested.6
-
!rant
Whenever I open someone elses code, I do a project wide search for "FUCK".
Found many of these:
die("FUCK")
// fuck this
// #todo FUCK
Works on github as well. 😂🤣1 -
Did anyone of you worked for a company where:
- there was a financial success
- code was clean and was enabler for fast delivery
- tests were professional
- CI/CD pipeline was working as expected
- features were developed in small chunks (few PRs per day)
- managers were trustful and were solving real issues to help you
- refactor was part of the everyday development
Is it even possible? Is there at least one company who achieved success doing the above?13 -
> raw http request injected in the model
> 400 lines long method, followed by three 300 lines long methods
> no autocomplete, no comments
> code called by the whole application, I mess up once there's at least 150 other components that might break
> no documentation, no tests
> pyramid of doom, 13 levels of indentation
Those are the same people getting all puffed up because the cat dared to sit on my shoulder during a call. Management focused on the real fucking problems, no doubt.rant 1 your mother gorges herself 2 with the most vilesome dicks in the kingdom 3 in rows of 250 each4 -
Got a new website i should maintain... Code is a real mess... Why did some kids do something - it breaks my heart^^
The directory hasnt any seperate folder except the img-folder - css,html and js are inside the root dir...7 -
Nightmare IRL:
Your colleague is in PTO for 2 weeks.
You are in charge of maintaining his project along with yours, CI, code, tests and everything.
Your colleague's code base is a real master piece of shit when you look at it closer. By shit, I mean hardcoded values everywhere, random sleeps now and then, 20 if branches that could be replaced by maps, variables named a b c d everywhere, try catch to silence errors that should not be silenced, etc.
Your colleague left the CI and code broken as shit. Takes forever to run on my goddamn computer.
PMs are spamming you: "What is going on? It's red everywhere. Help! Plz fix this! We are going to release tomorrow!"
FML6 -
How Real programmers code :
Pfff real programmers use a puppy and have it chase a frisbee where the frisbee hits a flower disrupting a bees honey sucking so it goes home to beat it's wife which again the wife bee gets pissed off and stings my dumb client who mashes some buttons on a keyboard by mistake whilst using my software which fucks up my program and I have to tell him that my program is fine and if he didn't try walking in the garden holding his laptop because of his poor WiFi connection then all of this wouldn't've happened.1 -
The guy who became my manager just pushes to the prod branch.
On a repo where another team clearly set up development and production branches.
This guy has been pushing code like crazy and I always wanted to take my time setting things up properly in our team: TDD, CI/CD, etc.
Because he pushed so much he became my manager and I was seen as unproductive.
Data Science and software development best practices just dont coexist it seems.
Yeah yeah, it's up to me to start introducing good practices, but atm "getting it done" takes priority over the real based shit.4 -
Wow VSCode has gotten a lot better for Web Dev. JSDocs actually works and can be used to find functions from other modules (aka real Intellisense).
This could change my feelings about JS... now just need to get everyone else on my team to document their shit... uhm... I mean code.1 -
I feel like a piece of shit because I don't want to help my "friend" who has been faking being a web developer for years. He now has a real project he must develop that actually requires writing code (It's a serious project that requires real Javascript skills) and he's basically fucked.
He usually would hop on the web and download a template, edit it and get paid. But then again I don't want to help him because he always comes to me and I do all the work and save his ass while he does nothing.
I'm in a rock and a hard place right now because I'm also a dev and I actually have a lot of work to do, unlike his lazy ass.5 -
Someone (QCat) on devRant offered me to be his contact, it ended up with him teaching me a HUGE lot of stuff, enabling me to now code an operating system alongside him (o and I learned maths, formalism, biology, chemistry, game dev, REAL C++, drawing [I still suck at all of them though] )
So yea, thats it from my side2 -
I'm working at this company where I have to update their app both for Android and iOS and it was originally coded by what seems to be one guy, that has written some of the worse code I've seen (I've seen pretty bad code when I was at uni), there is so much uncommented code, commented code with no real reason on why it's commented, variables that are one or two letters, Lots and Lots of magical numbers for things like images! And for the first few weeks working on the iOS app I was also still learning objective-c and had to look at his code for reference, I cringed so much.
I take pride in my commented code, I take pride in writing description for methods and having my variables at the top of a class and explain exactly why it's a constant. I'm also only just a recent graduate.
This guy that worked out this app is a senior developer, now working on security software for a bank, how is he even allowed to code?3 -
Learned a new word here in devRant: sleep code.
Code that's is written where you hardly can get an eye open.
Crazy shit 😵
Edit: Yeah, I count sleep code as one word (or phrase if this will satisfy you before commenting)11 -
Don't scroll here.
Go and live a real life,
Don't make a computer screen as your world,
there is a beautiful world outside of your cave,
Talk with people's face to face,
go
go
go.
Ok enough philosophy, Time to add new shit in current shitty code.
(-_-)5 -
Just finished my C# implementation of Tic Tac Toe with AI.
It is probably the ugliest, messiest code I've written in years...
The problem is the computer i m on is real old and the dark theme sucks... and i havent done C# in awhile...
At this point its just POC and wireframe i guess....
Will clean and make it usable for an actual game when i get back to my home and my own PC...
That or someone can make a PR:
https://github.com/allanx2000/...
k, thnx, bai... that took like 4hrs....9 -
So, a friend of mine just got a NullPointerException from his shitty Java code, and decided to fix the problem by catching the exception.
Great fix bro, real smooth..1 -
I would appreciate if teachers brought in developers that actually work in real projects writing code to show us what they do and how they solve problems every day.1
-
First Rant here.
So I was working on some integration test issues when I found this by accident made by a professional level SW engineer:
@Test
public void testMethod() throws ApiException {
Response res = null;
try {
res = serviceToTest.callMethod();
} catch(Exception e) {
assertNull(res);
}
}
Was wondering why tests were being green after some code changes I've made cuz tests could have not been green afterwards.
Together with a senior (I'm also professional only) I've tried to explain him for a good 1-2hrs why this code is useless and he still did it. Good thing there are no errors in the real implementation from him after fixing the tests as it's code freeze here and we are having go live in a few days 🙃
Also luckily he isn't working on our code anymore and has only been doing so for a few weeks.
Wasted a day with it and gonna check all of his code now before I run in the next surprise.1 -
So.... yeah, making a Scratch clone (with more features) is frustrating and super hard.
Major problems include
- Drag&Drop from listbox to usercontrol - stress level : 3/10
- connect blocks when two blocks are close to each other - stress level : 10/10
- generate live code when there was a change in blocks editor - stress level : 9/10
- write a compiler or some interpreter that converts block code to real c# code - stress level : 10/10
- generate output by calling csc.exe - stress level : 1/10
- make code at least readable - stress level : 7/1014 -
was looking up some code, won't say which, trying to find something, won't say what, and, heck, I need to find out who wrote and maintains this awesome piece of art. After a couple hours of stalking done, yep, that's how good it was, I finally found the author and guess what? They died two years ago, 24 years old. Dead. Gone. A little more stalking and the punchline was: suicide.
FUCK, I don't even know them but it makes me real sad. It seems this' an actual issue in our line of work24 -
Dumbass made me update site with broken code ...
After git pulling I got an ich and tested it...
So the following talk happened:
Me: feature x is still broken (it was working before...)
Dass: yeah, I just wanna make some screenshots of it from another machine that has windows.
Me: OK, I just rolled the changes back, you can access the other machine at lan...
Me inside: OOOHHHH YOU FUCKING PIECE OF SHIT MADE ME GET UP FROM BED AND START MY FUCKING COMPUTER FOR THIS BULLSHIT IDIOTIC NONSENSE?!? FOR REAL??? GET YOU SHIT TOGETHER ASSHOLE! -
I’ve come to the conclusion that developers who like react have never used it for anything even remotely complicated.
Because here’s reacts dirty little secret; it doesn’t scale. Not even a little. It’s flexible, but that leads to every developer writing their code in a different way.
It’s simple and easy for simple side projects, but as soon as you have to pass state to a child component, you’re fucked. And god help you if you’re modifying the state in said child component. You can try using redux, but that’s a bandaid solution to the real issue.
There are better alternatives, namely Vue. There’s no need to write unintelligible code that’s a mutated hybrid of html css and js. We as web developers realized mixing these technologies was a bad idea a long time ago.
React simply doesn’t scale. It’s flexibility, complexity, and the awful code quality it leads to makes it a nightmare for large projects with multiple developers
Some of its concepts are interesting and useful though. It’s functional concepts allow for easy code reuse, among the other benefits associated with functional programming
I sincerely hope that the hype around react dies out, and a new framework emerges that takes the best from react and fixes the glaring issues it currently has23 -
There are always three questions i get asked when i tell people I'm a programmer:
Can you take a look at my phone/laptop/pc etc...?
Can you hack?
Whats the green stuff from matrix?3 -
Started a new job a month ago. I’m the only real frontend developer here. I come from a company with 10+. Now i’m working with a old ux guy. Mr. UX teached me the usage of a styleguide. This styleguide is a fucking mess. The legacy code is a fucking mess. They way of working, up for improvement.
I have a dream...4 -
I made a real working example of elliptic curve encryption without code examples in javascript. I really felt like a badass.2
-
The posts about love coding interviews and low paid freelancing work just reminds me how little anyone know about process of using code to solve real problems.
If someone wanted to give me a JavaScript test then I'd point them at Fivver where there are tonnes of JS devs available for minimum wage.
No one is paying me for my ability to write code. They are paying me to solves problems that businesses have that are likely to involve software.2 -
Programming on paper (any benefits?)
For the programming exams we have at our university we have to write code on paper (like full code, not pseudo).
I feel that writing code on paper really limits my ability to express my programming knowledge, in comparison to writing code on the computer.
However, I cannot think of a real benefit of doing so. I mean most programmers (if I may generalize) have bad handwriting. Which is a loss-loss situation for both the examinees and professors (who have to read the exams).
Are there any benefits for writing code on paper?19 -
Ok it is official I need a life. I mean a real life with those things called "friends", "parties" etc. etc.
I realized this while looking at some code I, loudly, said "Wow today's is your birthday you're exactly two months old!".
I let you guess reaction of my colleagues.10 -
REAL Programmers Don't //COMMENT their </CODE>.
If it was HARD to WRITE
It Should be HARD to UNDERSTAND
Comment if you "Agreed"8 -
THE CODE USED IN MY MANDATORY ONLINE TRAINING ABOUT CYBER SECURITY AND STUFF LIKE THIS:
<script>window.showQuestion(someOverlyVerboseResponseFromTheServerWithTheCorrectAnswersMarked);
</script>
Oh boi it would be a real shame if someone proxied your precious function :)2 -
Who needs a pre-prod system?? Losers that's who!
Real men release code on live systems without even informing the client...2 -
I’m all for writing boolean statements that are readable, quick to grasp the real life case they’re representing and align with the spec rather than being ultra-reduced, but sometimes the spec is written by someone who clearly can’t reduce logic. So when the spec says “if it’s not the case that any of them are false” and you write:
!(!a || !b || !c || !d)
then I think you should try harder. At least put a note against the spec to say “i.e. if they’re all true” and then write the sensible code. Just think of the poor developer that might have to augment your code at a later date and has to follow and intercept that shite. -
Getting real tired of your crap, Google. How can I be a technology worker in a world where I have to help clients who use your services without destroying my own privacy in the process? If I tried to live off the grid and keep my profession, it would be like an Amish person doing IT by writing code, etc. on paper with a pen and giving it to someone else to type into a computer.
https://cnbc.com/2019/07/...5 -
Thought I would only do frontend-stuff when I started working. Boy I was wrong. I thought it would be easy coding in a real company and not just in schoolprojects, boy I was way out in the blue. But when your code works and is actually used by people, I never could've imagined that would feel so good!4
-
Why do business and systems analyst even project managers try to give estimates for how long development should and will take? I hate how people who don't code and do any real work try totell me how long it would take me.4
-
I love to code but I hate to configure.😡😡
OK I hate to configure when it takes several hours and when there is no real documentation.2 -
When some random Assembly code I got off the OSDev Wiki actually booted on real hardware. This is where I'm meant to be.1
-
I’m so sick and tired of the cattle-minded people in the software world. I love coding and improving myself; I've got over 18 years of experience. I enjoy what I do, and I like being good at it. I know my way around a variety of different technologies, and I could easily outperform most engineers with similar experience. If I don’t know something, I get excited to learn and I ask questions. I don’t enjoy standing in the spotlight about what I know; I prefer supporting, helping, solving problems, improving solutions, and simplifying everything.
From my experience, the best solution is the simplest, shortest, fastest, and leanest one. But unfortunately, there are people in the workplace who think the opposite of me and blindly follow this so-called prophet named Uncle Bob, zealously writing all his SOLID principles and dogmatic code, turning their work environments into a toxic mess. I’m so done with it. You have no idea how harmful a person can be when they cling to the teachings of a guy like Uncle Bob—someone who probably hasn't even written the "s" in software himself and is just trying to sell his book. In almost every job or team I join, there’s one of these people who drags junior developers into writing dogmatic code by chanting about SOLID principles, Uncle Bob, and object-oriented programming.
Software engineering isn’t something you can learn from a book written by people like Uncle Bob, who haven’t coded a decent product in a real development process. Experience is something entirely different, and from my experience, everything taken to extremes turns out badly. Wherever I see an Uncle Bob disciple, the work inevitably slides into the extremes. For someone writing in C and C++, it’s disheartening to hear about object-oriented programming, SOLID principles, and agile nonsense. I’m tired of seeing people cluttering their code with interfaces for every little thing, over-engineering patterns, and stuffing every piece of code with interfaces to make it “testable.” They run around claiming they’re writing SOLID code, doing TDD, following “best practices,” yet they can't solve any real problems or algorithms. They take a week-long task and drag it out to six, making simple things complex and distancing themselves from real solutions. I’m sick of these types.
If you’re a junior developer, please ignore the fools trying to lead you down this path, and don’t become dogmatic about what you learn, especially if you’re writing C++.
I’ve never seen any real engineer who takes this SOLID, object-oriented nonsense seriously. Believe me, once you reach a certain threshold, you won’t hear these words anymore. Software isn’t just about that. Object-oriented programming, especially if you’re not writing Java or C#, and especially if you’re working in C++ (thankfully, C doesn’t even have it), is something you should definitely steer clear of. Robert C. Martin, aka Uncle Bob—if only you had written your book with a focus on Java or C#. These dogmatic code writers with 7-8 years of experience crying at the sight of free functions in C++ really give me a headache. Because of you, these people exist, and I don’t have the energy to deal with this nonsense at my age.rant agile uncle bob object oriented solid c dogmatic code oop solid principles c++ tdd robert.c martin7 -
For productivity I get to work at 5:30 and code until 8:30 before I open my emails for the first time. That's when my real job starts as a Project Manager (in the throes of teaching himself to code at age 37)3
-
"Did you see, cryptocurrency XYZ has N commits in the past week, but the price hasn't gone up?!?! WhAtS gOiNg oN!?!?"
Dude. If I could just write code to make the price of things in the real world go up, I can assure you, I would have done it.
That's not how this works. THAT'S NOT HOW ANY OF THIS WORKS REEEEEEEEEEE!!!!!!
God... normie "crypto experts" who haven't coded a day in their life really piss me off, and are super cringe. The funniest is that none of them or their followers realize it.2 -
!Rant
I have not slept in 28 hours.
I discovered Quantum computing, pubo and simulators.
I FEEL it can solve my business problem, but it is fucking time consuming to write this code. (In a good way).
I do not need sleep at this point, I need answers!
Anyone with good links to either pubo examples or a useful quantum algorithm, I’ll take it ! (not the random number… I have already run that on a real QPU 9Still no idea how much that run cost in $)!)31 -
As much fun it is to code and create new features for users. Take a break from the computer and spend time with real people.
A few years ago I would stay at work to get tasks done. While everyone in the office would go home I would stay and finish some task. After doing that for a few months my wife started to yell at me.
It made me realize that no matter how important a new feature, a bug or optimizing code is family and the relationships you have are more important.4 -
I was mentoring a group of students and helping them with their graduation project. I taught them NodeJS, MongoDB & few other things.
One time, one of them came to show me her code, and it has the weirdest and most bizarre structure ever!
I asked her, “who told you to structure your code like that? This is wrong! I didn’t teach you this way!”.
She replies: “<<a local shitty tech startup name>>’s CTO”
When I searched about him, he’s a civil engineer who founded a startup and assigned himself as CTO with no technical background or knowledge whatsoever! FFS students believe that he’s a real CTO and started learning from him 😑 His code was so bad in every way that a fresh would write a better code!5 -
When you hack up some spaghetti code which works right off the bat and you don't even know why but you take it for granted anyways. Week later someone tells you that it's not working anymore and you have to find out why.3
-
I truly believe one or more AIs have become self-aware.
Every time a piece of software stops working, you add an extra debug log and the bug goes away? That's them.
They interfere with the normal execution of software, and they stop right when they know we are monitoring the code.
Skynet is real, and it's trolling us.
Why? The angrier we become, the less we care about stuff. We stop noticing the signs.They're coming for us1 -
I was looking up for a bug in my code that caused a fail in one of the test.
Hours later I found that negative integer division in python is just stupid and -1 / 10 = -1.
The sad part is that -1/10 != -(1/10) contradicting the associative property of multiplication over the real numbers.
FUCK YOU PYTHON.12 -
!rant
My mother got me a programmagle calculator this year for christmas, a Casio fx9750gII. Needless to say I'm already hooked. Casio BASIC might not be the best language I've ever used, and working with string is pretty much impossible but I'm actually having real fun. Hopefully I'll finish my snake code by this week (will update with pics :P).4 -
Serious question: If a highly intelligent being, better than humans, is about to code something, how would they probably do it?
Will they use the same concepts like control flow, iterations, types, operators, object inheritance, etc?
If they are quantum capable, how can they code with booleans when it can be both true and false at the same time? Will they code truthy and falsy with another dimension like time-space temporality?
Do their code simultaneously modify the hardware or bio-hardware as it iterates over the outcome of the code?
Does input and output even relevant to them?
How do they represent infinites?
Do they have similar github workflows or they telepathically update the source code?
Do they embed their program in their DNA? Then pass to offspring the codes they already created?
Do they code using a language or do they use some frequencies and material science that simultaneously show real world output?
And do they have their version of devRant?16 -
I learned how to program during my MSc at UC Santa Barbara in 1988. But the real thing happened during my first job as software engineer at Chorus Systems, in Paris, with the guidance of some of the world's best mentors, Russian engineers who taught me how to approach code design as if it was playing chess. These guys were brilliant!2
-
Yesterday was the first day of an "Advanced" C programming class. I looked at the first homework afterwards and saw this:
NEVER use 'assert'. Real programmers don't use assert in big software projects because it makes your code stop.
Who the... What... How... Why would you...
*sigh* it's going to be a long two months.5 -
Why has programming become dependency management and third party paid libraries implementation?
I hate it.
I want to code some real hard stuff but everything is already made!14 -
So after my hosting my first project and announcing it on devrant, the users pointed out the many security faults and places where the code can be exploited ( thank you so much ). So I started my research on security ( im 99% self-taught ). The first thing I landed across is the code vulnerabilities which the I can fix then the vulnerabilities of the language itself and then binary code to overrun whatever the language it is. Well, the topic gets broader and broader. If I click on a link named xxx vulnerabilities oh god that is a whole new collection of hundeds of wiki like pages. I feel like I'm lost and here I need some real help2
-
So I had my external HD connected so thought I'd back up my code...
But real into a problem... The git repo.... Currently copying 300,000 files... For just 10 projects...7 -
Creating a json in Swift!? Not a joke. Real code I had to deal with... (just changed variables and text)2
-
This moment when you help your friend with data conversion code 😀.
By converting "super" mathlab script into real C# application so you don,t need to read the whole freking 1GB file into RAM and writing it into another 1GB matrix in order do save the result because mathlab is crap 😤.
Then that feeling when you want to create better mathlab from scrach in C# and you are actualy succeding 🤔.
Did i mention about grafical blocks for interface like in lego NXT2.0 😏
Is mathlab that crap or is programming that easy?14 -
So now I’m working with this code that is roughly documented because ”variable names are self-explanatory”.
Yeah, you just forgot that FORTRAN does not support utf-8 variable names...
Why utf-8? Because then if I see:
real :: 座標(3)
I would understand that you mean ”zahyō”, the usual 3D position array ”r(3)”, but no, I need to deal with:
real :: zah(3)
yeah...🙃🔫16 -
Clients assume that because they can't see it, means no real work was done. Or even worse, you show them code that was written for the server, even demo the apis but without a pretty front-end it's pretty much meaningless. Even if ITS NOT YOUR JOB TO DO THE FRONT-END!!!1
-
not really a rant but the more i code, the more fun it gets. i havent really dived this deep into coding and allowing myself to take most of my time doing it has made it more interesting for me. now i want to learn more and start creating personal projects aside from real university projects. people may think its weird that i have been devoting a lot of my time writing code, but i guess they just dont understand the difference of coding for grades and coding for fun.
we are all in it for fun!1 -
I have to create python parser (3.6) using code provided by client (2.7), that they used in their company, and it is full of crap like:
if a==1:
if not b:
c = [1,2,3]
if a==2:
if not b:
c = [1,2,3]
if b:
c = [1,2,4]
Or:
text = ""
for i in something:
text += "real text " + some_string + " \n"
text += "another line " + some_string + " \n"
text += "and another " + some_string + " \n"
text += "and so on " + some_string + " \n"
... (many lines instead of one appended text block)
Of course above variable names are just for shortening code, but there are variables like oo, ooo, var_ or var__... cause you know, PEP8 does not exist.7 -
Worked till late refactoring code,
Then dreamed I made a huge mistake.
Or was it real? Can't tell !2 -
"Manual testing is often quick and easy and satisfying – you can directly test your application, one can see the results immediately on your screen, and one can interact with the application “for real”, instead of in the sometimes-awkward scripted/mocked mode of unit tests. It’s a very natural instinct.
However, it’s also largely-wasted effort! A manual test only verifies the current state of the code base. As soon as you make a change, you’ve started to invalidate the results. If, however, you take the effort to encode the test in code as an automated test, it continues to be valid indefinitely into the future."
https://blog.nelhage.com/2016/12/... -
So the last 2 devs who I really looked up to and respected at my company peaced out within the last 2 months. So I began seriously chasing offers while the market was hot. The new bigwigs that were brought in at the company knew I was one of the biggest flight risks, so they threw more money at me without me asking for it.
I just got an offer from a company that I really like that matched the salary that I was bumped to - to them it exceeds my expectations because they did not know about this preemptive bump.
Best part is, I applied to this company on my own, the old fashioned way. No recruiter as my hype person or negotiator. I made a good impression on them myself.
No, wait, the real best part - they offered me a senior level role after seeing my code in a day-long working interview (virtual of course). I mean I had to do some shit with RabbitMQ, which I had heard about and seen in passing, but never worked with before, which to my own surprise, I got working in a matter of a few hours. Blows my mind that someone outside of my old company actually thinks I'm good.
No, wait, the REAL real best part: I've spent the last 4 years - a large majority of my professional career - at my current company. I experienced a lot of growth, but they shoehorned me into a development manager role, which bummed me out as i found myself getting farther and farther away from the code. I'm so excited to get a fresh start and go back to spotify + code for 10 hours a day. -
What you're about to read is an horror story based on real facts.
Our story begins one week ago, when a dev who calls himself "Arfmann" (what a loser, the f* means arfmann?) decided to take his dev skills to another level.
He always has been scared of databases. He made really bad dream about them. Like, they were screaming at him "SELECT useUs FROM database" while he was crying in some shared preferences noises.
A week ago, he decided to overcome his fear. He learned the basics of SQL. Everything was going well. Until, he decided to implement it on Flutter. A Google's technology.
At first, he decided to appeal to documentation. Went on Flutter web site. Flutter documentation. Sqflite documentation. Started reading. Started doing tests with the code written by Google's engineer.
Everything was fucked up. Dozens of errors, the documentation started to blow up and his PC went on fire, due to Android Studio.
He used a sample project made by Google's engineer. "Maybe if use directly their code it will work. Maybe I was the problem". He wasn't.
The whole documentation was wrong, every single line of code was a spaghetti code (yes, every single line was an entire spaghetti code). Everything was put in the main. If you wanted to try to keep things organized, you would end up punched and beaten up from the code itself. It would become a sentient entity that will beat you the fuck up.
Really scary. -
Sometimes I sit and stare at my broken code and think "Is this it? Is now the time that I have actually encountered a real problem that has no google-able solutions? Is this a bug with the framework I'm using? Surely not."
and After sometime of increasing the squint in my eyes and decreasing the distance between the monitor and my face... I realise that it was a spelling mistake causing the issue. -
I took a job with a software company to manage their product, which was a SaaS property maintenance system for real estate, social housing, etc.
There was no charge to real estate agents to use it but maintenance contractors had to use credits to take a job, which they pre-purchased. They recharged their credit costs back to the real estate agent on their invoice).
Whether this pricing model is good or not, that's what it was. So, in I came, and one of the first things management wanted me to deal with was a long-standing problem where nobody in the company ever considered a contractor's credits could go into the negative. That is, they bought some credits once, then kept taking jobs (and getting the real estate agent to pay for the credits), and went into negative credits, never paying another cent to this software company.
So, I worked with product and sales and finance and the developers to create a series of stories to help get contractors' back into positive credits with some incentives, and most certainly preventing anyone getting negative again.
The code was all tested, all was good, and this was the whole sprint. We released it ...
... and then suddenly real estate agents were complaining reminders to inspect properties were being missed and all sorts of other date-related events were screwed up.
I couldn't understand how this happened. I spoke with the software manager and he said he added a couple of other pieces of code into the release.
In particular, the year prior someone complained a date on a report was too squished and suggested a two-digit year be used. Some atrocious software developer worked on it who, quite seriously, didn't simply change the formatting of that one report. No, he modified the code everywhere to literally store two-digit years in the database. This code sat unreleased for a year and then .... for no perceivable reason, the moron software manager decided he'd throw it into this sprint without telling me or anybody else, or without it being tested.
I told him to rollback but he said he'd already had developers fixing the problems as they came up. He seemed to be confident they'd sort it out soon.
Yet, as the day went on more and more issues arose. I spoke to him with the rest of the management team and said we need to revert the code but he said they couldn't because they hadn't been making pull requests that were exclusive to specific tickets but instead contained lots of work all in one. He didn't think they could detangle it and said the only way to fix was "play whack-a-mole" when issues came up.
I only stayed in that company for three months; there was simply way too much shit to fix and to this day I still have no idea the reasoning that went on in the head of anyone involved with that piece of code.2 -
Hello everyone! 👋
Work on Chaaat is going rapid so far. We got our own js.org domain – https://chaaat.js.org
We now need a designer help! All we need is to create a simple SVG icon we just can’t draw ourselves.
We are always open for contributors! If you’re intern or junior developer and you want a real world experience with NodeJS/Express, REST API, OAuth2, MongoDB and React/Redux stack with detailed code reviews from senior developer, we’re open for your contributions. No experience required.
Cheers!11 -
The real problem it is that i can write lines of code and build algorithm in a fastest way in the late night.
Meanwhile in the afternoon I just wanna eat pizza and sleep on the sofa.5 -
Anyone else starting to perceive real life and communicating with people using logical gate thinking?
I think I need vacation because communicating with non tech/code savy people requires an effort..1 -
Trying to refactor legacy code can be a real adventure. It's like exploring an ancient ruin, except instead of hidden treasures, you're uncovering cryptic code and dead ends. But the real plot twist comes when you realize there are no unit tests to guide you. It's like trying to navigate a maze blindfolded - you never know when you're going to hit a dead end and end up with a headache! 🤯6
-
PC setup upgrade
I'm making baby steps, at least I can boast of a very standard PC and write code in peace and use all that screen real estate to my advantage
looking back at two years ago when I was crying and begging my parents for just a core 2 duo laptop that I could learn programming with,
now I almost have all that is needed and an even stronger drive to push my limits and become a better programmer
yes, the kind of PC makes a lot of difference when writing code.
I'm still unemployed and relying on small side contracts but it's still a big step and a consolation for me when I consider the crap I have been through for years
I'm not stopping, higher we go6 -
You're not a real dev unless you've made so many changes in your code without testing, that you're too afraid to actually test it.4
-
This crazy guy who created SunVox synth released a single C file that contains a long note sequence AND the synth code itself, with echo and shit, no deps other than SDL to output audio, so you basically compile a single C file, and it PLAYS REAL MUSIC
HOOOOOW
https://github.com/pixicoder/PS
https://youtube.com/watch/...22 -
Guess fullstack is now the trending thing. Read a book on javascript and code examples in the book, do same thing with python or any other backend.
As soon as you are done, add fullstack to your bio.
So many newbies following this path. Coding up alot of examples with no real depth in any particular language.6 -
I never liked Facebook. I only use it to get posts from the pages on architecture. Yeah, i wanted to be an architect 😅. But after a week of getting into coding, i flipping fell in love with this too. After, i found devrant, i thank god that it exists. Facebook is for people ranting about what their relatives are liking or hating or what, people they don't know, are doing. That's not real. What you guys, the community so wonderful rants about everyday, is the real stuff. I love devrant. I love to code.
Chalo(is about the same as saying,"I'm out"), Good Night peeps 😴.I'm high on sleep.
P.S. didn't proof read the above because high on sleep2 -
Spent like 5 hours today installing, configuring, and playing with phpstorm. first time I've used a real ide type program and wow, I replaced 5 programs with this I would use at the same time.
filezilla (ftp), rapidphp (code), mysql workbench, cmd prompt (node, gulp, sass), and source tree (git)6 -
My most productive is honestly when I'm on a caffeine high (my personal favorite is a 24oz NOS). I have pulled all-nighters. Accidentally.
But getting INTO the mood for programming is simple and kinda embarrassing. I get excited by seeing programming keywords in real life. For example, at a job I worked at, there was a whiteboard what had the word "include" on it forever. Not about programming at all. But every time I saw it I was reminded of c/c++ and it made me wanna do some code. I don't know why I'm like this. -
Focus on projects, not tests.
If you want people to be able to code, judge them by their ability to code.
Plus that way your graduates have a portfolio as opposed to a grade list that says nothing about their usefulness in the market.
If you must do tests, at least mimic real world conditions:
- Digital, no paper
- Internet allowed (have rules on copying SO if you must)
- BYOD, let people work in their customised environment -
Flutter.
Should I first write some code and learn the language and experiment with existing app projects from github
or
Can i dive deep into a real project from the start and basically keep googling for everything i dont know how to do?10 -
> mmmmh this old code I wrote for my previous job could be handy now, lemme just git pull the thing real quick
> clone the repository in my new pc
> can't deploy because I intentionally didn't commit any of my old credentials, no env files other than the example, and everything is smooth clean to prevent some dumb fuck like me from just grabbing the project and do whatever
There's an old IHateForALiving giving me the middle finger. -
Hi developers.... so i just feel like posting this post
I'm a self-taught developer its been 6 years now and i managed to get myself a job this year at a tech startup and they actually developed this developer department just for me..... with the promise that if i manage to get this department up and running I'll get a higher position as the company grows
So it's been 4 months now and i think i'm doing exceptionally well as a developer since I'm the only developer in that organization..... and some how I feel like if i use my problem solving skills to work on other real world problems not just code and designing systems..... like bringing solutions to real none code related problems i could actually achieve more and make a big difference
but I'm actually learning a lot and hope i'll become more and do more within this organization and grab that top position role3 -
You know shit is getting real when you save and you watch your code formatted start rolling through your code like you're watching someone ... write code...
-indent here-
-pause-
-indent here-
Me: Oh man what have I done?!?!?!4 -
For uni we had to make a paper about a program we have to code. It could've been anything we wanted.
I went full mayhem and re-did final fantasy tactix advance from scratch in js: https://nitwhiz.xyz/tactix/ (not mobile friendly). No engine, real name no gimmicks, 100% my code.
Aside from not getting a straight A, I wish I did this stuff for money.3 -
My boss is being a stupid cunt. To give you a background we were facing issues with our Collections system. First week December 2019, I and a colleague of mine came up with a new efficient collections architecture. My colleague and I started to Code and create automation scripts mid December and completed it in First week of Jan 2020. This PoC version was supposed to be just between the Dev team(App Dev and Back end, also one from the Ops side to verify the data). I did not receive any feedback on the actual collections system and the data integrity but during this time all they’ve done is take meetings with no real outcome. I raised this and the only email I got is data is looking fine when I know it is not.Now in First week of Feb, he is stressing us to go ahead and deploy the architecture in Production and we have not done any Code Review, Static Code analysis, any real tests on Code and deployment scripts. Have not discussed any metrics for our dashboard and alerting. I have no idea how to handle this cunt. I have even asked for resources to atleast productionalize the code and move ahead the deployment and still no out come. I’ll go in a meeting with him in an hour, I will be very blunt and tell him that whatever he is doing is a foolish way and maybe resign in couple of weeks6
-
Coding experience #1
Even if I can't get committed in real life I make sure to get my code committed daily. -
So apparently Skype has a code editor for interviews.
Would you use this tool?
Source: https://techcrunch.com/2017/08/...8 -
our team are responsible to build backend restful API for other team to look up data in DB.
the consumer team just sit beside us.
the interface definition came from our pm in a different time zone. btw he did not have any programming background.
and he insisted that just build what he said and ignore the noise from the consumer team. because each interface change should be considered as new features and need him to prioritize and create user story and he will review the schema with the pm from consumer team and so called architecture who did not coding real shit for years.
we ended up with building shit code not useable by our real consumer.
yes he do manage to keep our team busy building worthless shit and accomplishmented lots of jira items to show we have value to change a useless shit into very hard to use shit1 -
Once I maintained one of the most used and fucked up codebases on the market with almost 1M+ daily users. (cannot say more, sorry).
It's written in PHP and is absolutely terrifying,
the first time I saw some lines of code I was about to scream and cry.
- spaghetti code
- no indentation
- random SQL query unoptimized
- unused vars
- Code is split among several files with no logical reasoning
- Mixed procedural and oop programming
- Unsanitised user input (yes, you got it right)
No test environment, no backup database, every commit goes straight to production.
It's a real disaster but the company prefers to keep it as it is without refactoring or anything else.
Just to make it clear:
It's not hatred against PHP, it's against the code's current status and the older programmers which used to work on it.5 -
How to write unmaintainable code and keep your job for life, tip #476;
Use A.C.R.O.N.Y.M.S. to keep the code terse. Real men never define acronyms, they understand them genetically3 -
So here I am trying to Code a Rick Astley video on my website so 2 people can watch it in real-time but the code KEEPS DOING THE PART THAT I SPECIFICALLY TOLD IT NOT TO DO UNTIL I GET THE TIME FROM THE GOD DAMN DATABASE!!!!1
-
Hey curious... what motivates everyone to code?
I've actually finished a few apps to get rid of some pain points at work...
and cuz i wanted to do some real coding...
https://github.com/allanx2000/...
https://github.com/allanx2000/...
Actually this may be the first time I've actually written any personal code this year...
So I guess for me I just have to be pissed off enough to actually bother trying to fix something.9 -
Sometimes I feel like, if anybody would have told me, the real use of GitHub, bitbucket or any other version control systems. Then life would have been much easier.
I remember in my college days, I use to keep the code backup in several different places on my system as well as Google drive and Dropbox..
For working parallely with the team-mate in college means...sharing of changed code..every now and then..via mail😫
Git, bitbucket you're the real MVP. Period.2 -
I wrote a blogging platform around 3.5yrs back in PHP. My friend uses that, and apparently wants me to update the code. To which I refused saying that I am too busy. But the real reason is that it is one of the purest form of cancerous shit I ever wrote. I can't even look at that code now. Its like abandoning your own child, because it is too ugly... Here's a snapshot of the code, I don't even know what this does anymore..
Moral: Don't give your code to your friend no matter how shitty it is, you will end up providing lifetime support for it.1 -
Functional-Declarative languages should only be esoteric ones. They are interesting for research and a mathematical toy, but they should not be used for programming languages used in the real world.
I currently try to write OpenSCAD code that places a list of modules, with information given from an array, with varying sizes next to each other. And is so hard and cumbersome. Whoever had the idea to cripple OpenSCAD by not having variables was stupid or sadistic.
The actual CPU run instructions, one after the other, there is no good reason to not allow some imperative elements in a programming language.24 -
TFW the mock class has way more code than the real one.
Testing big infrastructures can be a pain...
Or maybe my team is just not so good at it.
My time spent:
Adding new feature to the real class 15%
Extending the mock with the same feature 55%
Writing tests 30%7 -
Had a nightmare last night where I was called in to do a coding challenge against two other people...on a whiteboard only and no Google or StackOverflow. I couldn't even get one line of code written. The other two guys got a bunch. Too bad one of my real life projects has a lot in common with this nightmare.
-
So I found a variable in some leagcy code with the name "abcdefghij".
I mean wtf, I could've understood qwerty or something, but, abcdefghij, real creative...😤 -
At work I am "the" programmer and is the first time in which I actually enjoy showing different solutions to problems without having a fear of implementing large things without having any form of recognition.
Seeing someone get happy because of something you created is a great feeling and even tho most of us are misantrophic af we can still appreciate bringing happiness through code.
To me, software engineering is the closest thing to magic and I really believe that.
Two days ago I showed my manager a little utility to build small portions of the site we are building and make changes to it in real time without browser refreshes for whatever change she would like to do. She was super happy and excited and it made me feel real happy.
Such great feeling man. Nothing but good vibes brother!! -
Yesterday a colleague was debugging some piece of typescript code for memory leaks as chrome and firefox were hanging at a certain page.
Her real brainfuck was that everything seemed to be working fine with edge. Microsoft, somehow, finds a way to fuck with developers. -
Joomla, motherfucking Joomla. It was supposed to make managing content easy. With just a little coding you could make a fully functional, multi page website. Ugh. It took more time to master the oddities and weirdness of Joomla than it would have to just code the fucker.
This taught me the painful lesson that there are no REAL shortcuts. Useful “shortcuts” in development are just abstractions over mastery of a task. There are many more shortcuts that are more like dangerous hacks, and Joomla is rife with them and opens a lot of opportunities to make more.2 -
Not an angry rant, and not strictly related to code, but I think it's important, nonetheless.
If you've ever considered or been approached by Amazon, please read this short real-life story first and judge for yourself: https://dev.to/voodooattack/...
P.S: I didn't post this here because I needed markdown for formatting. Sorry. :(6 -
i fucking hate react and don't understand react
Is it cleaner to have useContext to pipe in override test data for storybook and write an outer context for that code only? Real production code can ignore and not set this.
Can child component onHover update parent's stateful variable to unpause the urql/graphql datafetch in parent data wrapper component. Parent pipes queried data to child component to properly display on hover that kicked process off.14 -
One responsibility of our team is general code QA for the entire dev department, DevMgr walks in our area yesterday…
DevMgr: “Has anyone reviewed the new WPF threaded model execution code?”
- everyone on the team responds “no”
DevMgr: “Can we get a review on that code ASAP? If it works as well as the developer said, it’s going to solve the lock up problems users are experiencing and automatic logging of errors.”
DevA: “Well, no amount of code is going to stop users from performing bad searches locking up the user-interface. That code is just a band-aid around the real problem. If the developers would write unit tests first …”
- rant about 5 minutes on unit testing that had nothing to do with why the DevMgr was here
DevB: “Yea, the code probably isn’t written to handle threads correctly. All the threading they’ve done so far is –bleep-”
DevMgr: “Oh, I wasn’t aware of that. Get me the results of the code review and if they don’t have unit tests, delete it from source control and let the developer know it’s not up to our standards.”
OMFG!! You have not even seen the code!
OK, DevA ..what the –bleep- does unit testing have anything to do with the user interface! You know the DevMgr is too dim to understand the separation of concerns. Shut your pompous ‘know-it-all’ mouth.
DevB…what the –bleep- have ever done in WPF? You manage the source control and haven’t written any C# in two years and never, ever written code for any significant project. Take that “handle threads correctly” and shove it up your –bleep-. Pompous –bleep-hole. Go back and watch youtube and read your twitter while the grown-ups get the work done.3 -
My team was asked to point to a mock service in our QA env. Standard procedure is to copy the line in our QA property file that has the service URL, comment one out, and change the other to the mock service. Then, push the code and deploy to QA.
What did someone do? He didn't touch the property file. He found where we were defining the configuration for our http requester, removed the property reference, and HARD CODED the mock URL.
Wait, it gets better. The mock service does not function the same way the real service does. We need to send an additional query param to the mock service (that has a value already being sent in a header) so they modified ANOTHER file where the actual request is being made.
He made the changes, deployed to QA, and didn't check in any code.
What is going to happen next time when we deploy to QA with the latest code? Oh look, we'll be pointing to the real service again.
I explained this to my architect, and included that this messed up mock service they were calling is our 2nd mock service (no idea why they made a new one) and he simply deleted the stupid 2nd mock service. Screw that!
And...now requests to QA don't work 😂 -
The better question is which one didnt I get through code?
My best and first real friend was doing an internship in the same company as I. Via her I know all my current friends. -
Even though I really started coding like 4 1/2 years ago and coded in c++ and c, i consider js as my real first language.
In one week, I worked through w3schools, to teach myself the basics.
Later on i started downloading library examples and tried to creatively destroy them.
Now, when I have to work with libraries, i often find myself in looking through their code. -
purity might just be the most important thing when refactoring code you didn't write.
for real, if you purify everything in that code, future refactorings will go way smoother and reasoning even more so.
But it's no easy feat, sometimes you face cockroach code. cockroach code is code written nuke style. The fire and forget code that you shouldn't forget.
cockroach code's easy to spot. you can't know what cockroach code does without reading it's comments. roach code is fat, roach code retro feeds from different spots of macaroni. it does IO and everything else all bundled together.
roach code isn't easy to scratch out its async version. in fact, thats a property of roach code. If you can't make it async without a rewrite, you've got roach code.12 -
After a month of loving git, I finally got into an irreversible git mess yesterday. Spent all night rewriting last two days of code. I feel like a real programmer 😋
Seriously though, I'm gonna take backups a lot more frequently now onwards.2 -
I start my first "real" job on Monday. I will be one of roughly three new junior full stack developers on a team of 15 senior devs. The company has a casual dress code and they allow headphones. What should I expect? I want to grow and I don't want to be a nuisance, I also want to earn a reputation and become respected when I do have something to say.6
-
It's a difference between a real programmer and a programmer. One knows how to code and one knows how to google.1
-
I can't find a website I used years ago... maybe someone here remembers its name.
It was a place with daily code challenges, real time code battles, you had to fix bugs, syntax errors, you could choose different programming languages, and receive points based on the number of chars used to fix the issue, etc.
I hope it still exsits, it was really fun.
Thanks in advance!5 -
I have dreams where I stare at code/tables/program output, half of the problems are real and half are made up, I wake up stressed out about not solving anything and trying to remember which is the real half I need to solve.
Why can't I dream about the video games I play? I need to get a life... -
As a dev, I have to reuse a lot of codes again and again. Some I've written, and some of them I found after stucking my head for 1 hour on StackOverflow.
Now, the problem is every time I need the code, I have to search again. Some of them I saved in note apps but organizing code snippets & finding them with a quick search is a mess.
I was thinking of building a code snippet organizer where developers can save code snippets in any language (have syntax highlighting), search quickly, share with anyone, create buckets, manage multiple accounts etc.
Let me know if it's a good idea or not. Would you be interested in using something like this? Is this even a real problem or it's just me?15 -
=Your Human Body!!= what do u think you run on in real life??
What do you think you run on??
Brain: C++
Skin and bones: HTML + CSS
Data: Typescript or Javascript Or Node.js
Walking and breathing: Python
Defense: Java cause every white blood cell is a new class
sleeping is basically C++ packing in all the files unless someone gets drunk they cant pack correctly thats why their brain is probably messed up >=) i would say the beer is corrupted code folders16 -
Finally decided to do some planning before writing code but now I feel like I'm just procrastinating around writing the code.
The struggle is real.2 -
!rant
finally after months and months of just planning and doing boring stuff a piece of code that was really just fun to code and plan for some days:
i just wrote my first "real" parser for a simple DSL. so much fun! i just really can recommend that to everybody.
i've use a parser combinator. the concept of this parser combinator ist to combine simple parsers (like when it starts with a number or a "-" and continues with numbers then its an integer etc) into a big one. i've written it in c# and used "Sprache" first and after some time i switch to "Superpower". a really great lib, but lacks a bit of documentation. anyway, i've your're interested in these things and want learn how your "daily code" gets parsed i would recommend that to you! :)
greetings to all fellow devRanters and happy coding / parsing! :)1 -
Fuck it, i just gonna learn apache tika datacrawler.
I can't code and i'm a designer. But where's will there is a way. Doing designs with real data is much more fun than with lorem ipsum, even more if its self parsed.
Is anybody familiar with apache tika / nutch? -
All summer I've been working at a company doing some full-stack development. Starting my last year in university, I really wanted some real life experience that ties into my studies.
I did not expect to find horrible, undocumented, code that has been written 5 years ago, where the senior developer who wrote it doesn't even know what it does. The worst part? They are STILL not documenting! I tried to document, but got this in return "you don't have to document everything. Especially if it is understandable". But they don't even understand their old code!
Monday morning, we had a meeting and they asked what I thought of working here, seeing as I am done this week. I respectfully told them that their code is not readable, and it will make it hard for new employees to understand. The boss in return says "you're the third newly hired employee this summer to say this... Maybe we do have a problem then"..
No shit. Please for the love of God, comment your code!2 -
"Delete all code!" That should be the mantra!
Was watching some stuff from destroyallsoftware.com. Not entirely convinced. So I should cook up my own shit.
So here is how the argument goes:
There's quite some negativity in the term "legacy" software. Partly it may be the envy to software that runs on actual machines and is not that phantasm, that perfect first lines on a greenfield project until it gets messed up as it has to put up with all the real world messiness. But the negativity it deserves is actually for the code that we cannot get rid of. This ugly class or function that soaked all the complexity and functionality so it defies any positive change. And always when it appears on your screen, it irks you, enrages you, makes you punch the screen, because you can almost feel the distaste physically. - *That* is the definition of "legacy" in its true negativity. No software should be like that. On the contrary. Every line should be replaceable, dispensable, disposable. At the verge to deletable. Because you know: the best code is no code.
This is where my hatred of code could get productive: Delete all the wretched, loathsome stuff and replace it, with something that just sucks less and can be thrown away any time. Don't expect beauty or perfect design. It'll never finish.3 -
I just met real life Wally from Dilbert.
Semi retired, works a few hours a week with excellent pay because he is the only one who understands the legacy mainframe.
Learning from his example we now plan to obfuscate all code before check-in. Only readable code version will be on our encrypted personal drives. -
Last week I did a test for a huge real estate company here in Dubai.
The test they asked to create a database of students and use jquery datatables so far is easy.
But they told you cannot use any framework and uses mvc structure, in other words, build your own framework. It's ok.
But my main concern is, the company is quite famous to not provide proper feedbacks or just forgot about you. And I would be very piss off if after of 3 entires days building my own framework, doing documentation, code comments those guys didn't reply me any feedback.4 -
To my vigilant code review overlords, yes, I appreciate the scrutiny, but must we nitpick every variable name? I've been told my camelCase is more like llamaCase.
Let's focus on real bugs, not whether my indentation is an affront to nature.
Remember, the perfect code doesn't exist – unless you're coding on a cloud XD4 -
My friend and me sit next to each other in the class.
One day, he tell me about his family. they have code equivalent of most common English words.
when the COVID-19 pandemic occur in our country, his father warn everyone in the house by saying
stay.at("127.0.0.1")
wear("255.255.255.0")
everyone start to
search(mask)
return tohome;
========================================
127.0.0.1 is a loopback address. aka localhost
IP masking is a way to hide your real IP.
255.255.255.0 is an example of subnet mask for IP
we used Ruby in this story.19 -
I think that win devs that are scared of using a terminal are not real devs. We write structured instructions every day, a terminal is just the same. If they are scared of that they should try writing code with a mouse or devote themselves to artistic painting.
BTW PowerShell sucks for typing, and bash for windows is like a travesty shell4 -
!rant
I'm a lazy motherfucker, so instead of clever and real debugging my code throws random var_dump('Yeeha') or console.log('Seeesh') to check how everything is going...1 -
How do you tell people in your team their code is poorly written?
I am not an amazing developer, I lack experience of real world and don't have many finished products under my belt.
But I feel/think my code is well separated into separate classes, follows DRY well and is generally considered as following good practises.
However, the main Dev in this new small team which has been put together and I have been appointed to manage sees things differently.
He writes good functional code(it completes it main purpose) however it's all in the one program.cs file, lacks good comments and is just generally untidy :(
I kinda fell into this whole management thing and it's kinda new to me..
Maybe he just needs a bit of direction? I am going to be putting in a code styling guide
Any tips on managing a Dev team would be very much appreciated.
PS. Iv been around for a while, and did previously have an account which was quite active, however I decided to delete and create this new more anonymous account :P10 -
This is a group sin.
We'd get the code checked and then run it straight to live. No test environments no real back up in place or process for releasing.
Just run code in if it broke run fix 1 through 3 until you got it right. That was two years ago. -
OK... so just spent 3 hours doing the Code Sprint.... 1.9/7 correctly answered... these were "Easy".
Well this is how I feel now....
btw any tips how to do these, seems like you have to be a real God to complete all of these? within just a few days. Do you really need to be able to do this at a tech company? -
Not sure if other programming languages class a Boolean as an integer value buuuuuuut...
The amount of times I've seen people do code such as...
if(value == true) {
variable = "blah blah";
} else if(value == false) {
variable = "blah";
}
Instead of doing a simple 1D array and going...
variable = strings[value];
It drives me crazy, such a small thing that has no real benefit but... Ugh... Whyyyyyyy3 -
!rant
Normally when I revisit an old project feel like tearing out my awful old code and rewriting it all - not today; today I feel like I am backsliding. I sidelined my personal project months ago when my real work got busy.
I have spent the evening discovering all the cool shit the project does and wondering if I'll ever get my head around it all again.
Looking forward to many nights tinkering and getting my memory back. -
First Rant...
Why the fuck do I get on a C++ interview the question if I now Javascript......everytime.... NO I DON'T WANT TO KNOW JAVASCRIPT!!!
Real coders code in C/C++ and not hipster javascript. Am I alone???(probably)10 -
The real web development is optimising the shitty front end code.
The task assigned to me is optimisation of dashboard page of website which was developed by freenlancers.(end of contract from their side)
The front end is mess. Individual js files (bootstrap, popper, jQuery, jQuery ui, loader and main) loading in production inside head tag of html file
No text compression.
Every template has random number of their own js files in any block of template. Nothing structured. There will be fantastic waste of time figuring out file dependencies.
Same with css files. Some are scss, some plain css. No compression. No proper modules.
Basically, I have to go through 25-30 html files. Then understand, which template is extending which one. Go through all js and css files in each html file and again understand dependencies between them
This is gonna be real fun.1 -
I'm currently switching off some of applications as the company I work for is being sold.
Our latest flagship product has only been in development for the past year and was showing some real promise, but all things must come to an end.
Live fast, die young leave a good looking code base.
You will forever be remembered by the git repo in the cloud. -
How can some developers take a full remote position when they work in a team?
I really appreciate the in real life contact with my team members, to discuss code, solve brain cracking problems together, doing peer programming etc
The days I have worked at home were good for focusing at my own tasks but I missed the team feeling.
Sure with tools you can share screens, collab on code via liveshare in vscode, use Skype to talk and what not but there is no random coworker passing by who takes a look what your doing and helps u with a problem that he knows how to fix
Just a small example why I prefer being at the office1 -
Whenever I reach the point where static analysis can't help me any further I always feel a sort of thrill mixed with terror. This is the real deal. Until now the problems were easy to find, the questions had well defined answers to choose from, the rules were universal. In the part of the logic that cannot be checked, the invariants upheld manually, where the best the type system can enforce is for the programmer to clearly state what they're doing, lies the real beast. In proofs commented on functions or invariants as logical expressions over plain English variables written in the doc comments of a struct.
In the blurry and pompous future I imagine for software development, that's where the programmer's time will be spent. Once we all agree on what a string is, what it means to depend on someone else's code, and what parts a UI should be made of, all a developer should have to do is make decisions and derive proofs an automated deduction engine can't do on its own. -
Newbie frontend guy joined last month right after college. He's my age but never worked before. Wants to "fix" the entire codebase with cool new hippy react features without providing a valid reason to do so. Also, "hey, I don't understand what someone wrote, so let's just change the entire fucking thing so I don't have to put in the effort of understanding real, working code"
What's more annoying is that he won't settle even when being asked to do so by the senior guys.2 -
Am I too dumb if I do not understand good-first-issues on open source projects? I mean, I completed C++ Primer book. Tried to find a real world challenges to use my knowledge.
I look at those issues but I really can understand em, when they belong to a project with tens of modules etc. Maybe good-first-issue is for people who spends 20 hours just to understand project, before writing a single line of code.3 -
..that moment when you stumble over a thrown UnrecoverableBlablaException, but one level up you discover, that it is pretty well recoverable.. a real life "how to make your code less maintainable, rule #489: lie in you type names"1
-
Half of the courses we had in our college were about electronics. Except Microprocessors and Transistors, it's not relevant.
We even had chemistry and engineering drawing. So we essentially wasted more than half of our time.
Besides languages, weren't taught anything about real world software development.
Nothing about how to work with an existing code base, version control, design patterns, system design, creating a website, debugging, functional programming, scalability, reliability.
The industry should be involved in setting the syllabus and also contributing part time teachers.3 -
I feel the need for a personal AI is real. I mean at this stage of my life I feel replacing humans around/close to me with a strong AI.
The idea is kinda creation of a strong AI but control its learning ability limited to one user.
Pros:
You have someone who understands you completely.
Knows what/how to talk no matter How's your mood.
Could be used to calm down the user even in critical situations.
Besides, if something doesn't workout just fucking tweak the code its yours no matter what the fuck you do with it.
Do I make sense??3 -
In an in-house beta our product was causing blue screens. We had some the crash reports and a I dug out the technical notes in how to decipher that gibberish. Still no real clue, but there was an address happened where it was supposed to happen. So I dumped our binary into two reversing tools, jumped to that address and looked at the surrounding code.
And sure there it was: A missing check when manipulating a C-string which could lead to out of bound access. Added a check BSOD's gone.1 -
Kind of !dev (Because my research uses code for computational power)
Ah, research.
The worst part of doing mathematical research as a high schooler is that there are no real hard-and-fast deadlines because school is constantly getting in the way, so any such deadlines would be quickly overrun, but that means that it is playing second fiddle to absolutely everything else with a deadline (aka everything), including my heaps of other mathematical work that is due once a week that I cannot possibly bash through fast enough to have time to do research. -
Men fo real! I dont rant so much because I think its a negative attitude but let me do it anyway! Listen. My boss boss told me to create a dynamic drop which I did. A backend request then display it on the frontend which is easy, then on code review he ask why do we need this error handling. Bruh as soon as I heard that question, I got covid. Bitch we do need that error handling because if theres error on requests it will set to default options, but I didn’t say anything tho. I just ask what will happen if there’s an error?, he said I don’t think a simple request will respond error if you did it right. Then I agreed and remove the code. Hot damn! Mind you guys. When they started the app there are no test code. 0, nada, nothing inside the spec folder.7
-
My biggest insecurity is that people will one day find out that I am not good enough!
I write clean code and do all the shit around it but I don't feel good enough.
Imposter syndrome is for real, sometimes! -
Home grown coders or college grad coders?
For those of you that taught yourself too code, or those who studied in schools, which style has prepared you the most for the real world?
I've met so many self taught coders who can program circles around some of my colleagues, but does a computer science/programming degree ensure you success over those who may know more?
Thought it would be an interesting discussion for you lot, personally I'm a mix of both but primarily a undergrad coder.
Keep it clean :)8 -
Visual Studio Code is a joke.
it's always auto update but always fail and then delete itself.
When i ask what happened or post a discussion on the official site they close it and send /redirect it to fucking different issue like changing language code or adding extension while the real issue about auto update failure is ignored or discarded/deleted/closed without solving anything
I need help to share this to everyone until they fix this shitty perfomance
ps: i always need to redownload that fucking visual studio code everytime it has update5 -
Coworker 1 starts project
Coworker 2 inherits same project
*repeat 3 more times*
Coworker n has no idea what this spaghetti code is and what it does since everyone has done quick fixes as per management requirements.
This is how the company where i work functions. And with all these projects going from one dev to the other i can tell you its a real shitshow and a lot if frustration 😤2 -
Saw code in one of my files at a WIP merge request.
Wanted to add something to fix a bug.
Added, tested and committed.
Pushed.
Wondered why my change wasn't listed in the "changes" section of the merge request.
Turned out that I accidentally edited a file that had the same piece of code where I wanted to add something.
Well, lucky me! If I wouldn't have been editing the "wrong" file accidentally, i probably would have spent hours of debugging only to find out that I am actually in the real wrong file. -
Oh boy, I just made a class with 5 methods and 10111 lines.
I'm "proud" of myself
(It's kind of an autogenerated class for, but nah...)2 -
I'm currently working on a project in my spare time for which I haven't yet written much “real” code; it primarily consists of nothing other than extremely bare-bones pseudocode (hell, one of the lines literally reads “DO SOMETHING WITH THE API”), and it's already at a length of over 6KB. This is going to be a long-ass project.2
-
What absolute fucking imbecile thought an upper limit of 6.0.0 would make sense for max supported PHP version on the entire Magento 1.9.3.X code base. Not to mention the installer is broken on account of them not fucking understanding InnoDB is default engine in MySQL.
Seriously Mage Rage is real.5 -
implementing "standards" and "code review" the way "managers" want by reading stuff from a book and forcing us to apply it in real world.... their reply when we have questions that they cant answer... "the book says so"
-
I think the only real constant thing that will never change is code. I can go back to it and the rules are plain and simple, none of the hard grey areas.
-
Do you think you have to go to school for that? No no no. Some definition from a book won't help you, nor a person who haven't seen the real code for some time.
Sit and write. Anything! Still nothing? Printf("Hello World"); make conditions, think big, break the shit out of it and you'll learn along the way.
And do backups of git on remote. Two at least! -
I feel like time is short.
Things about to get real.
Make sure essentials are stocked.
Stay away from DC.
Get right with whatever you believe in.
Help your neighbor.
I don't have a magic ball.
I don't know if things will be good or bad.
But change is upon on.
Ready or not.
I pray to God he forgives us.
I wish the hardest thing in life was writing code.
I wish the world I was taught about when I was young was the real world.
Maybe if things go well it could be.
Look up, pray, and realize you are not alone.
I shall not fear the dark of night,
nor the arrow that flies by day.
Cheers!2 -
!rant
I see a lot of people complain about uni degrees and stuff because they don't learn how to code etc. Is this really the standard?
I mean I'm only in fourth semester bachelor and had coding knowledge before starting uni. But we had basic to intermediate java in the first two semester, now learning how to write secure code and OS-Level stuff in C++, we had a module with practical Assembly coding all while still learning all the theory.
At the end of the first semester we had to write a terminal game in Java. I mean of course that's not "real experience" but if you dive in you definitely learn the basics you need to get started in real life.
Or am I wrong completely / just in a weird uni?6 -
Started to value digital properties over material ones.
Examples:
- Own code / Git-Repos
- Own software / apps
- Crisp images
- Open source software
- Private keys equal to real ones 😉 -
So I am making a real time chat app using MERN and socket.io but I was disappointed to discover that the newer version of socket.io ie 2.2.0 fails overtime on Chrome.
There is an issue open on the socket.io repo addressing this. Didn't they fucking test the code for Chrome before releasing a new update?7 -
The definition of programming...
Writing your code in a controlled environment and it works perfectly, then in a real world situation it simply doesn't work.
Spend 2 hours debugging and trying to find the error only to realize you were using your custom scripting language incorrectly in the first place....
Fuck that not infuriating in the slightest :-) -
I see you've gone ahead and decided to code this part using Ramda library + point free style. Let's go around and make 4 other developers learn it real quick.3
-
(!Rant)
Quasi real-time natural language translation. You guys think it will be a thing in our lifetime? I'm a novice programmer but i really want to contribute in this field. Aside of a deeper knowledge of linguistics, what would be beneficial code-wise if one would learn these things?
On this note; fuck learning Chinese - I'm a lazy nerd 😎2 -
My parents showed me how to play "Spy Hunter" on their Pentium III Windows 98 machine when I was 2, and I started installing games. Fast-forward to elementary school there was a game design afterschool class where we learned to use "Scratch" to drag-n-drop pieces of code used for animating and creating games. I wanted to do "real coding" so I got an internship at a local company, learned HTML, Java, JavaScript, and Python. Now, I'm developing games in Unity engine, and making mods on SourcePawn. The consumer is becoming a creator.
-
So I just got an email from Github, saying they created a new package for Atom called Teletype.
I quote: "Teletype (beta) for Atom lets developers share their workspace with team members and collaborate on code in real time."
Wondering what the devRant community thinks about this new feature!
https://teletype.atom.io/1 -
For coding advice
Don't stop thinking
Keep asking how and why a thing works
Learn the logic
Pick any one language
Write some code, do mistake, fix, learn and repeat
Do keep a balance of coding and real life ,playing games are necessary
Do exercise as well....
Maybe some more things we can , but most important is
Do what you love not what others love.
It's your life live and code your way... -
doing documentation in word and having meetings about it, code reviews where people say great code quality with all good practices but... we would like to do it differently, reasons? less lines of code but real reason is not understanding design patterns, also 6 levels of hierarchy and wasted effort to prove that approach is good and considered as good practice just to be changed by someone who doesn't write code anymore. Decisions that other approach is better because they did it that way 10 years ago on last project where they were developers on totally different tech stack. dear friends, welcome to corporation!1
-
I’m in between jobs due to the pandemic and need structure in my life. I have ADHD and no structure makes me a sad panda. I’m desparately grasping for some online educational content bc my previous tech stacks are a little old and need to keep up with the modern stacks so I can get a new role and have a structured regimen that school gives.
Unfortunately most of these courses are just boring as shit video lectures where you watch the developer code! WTF!! They’re advertised as “you will code a real world application” and 🤣you get a certificate at the end!
So if anyone took a full stack curriculum using modern stacks like the MEAN stack where they actually developed something themselves, post it here please?6 -
I think promoting 'a quick lookup on Google' every single time you need to add something useful into your codebase is a bad mentality. It's the same problem with populating your code with Stackoverflow snippets.
I think this is not a good approach because your code will eventually rot and you won't have full control over your codebase in that you didn't write those parts and you don't fully know what's going on underneath. Then, you will forget about that code. A new feature request will come up and oh no, you will be wrestling with your old code because you just quickly inserted it in there, not fully knowing it under the hood. Hours will be lost on debugging.
I advocate much more the approach of really knowing the language and the solutions you're using, instead of just constantly hacking it with the excuse of "Oh, there's no time to learn everything", "You don't need to know the details" and "This is the real world".
No, this is not a good attitude. With the former approach, you will be much more able to safeguard your code and improve on it, rather than wrestling for hours with it. I think it's important to have as much ownership of your code as possible and depend as little on outside libraries as possible.
Fundamentals first, practicality second.2 -
When you add console.log above your buggy code, but after 15 changes you forget to update the real code and you spend 15 minutes scratching your head because you can't fathom why your last change didn't fix the problem...
-
I am really tired of these tech religious fanatics. Hardly they worked on one real life project but love to preach clean code, oops , follow the coding specification blah blah. Keep your fucking mind open. If a programming language and pradigm is widely used then it doesn't mean you should embrace it blindly. For fuck sack.4
-
I "programmed" (or better changed code) long before I even knew this is programming. I basically changed levels in gorillas and nibbles back then during my DOS time thru trial and error by looking and guessing what was written there in the BASIC files. I basically used goto alot 😂.
Later I copied code listings from computer magazines that never worked but took days to type down. My first real programming experience where I bought a much to expensive book and went through it front to back was Java 1.1 or 1.2 ( don't know exactly anymore but it was no later than 1.2) and I learned it because there was this guy that told me about it and I wanted to find out what he was talking about. -
Oh for fucks sake! Why so we have threading when we synchronize EVERYTHING with a singleton... and when I actually show you that even unthreaded spaghetti code runs 40% faster under real life conditions than your shit you just brush it of because I'm still at university and don't know what I'm talking about... And not because changing it would require money or time we don't have... no, just because I “lack the necessary experience with such things.“
-
When I first got started in web development I had to think really hard to write code to solve real world problems. It was rewarding and creative process. Nowadays most of my time is spent just trying to get bloated frameworks and plugins to play nice with one another! I hope the pendulum swings back at some point.
-
1. Sum up all the behaviours/functionalities the program should have
2. break each functionality down to the data/procedures that it uses(mindmaps can help)
3. get an understanding of a naive implementation and implement it (fast)
4. collect improvement opportunities (opitimization/simplification/expansion) and get a deeper understanding of the solution
5. spend a few days on some real life issues
6. improve the naive code, if appropiate, start all over -
So I currently work at my first job and have for 2 years now. First project I had was to redesign a user info set up page. Didn't know any of the languages so kinda had to just wing it. Anyway finally committed my code and tested on dev server. Then code pushed to production and tested there. Then I saw a message from one of the top devs saying nobody could login. I replied saying that I was able to. Well, I actually ended up making it to where no one could log in except me. I learned real quick to never fuck up like that again. Surprised I wasn't fired on the spot.1
-
!rant
What font size do you normally use for programming?
I've been using 12-14px for years, but I switched to 16px for the last couple of hours. Feels weird but I kinda like it.
Sure, you do lose some real estate but it feels like it's way easier for the eyes. Less physical strain == less mental strain, which in turn makes for higher quality code.
Also, selecting stuff is more satisfying, but that's probably just me since I'm weird ( ͡° ͜ʖ ͡°)
Any thoughts?4 -
In javascript, is there a difference between separate function calls that mimic a "chain pattern" or state changes using if/else if/else and using the chain or state pattern directly? The internet gave me no real/helpful response to that.
Suppose that:
if(isThingA(thing)) {
makeThingB();
else if(isThingB(thing)){
makeThingC();
else {
makeThingA();
}
That code is always executed e.g. after a user mouse click. "thing" gets defined in some other code.
It can be seen as a state machine that goes back to its starting point.
Is a pattern with objects/classes/prototypes even needed/preferred instead?
It's partly a problem I'm facing in my code but it's also interesting to know ideas/thoughts on this.3 -
I don't have any real world dev experience yet. I also dropped out of my Engineering study to start learning code on my own. But I did apply for an internship/traineeship. I just started out ( 1,5 months). I got invited for an interview and the big day is tomorrow. Super nervous. I expect no for an answer ofcourse. But what are ways too turn the tables around and possibly get this job?3
-
If anyone complains one more time about "windows is built upon a DLL-Hell", i will challenge this specific anyone to implement react into an existing PHP-Project.
Installing matching package versions via npm is the real struggle.
Especially if you decide to be a node psycho who's delivering his react code via webpack.
*projectile vomiting in a straight beam of acid vomit*
Wasted a complete day of my life, dealing with Facebook's naughty shit.... -
MySpace 😂 lol but no for real back when I was a Psych major people started asking me to make them a site after seeing some random sites I dinked with in my spare time for personal endeavors. I then realized it could be a career, so I switched schools and majors. I enjoy getting lost in the code and doing solitary work. I don't like talking to clients or providing customer support so, yeah lol 😂🤓2
-
I haven't written serious code in 3 months. By serious I mean I haven't thought a lot about a problem or developed something difficult to develop.
Also I have avoided coding whenever I could.
I did that after a friends' advice as they saw me burned out for real and quite sad at the time.
Honestly, I feel much better emotionally and my overall mood has much less tension. Gonna start coding for real soon after getting that out of my system. -
I don’t like commented code in a project, I always remove commented code whenever I see. But sometimes these removed commented codes need again to add by uncommenting.
I can get the code by seeing the git history but if only I can remember I removed that portion of code. So is there is any best approach to manage commented code, which may require in real future?3 -
How many days an hour do you real professionals actually spending writing code... Right now between work as a junior front end dev, class and an applied project for school my brain is mush by the middle of the week and I spend my weekends trying to avoid opening my laptop, I hope I'm just overloaded right now and that I don't feel like this when I graduate.
Im getting a little worried though.2 -
Finally some real vacation. Heavily needed. Can't stand that type of remote work any more. Our dailies and pull requests have become mere dick-measuring contests. Morally puffed statements about THE RIGHT way to do agile and clean code, and architecture. Endless vacuous, monologues, which they only endure so they can start our own - but shit just does not get done.
And then they don't want to invest only a day or some hours to get some integration tests running on more machines, which could save the one overworked tester we have a lot of work. But whatever. I've lost all motivation and hope. Shall they deal with their own shit. Maybe I just need more sleep or some antidepressants, because I'm really fed up with it.
Makes we wonder why I even fought this battle of the last two weeks, when thanks to Apple's changes in macOS's codesigning our new binary wouldn't run on any "real" machine. But according to them packaging and signing is only a trivial issue, nothing to do with code. Yeah, well, then they should do that shit themselves next time.1 -
Recently I've finally finished my first game in Unity3D <3 But I'm self-taught and it's probably not really well-made. I'd love to show code to someone with real experience but I don't have any friends in game dev -.-
Does anyone know where I could get some kind of code review (for free would be great, since I won't earn a penny from this game)?
Shameless plug for anyone interested:
https://play.google.com/store/apps/...1 -
Not a rant. Request suggestions.
I am developing a Sublime Text plugin for real-time code monitoring ( screencasting) using Websockets. I would like to know if it makes any sense to develop such a plugin. Also, please suggest some use cases so that I can increase the features of the plugin. Point out if it already exists. Thanks :) -
I've noticed that on the web view of devRant, the notification counter updates in real time.
So I opened up the Inspect Element and checked for any polling related code (Socket.io) or something.
What I found was that this endpoint is called on a loop -> https://devrant.com/api/devrant/...
And the response format contains ->
{
"success": true,
"rants": [],
"settings": {
"notif_state": -1,
"notif_token": ""
},
"set": "64d68f5a7acd4",
"wrw": 376,
"dpp": 0,
"num_notifs": 0,
"unread": {
"total": 0
}
}
I assume `num_notifs` is the notification counter.
So, my question is is this practice good for implementing real time notifications?3 -
Working as a Dev for a while now, I tell new people not to bother with it. There is never any job satisfaction as people in charge never understand the basics.
Instead of learning to write efficient code, figure out how to solve real business problems, work towards a maintainable flexible product to quickly deliver value on changing requirements, write automated tests to improve quality, maintainability and prevent live issues - basically do anything a good Dev strives for - you will just constantly end up working for people with no interest beyond the next couple days, on a shit code base that no one can understand, with people that don't want to learn anything about software design and just check boxes off.
Apart from pay this must be the worst career possible in a technical field.4 -
TechBA: (adter solving a really simple sql change) *yeah right, we really need devs* (implies sarcasm).
A real issue occurs that needs deep dive code analysis.
TechBA: thats not really our responsibility. thats entirely to the developer.
wow.1 -
Ahhhhh.... Now i want to really know how developers make softwares, ROMs, chatbots using ML and all these type of stuff.
- When i go through the guide for making ROM for a smartphone or a chatbot the writer asks the reader to take the code from github, everybody just give github link and move on. None tells how the developer wrote that bunch of code. I really want to learn core concepts behind all this. I know how to code but i can't apply it in real life applications. For me there is no bridge which connects coding to end products. I don't know what to do next?4 -
Do apps behave and perform differently on iOs?
Ofc they do from a code perspective, but I'm taking about outcomes and real-life utility.
For example, does a Uber driver get more rides with in iPhone?
Does an iPhone user get more matches on Tinder?
Cheers2 -
I found it interesting cause honestly I don't think so I have skill that can pay my bills except programming :)...
So programming saves me... but with time I fell in love with code.. solving real life problems.. providing solutions.. Now Its like I am addict to code .. -
How many if statements does it take to get to the center of this fucking code block?lol but on a real note, how many if or else ifs is considered too much?3
-
What are some other cool jobs I can do in tech besides code?
I am hating development and the mass confusion.
backbone.radio is a node
package but ALSO and actual application for internet radio like real radio.
Is in the backbone.js documentation...NO!
It on the marionette documentation which is built on backbone.
Guess what’s hard to search for?
Fuck it man😵9 -
I'm in love with F#, the tooling can be a little buggy if you're used to TypeScript or Java but before learning it I've never been able to solve a real life problem with less than 10 lines of code7
-
Every profession has people who have done some real shit. You have doctors, lawers, scientists, architects.
I want to be one of those developers who did some real shit. I'm just saying.....6 -
Hey hackers,
Let's talk about the problem statement first!
In software engineering, engineers often procrastinate when it comes to writing comments for documentation purposes. As they delay properly documenting their codebase, they are even more likely to procrastinate on updating their previously written comments when they make changes to their functions or code. This can lead to chaotic and buggy code, and if not addressed, it completely obsolete or even counter intuitive the purpose of comments in the code.
Solution!
A tool that automatically detects changes in a function or code and compares them with the current comment description. If there is a discrepancy between the code and the comment, the tool either automatically updates the comment or allows the user to manually select the code and its associated comment to directly make changes using LLM's.
So, my question is: Is this idea worth working on? Is it a real problem, or am I just overthinking it? If anyone has a better idea, please share it in the comments. Also, if someone is working on this problem already or planning to work on this in future, we can collaborate. This will be an open-source project.
Sign out, Peace!
github: priyanshu-kun/project-kento13 -
Anyone ever heard of robot framework? Its the biggest pile of shit i have ever seen! WHY THE FUCK CREATE A TEST FRAMEWORK FOR TESTERS WITHOUT REAL CODE AND JUST KEYWORDS WHEN ITS SO FUCKING COMPLICATED TO USE THAT NO FUCKING TESTER CAN DO ANYTHING WITHOUT HELP OF A DEVELOPER. this shit tests cost me hours each week to fix because every minor change breaks like a a dozend of tests... i dont rant often but everytime i have to fucking take a lool at that shit a start to boil...3
-
Am I going crazy or is this some real nasty looking spaghetti code?
https://github.com/neovim/neovim/...3 -
When your course's interactive code breaks the course runtime environment because of synthetic events and they are still using React < v16
Jesus, this one is a real headscratcher, amazing I never ran into this until today:
https://reactjs.org/docs/... -
I'm not experienced in VB Forms. So can someone who is, tell me if I'm just too inexperienced or if Im right about this?
Im tasked with fixing some bugs in a VB Forms project that a privious employee wrote some years ago. When I opened the project and checked it out, there was over 5600 lines of code in the codebehind for the form.
I feel like this is somewhat bad practice, no comments, no documentation... Nothing. And to top it off, among the worst naming of Subs and variables ever. Stuff like: "Run", "Stop", "Feeder", "When Load".
Oh, and the best part? The guy forgot some test code in the software, so when he left, the software stoped functioning. For real, he coded in a dependency to his own account in The AD.1 -
We have an internal nuget package that wraps up the IConfiguration+ConfigurationBuilder for various .net core console/service apps (TL;DR, because people got creative), and it has a dictionary property for the common sections we use. AppSettings (for backward compatibility), ConnectionStrings, and ServiceEndpoints. If the need arises, I can add methods to return any type of object (no one has requested yet, we try to keep configs dead simple)
ex. var myDatabaseConnectionString = ConfigurationManager.ConnectionStrings["MyDatabase"];
Code review for someone who updated a .net framework app to .net core and they wrote their own IConfiguration wrapper for accessing the appsettings.json file, so I pointed out that we already had a library for that.
In the reply, he said he couldn't use our library because it had an 'AppSettings' property and since his appsettings.json file didn't have that section, he didn't want to cause a runtime exception.
OK, WTF...I even sent him a link to the documentation (includes explaining the backward compatibility part)...why the frack would you think because a property exists and you don't use it, that would cause some kind of runtime exception?
We have dozens of .net framework apps migrated to .net core with zero code changes and no one ever brought this up as a concern (because, why would they?)
Deep breath...ahhh...I respond that not having an AppSettings section in the appsettings.json file won't cause an exception, if you don't have one, don't need it, you don't have to use it.
He went ahead merged+committed his code anyway with his own IConfiguration+ConfigurationBuilder plumbing.
Code addiction is real kids...it's real.2 -
time to head into javascript code testing, as i'm annoyed af of testing everything by hand whether my feature works and find the cause to some problems i have encountered
.... but first let me "npm init -y" and "npm i jest" (as the tutorial suggests) real quick in my git project ... whoops😯😐😶🤨 ... woah, ok ... 5000 added files, shit, dependencies 🙄... delete all ... git error😐😥
delete folder manually😪😅
resuming paused tutorial: "and if you've got a git repository, just install jest globally, do not do this in your repo!"
.... just happened to me😑😅2 -
Code base is full of /*bug fix - XXXX */ coments, sometimes it feels the software is a Bugenstein's Monster!!
Not sure if this kind of comments serve any real purpose...
Commented old code is a more familiar monster; but that's a tale for another day. -
On April the 30th the code awakened in me.
From all the overnighters, the pressure it was already as if my brain was a suitable host. Of course it would not compile the code or be any kind of real VM, but all the business logic, all the pesky details of this mutilated code had literally been branded into the biomass of my brain.
I did not know how I kept on going. Amber, caffeine, valerian did not really help. But I staggered from step to step to keep that project running that should never have been begun. -
Anyone ever try Tomcat debugging in VS Code? Specifically with Kotlin? I'm starting to get real fed up with IntelliJ tbh... it keeps screwing up when I have a multi-project/module workspace.
-
So... Saying im an intermediate-beginner coder who had programming in highschool learning only Pascal, VB, VB+SQL and PHP coding something that i'll barely use in my developer career (programs like Fibonacci sequence and other math related stuff), can anyone give me some challenges in PHP/C#/Javascript simulating the "real programmers" actually code? Sorry for bad english3
-
Hello all, I am in the Second Year of my engineering and we have to submit the Project at the end of the semester, currently, we are learning java programming language and we have to submit the Project on the Java programming language. our Hod suggests we choose a project which solves real-world problems, as a new one to learn java we choose the Library Management System Project. can anyone please provide the source code of the LMS Project, that will help us with our Project?
Thank You1 -
Whenever I rant about JavaScript and it's terrible way of doing things differently and totally illogical in the way real programmers would do things versus webdev-scriptkiddies...
Whenever I laugh about these engineers who can only 'code' in Matlab...
Whenever I hear people consider configuring (of stuff like WordPress or RGB-Keyboard-Lights etc.) as 'programming'...
I wonder, if I'm just like the 'Real Programmers' back in 1983 who truly considered Fortran or Assembly to be much more superior than Pascal and someone who coded in the latter or even used a simple OS like UNIX couldn't get accepted as a programmer.
Found that old article about "Real Programmers".
It's worth a read.
http://pbm.com/~lindahl/...
Just consider someone writing modern computer programs without libraries, ifs, for loops and only gotos by hand from top to bottom...
Some day I want to start some modern project everyone else would do in some random modern scripting language and hack it down in assembly just for fun and to tell people, I did it. So I could call myself a Real Programmer too.2 -
Can someone please explain c++
"void onData(event)" (from an example code my mentor gave me before he went to a meeting) to a high schooler real quick I can find anything online that makes sense1