Details
- 
						AboutSome guy who does some random tech-related stuff.
- 
						LocationTucson, AZ
Joined devRant on 4/19/2016
			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
			
- 
				    
				    I've been working tirelessly on a personal project recently. Decided to take a look at how far I've come in the past 2 weeks, only to realize I've been refactoring and abstracting my code so much that the program actually does _less_ than it did before.2
- 
				    
				    <meta-rant>
 Kind of surprising to see how many people here learned to program while under 18 (like me) instead of from a traditional college. Curious if that affects anyone else's choice to go to college.
 </meta-rant>
- 
				    
				    How I learned to program:
 
 My father installed a DOS VM on my eMac when I was 7 and started learning in QBASIC. In my opinion, it's still one of the best ways to get started with programming due to its simplicity.
- 
				    
				    We all complain about project managers, but where can project managers complain about developers? There's needs to be a pmRant app too.3
- 
				    
				    Can someone please tell me what is so attractive about a dynamically typed language? It's not like it makes anyone's life easier – it just leads to more unexpected errors.7
- 
				    
				    How to write a proper Hello World program in Java:
 
 public class ProperJavaProgram {
 public static void main(String[] args) {
 try {
 // Write the hello world file
 List<String> lines = Arrays.asList(
 "#include <stdio.h>",
 "int main() {",
 "printf(\"Hello World!\\n\");",
 "return 0;",
 "}"
 );
 Path file = Paths.get("awesome-program.c");
 Files.write(file, lines, Charset.forName("UTF-8"));
 
 // Execute the file
 executeCommand("cc awesome-c-program.c -o awesome-executable");
 executeCommand("./awesome-executable");
 } catch (IOException e) {
 System.out.println("You're screwed, just use Java and get over it. " + e);
 }
 }
 
 public static void executeCommand(String command) {
 try {
 Process p = Runtime.getRuntime().exec(command); // Run the process
 BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream())); // Get the output
 String s; // Print out the output
 while ((s = stdInput.readLine()) != null) {
 System.out.println(s);
 }
 } catch (IOException e) {
 System.out.println("You're screwed, just use Java and get over it. " + e); // UR SCREWED
 }
 }
 }2
- 
				    
				    Considering Taylor Swift's history with Apple – including Apple Music and having a programming language named after her – it'd be far more efficient to file bug reports with her rather than on Radar.4
- 
				    
				    Swizzling is like smoking weed; you're not supposed to do it, but a hell of a lot of people do it anyways.1
- 
				    
				    PSA to all non-software engineers:
 
 Hacker instanceof SoftwareEngineer && !(SoftwareEngineer instanceof Hacker)
 
 Please, next time I say I am a software engineer, do not assume I can magically hack the FBI nor can I get those nude pics off your friend's phone.3
- 
				    
				    Some people just need to accept that the only way to reach me when I'm coding is the message me — even if they're sitting right next to me.2
- 
				    
				    Want to make yourself feel good as a programmer? Casually run this command on your friend's computer:
 
 grep -r -l ";;" ~/1















