Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Because of its absolutely useless complexity...
a total simple thing: i have a string and want to concat a integer with it, so:
var x = stringVar + intVar; right? NO
its var x = stringVar + String(intVar);
or getting the index of a element in a array?
var index = array.indexOf(element); thats logic, right??? Not for swift, gotta go with: var index = array.index(of: element); WTF??!!
And all the other shit: nil instead of null, int++? Nope.
And there are SO MANY MORE things, where u just think, Apple really though different........than all normal coding languages.......
I´ll honestly rather learn C and recode Ios or have a look at objective-c...17
this.rantType != RantType.RANT;
Hey, i do not want to spam DevRant with non dev stuff, but i really want to ask this you, i personally cant only code all time, im coding full time and a lot in my free time, but i just cant only code.
So i found another thing that i fell in love with, i fell in love with animal photography!!
I want to ask you, yes you reading this: do you need something else than coding or not? and if you do, what? let me know with a simple comment!6
I hate how the Java File I/O api works.....
I was developing a little noSQL database in java, just for fun.
The basic was: every entry was a json object, separated by \n.
Every entry started with the length in bytes, so i could perform a easy read of the entry with a inputstream, followed by the entry its self..
If i had a big file with more than like 50000 entries, to alter a entry with acceptable perfomance, i had to read every entry for matching with search, than using RandomAccessFile to mark the old entry as deleted and adding the modified one at the end.
The same for delete, it was only possible to mark the entry as deleted, so the read/alter would just not read it by reading the length(which i wrote earlier) and than use inputstream.skip with the length.
To actually delete not needed entries, i created a new file and than reading the old one and writing at the same time to the new one, with skipping the not needed entries and at the end rename the new file to the old and re creating all the streams.
Why cant i just replace a specific part of the file? WTF JAVA2
I want a os, that has:
The software support of windows, the speed of macOS and the stability and security of Linux...why dont we have this?9
Java was made to be easy, but leaks features even c++ has.
Java: was is that.
C++: auto, easy18
Write bad code, dont comment, do all these, if you want....
But never never never us
Windows as your server operating system4
Jetbrains shoot them self in the lag with taken fun as function keyword in kotlin #memesWillCome.
Don't blame me i love kotlin!
I even convinced my boss that we should continue in kotlin.2
I took this question serious for once and its hard, i cannot decide between those two:
Jetbrains(IntelliJ, Kotlin, DataSource, PhPStorm...) or Stackoverflow.
This is really a rant:
The company i work for uses the wso2 enterprise integrator for message transformation and so on.
I am in charge to get this thing to work.
And i am so annyoid about this fuc**** crap software, there price it as lightweight, fast and easy to use?
EASY TO USE?????
Who the fuck there had the IDEA to use XML as configuration files.
They have kinda no documentation, even searching the web makes no sense because you only can find there crap documentation, once i searched after another problem and found my own Stackowerflow question, which had a totally different term!!
And i guess they are making no testing, i mean if i want to edit a api and i set one bracket false or so, than if i click on save, i am doomed, BECAUSE IT DELETES THE CHANGES WITHOUT WARNING ME, i mean srsly are you kidding me wso2???1
My friend just meant he wants a uniform Drag and Drop on all Linux Distributions.
Also in the terminal...2
Almost every really successfully project...is open source.
- The Chromium Engine
- All the Apache Stuff
- Unreal Engine(WAS closed source)
and so many more
Open Source is the best way to build known, stable and useful software30
When i want to install something on my laptop but realise I'm in a ssh session on my server.
Found a annoying thing about linux, probably the first in the world..
When im making the website with the client, they always start with: "Can we..." and than they say something like: "make the background color red?, or is it not possible?"
And I'm just:12