Jump to content

Midnight

Member
  • Posts

    418
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    Midnight got a reaction from fizzlesticks in Martices in programming   
    They don't have a close relationship with each other. This question makes no sense.
  2. Agree
    Midnight got a reaction from mathijs727 in Martices in programming   
    They don't have a close relationship with each other. This question makes no sense.
  3. Agree
    Midnight got a reaction from Lawrenz in Java or Python for first language?   
    I disagree with inheritance as an antipattern. There's nothing inherently wrong with inheritance. It's just that people misuse it too frequently.
  4. Agree
    Midnight got a reaction from fizzlesticks in Java or Python for first language?   
    I disagree with inheritance as an antipattern. There's nothing inherently wrong with inheritance. It's just that people misuse it too frequently.
  5. Like
    Midnight got a reaction from noisehater in Software Testing a C program (Can't see anything wrong)   
    Why are you comparing an interpreted language over a compiled language? It doesn't make sense. Also, you do know that the Python interpreter is written in C, right?
     
    If it took 2 hours to speed up a program that has a runtime of 4 seconds to 2 seconds, then yes, it would be worth it.
  6. Like
    Midnight got a reaction from tyrz_939 in Free Your PC, Learn Linux, Embrace The Future   
    A solid list. However, I disagree with point 9 and I don't quite understand point 10.
  7. Like
    Midnight got a reaction from Fictionvl in This is why I don't recommend buying a 4GB vram card in 2015.   
    Why would you even turn on AA if you're on 8k?
  8. Like
    Midnight got a reaction from SSL in This is why I don't recommend buying a 4GB vram card in 2015.   
    Why would you even turn on AA if you're on 8k?
  9. Like
    Midnight got a reaction from dukethedj in Most Overpriced Tech?   
    The stuff released at launch day.
  10. Like
    Midnight got a reaction from VulsaviiK in Git?   
    No, that's stupid.
  11. Like
    Midnight got a reaction from KatanoWaki in Do compilers combine math operations?   
    What are you even talking about? I was considering optimization, not code readability.
     
    For example,
    int something = 86400; //or 24*60*60 Which is optimized, in compilation and runtime, and also perfectly "readable".
  12. Like
    Midnight got a reaction from KatanoWaki in Do compilers combine math operations?   
    Then document the operation via comment, and use a calculator to do the operation beforehand and hard-code it.
     
    For such operations, I'm pretty sure all modern compilers do that.
  13. Like
    Midnight got a reaction from GrimNeo in Can you guess what I bought directly from Nvidia?   
    So is EVERY piece of tech. This really isn't news.
  14. Like
    Midnight got a reaction from MEC-777 in Free Your PC, Learn Linux, Embrace The Future   
    There's a lot more to PCs than graphics lol, and gaming doesn't capture the majority of the PC market anyway.
     
    There's nothing inherently difficult about Linux. It's just a different learning curve. Also, Ubuntu is pretty much equivalent to Windows in terms of GUI ease and usage.
  15. Like
    Midnight got a reaction from MEC-777 in Free Your PC, Learn Linux, Embrace The Future   
    False.
  16. Like
    Midnight got a reaction from Dabombinable in Free Your PC, Learn Linux, Embrace The Future   
    Or vice versa. Windows as host for gaming, Linux as guest for web browsing, writing, software development, etc. At least that's what I do.
     
    I don't install Linux on my computers because I don't need full access and control over my hardware using Linux. The only reason I install Windows is because of games, and that's pretty much it.
  17. Like
    Midnight got a reaction from Dabombinable in Free Your PC, Learn Linux, Embrace The Future   
    There's a lot more to PCs than graphics lol, and gaming doesn't capture the majority of the PC market anyway.
     
    There's nothing inherently difficult about Linux. It's just a different learning curve. Also, Ubuntu is pretty much equivalent to Windows in terms of GUI ease and usage.
  18. Like
    Midnight got a reaction from Dabombinable in Free Your PC, Learn Linux, Embrace The Future   
    False.
  19. Like
    Midnight got a reaction from Nineshadow in Here's another problem... any ideas?   
    C++ solution, with answer modded by 1bil+7.
     
  20. Like
    Midnight got a reaction from Helius in How to repeat a set string   
    This.
     
    Just use your brain and math(specifically division and modulo). This is pretty simple.
  21. Like
    Midnight got a reaction from SSL in Help [Java]   
    I'm not giving you solutions, lol. Just compare the strings with the equals() method.
     
    Also, I'm not sure why you're using an String array of size 1. It's impractical.
  22. Like
    Midnight got a reaction from MrSuperb in Access an element in an adjacency list   
    That's not how adjacency lists work. If Vmap[0] is your A node, then I assume Vmap[1] is your B node, etc. If that's the case, then Vmap[0][0] DOES NOT go to 5, nor Vmap[0][1] to 6. The cost of going from 0 to 0 is 5 and 0 to 1 to 6.
     
    You're not making any sense at all.
  23. Like
    Midnight got a reaction from SSL in GCSE Computer Science   
    Oh, come on. It was a joke!
  24. Like
    Midnight reacted to SSL in GCSE Computer Science   
    I don't think "QED" means what you think it means.
     
    Which is interesting, given you keep going on about formal logic and functional programming.
  25. Like
    Midnight got a reaction from ItsFTP in GCSE Computer Science   
    My point is that it doesn't make sense to compare a language with a framework because they have different roles and purposes.
     
    Also, frameworks have trade-offs and their own set of risks. And just because an application created by a framework can replace an application in PHP doesn't make the framework "better" than PHP. I'm not even sure what "better" means without context, but if you refer to the coding style, then this shouldn't be an issue for a good programmer.
     
    Finally, it doesn't matter if you think PHP is a terrible language. I think C++ is a terrible language, but I use it all the time and people use it all the time as well.
×