Details
-
AboutStudent. Lifetime Learner. I love Python. Future Data Scientist.
-
SkillsPython, R.
-
Locationlagos
-
Github
Joined devRant on 6/25/2017
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
-
Story:
Useful lesson I learned in a JavaScript book:
"Classes are abstract data types in the sense that they are a layer around the complexity (encapsulation). Their singular nature allows them to be reused without being rewritten everywhere.
A good analogy is thinking of classes as appliances; the complex circuitry and components that an appliance comprises of are made by different people than the abstract shell around these components, of which (another) team only needs to know which buttons to access which parts.
A class abstracts away the internal complexity (components) and only exposes a public interface (the buttons) that the user (yet another group, comparable to the consumer of the class) is going to use."
It reminds me of how Google uses the Facade pattern to only expose the search box and the button as its public interface and all the complex architecture is hidden away.
This helped clarify classes better for me.5 -
!rant
*walks into university library*
*sits down at a computer 😶*
*looks around to see if anyone is looking 🙄*
*takes out laptop*
*unplugs ethernet from school computer and plugs into laptop 😯*
*50MB/s DOWNLOAD SPEEDS 😎😎*46 -
Our html:
<input type="number"/>
Accepts only numbers, so far so good. Until QA files a bug:
"Numeric input accepts the letter 'e' "
Apparently 'e' is a valid because you can input something like '1e3' which fucking means '1000' !
Our team tried to argue with the QA that 'e' is valid because it simply means exponent but they argue a normal user would not know what an exponent means because they are not "mathematically inclined"
Part of me agrees with what the QA argues but then I think an average user who could use a fucking laptop or mobile will most certainly know what an exponent is.10 -
PM: We need security on signup, the password entry should contain "A capital letter, 2 numbers, a symbol, an inspiring message, a spell, a gang sign, a hieroglyph and the blood of a virgin."
ME:8 -
Have guys ever thought that all te devs are vampires...
reason 1: Loves Darkness (dark theme)
reason 2: Most active during the night
reason 3: If the dev finds a capable victim then they can make them fellow dev.25 -
I signed up to devRant with the same handle I use everywhere (firstName+lastName).toLowerCase() and now I feel like I can't really rant here, cause you never know who might read it...16